npm Nest js安装包

bjp0bcyl  于 2023-10-19  发布在  其他
关注(0)|答案(2)|浏览(106)

我为我的项目做了一个包,我已经把它安装到我的仓库里了。但是我不能从这个包中导入函数。

"compilerOptions": {
    "module": "commonjs",
    "declaration": true,
    "removeComments": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "allowSyntheticDefaultImports": true,
    "target": "es2017",
    "sourceMap": true,
    "outDir": "./dist",
    "baseUrl": "./src",
    "paths": {  
      "@/*": [
        "./*"
      ],
      "@qlub-dev/js-backend-common": ["./node_modules/@qlub-dev/js-backend-common"]
liwlm1x9

liwlm1x91#

npm ls @qlub-dev/js-backend-common email protected(https://stackoverflow.com/cdn-cgi/l/email-protection) /Users/qlub/Desktop/ab-qsr脚本── @qlub-dev/ email protected(https://stackoverflow.com/cdn-cgi/l/email-protection)

rdrgkggo

rdrgkggo2#

npm ls @qlub-dev/js-backend-common

相关问题