Nest js 安装包

问题描述 投票:0回答:2

我为我的项目制作了一个包,并将其安装到我的存储库中。但是我无法从该包导入函数。

"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"]
javascript npm package npm-install nest
2个回答
0
投票

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


0
投票

npm ls @qlub-dev/js-backend-common [电子邮件受保护] /Users/qlub/Desktop/ab-qsr └── @qlub-dev/[电子邮件受保护]

© www.soinside.com 2019 - 2024. All rights reserved.