parcel-plugin-bundle-visualiser icon indicating copy to clipboard operation
parcel-plugin-bundle-visualiser copied to clipboard

Missing dependencies? map-age-cleaner and yargs-parser not found when doing npm install.

Open uglycoyote opened this issue 5 years ago • 0 comments

Installing with the command on the readme file did not work for me, there seemed to be some hidden dependencies.

My first attempt failed because I did not have the map-age-cleaner node module.

My second attempt, trying to install both map-age-cleaner and parcel-plugin-bundle-visualizer failed because I did not have the yargs-parser.

Installing all three of those simultaneously succeeded.

should map-age-cleaner and yargs-parser be in the package.json of this project?

PS D:\Mike\Dev\navis-gamification> npm install --save-dev parcel-plugin-bundle-visualiser
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! path D:\Mike\Dev\navis-gamification\node_modules\map-age-cleaner
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'D:\Mike\Dev\navis-gamification\node_modules\map-age-cleaner' -> 'D:\Mike\Dev\navis-gamification\node_modules\.map-age-cleaner.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Mike\AppData\Roaming\npm-cache\_logs\2020-01-27T15_29_09_315Z-debug.log
PS D:\Mike\Dev\navis-gamification> npm install --save-dev parcel-plugin-bundle-visualiser map-age-cleaner
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

npm ERR! path D:\Mike\Dev\navis-gamification\node_modules\parcel-plugin-bundle-visualiser\node_modules\yargs-parser
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall rename
npm ERR! enoent ENOENT: no such file or directory, rename 'D:\Mike\Dev\navis-gamification\node_modules\parcel-plugin-bundle-visualiser\node_modules\yargs-parser' -> 'D:\Mike\Dev\navis-gamification\node_modules\parcel-plugin-bundle-visualiser\node_modules\.yargs-parser.DELETE'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Mike\AppData\Roaming\npm-cache\_logs\2020-01-27T15_31_48_987Z-debug.log
PS D:\Mike\Dev\navis-gamification> npm install --save-dev yargs-parser map-age-cleaner parcel-plugin-bundle-visualiser
npm WARN [email protected] No description
npm WARN [email protected] No repository field.

+ [email protected]
+ [email protected]
+ [email protected]
added 10 packages from 4 contributors, updated 2 packages and audited 866541 packages in 10.487s
found 12725 vulnerabilities (2 moderate, 12723 high)
  run `npm audit fix` to fix them, or `npm audit` for details
PS D:\Mike\Dev\navis-gamification>
PS D:\Mike\Dev\navis-gamification>

uglycoyote avatar Jan 27 '20 15:01 uglycoyote