I made a package for my project and I have installed it to my repository. However I can not import the functions from that package.
"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"]
2
Answers
npm ls @qlub-dev/js-backend-common [email protected] /Users/qlub/Desktop/ab-qsr └── @qlub-dev/[email protected]
npm ls @qlub-dev/js-backend-common