Cannot find package module sap/cds/common

我在做SAP Cloud Application Programming 练习时,执行下列两条命令后:

  • cds init bookshop
  • cds watch bookshop

Cannot find package module sap/cds/common
Cannot find package module sap/cds/common

遇到这一条错误消息:

cannot find package module @sap/cds/common
Cannot find package module sap/cds/common

Cannot find package module sap/cds/common

npm install之后,问题解决,现在错误消失了:

Cannot find package module sap/cds/common

@sap/cds/common 位于node_modules文件夹下,例子程序中的Currency,Country等类型和entity等等,就出自这个资源文件。

Cannot find package module sap/cds/common

通过package.json里的dependencies: @sap/cds 引入:

Cannot find package module sap/cds/common

更多Jerry的原创文章,尽在:"汪子熙":
Cannot find package module sap/cds/common

上一篇:R 安装包安装(install.packages)总是出错无法打开(cannot open)URL?


下一篇:Cannot instantiate object of type org.mybatis.generator.plugins.UnmergeableXmlMappersPlugin