As a result, npm3 does the following things when we run npm install mod-a2 -save: it removes Module A v1.0 it installs Modules A v2. (/usr/share/npm/lib/utils/unsupported.js:2:14)Īt Module._compile (internal/modules/cjs/loader.js:774:30)Īt Object.Module._extensions.js (internal/modules/cjs/loader.js:785:10)Īt Module.load (internal/modules/cjs/loader.js:641:32)Īt Function.Module._load (internal/modules/cjs/loader.js:556:12)Īt Module.require (internal/modules/cjs/loader. Even though Module A was installed first (as v1.0) via our package.json (because it is ordered alphabetically), using the interactive npm install command means that Module A v2.0 is the last package installed. usr/share/npm/lib/utils/unsupported.jsĪt Function.Module._resolveFilename (internal/modules/cjs/loader.js:623:15)Īt Function.Module._load (internal/modules/cjs/loader.js:527:27)Īt Module.require (internal/modules/cjs/loader.js:681:19)Īt require (internal/modules/cjs/helpers.js:16:16)Īt Object. I am getting the following error whenever I try to run npm command.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |