Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: ENOENT: no such file or directory, open 'node_modules/simpleheat/simpleheat.js' #118

Open
gndeepan opened this issue May 9, 2020 · 1 comment

Comments

@gndeepan
Copy link

gndeepan commented May 9, 2020

C:\Users\ELCOT\music\Leaflet.heat-gh-pages> npm run prepublish

[email protected] prepublish C:\Users\ELCOT\music\Leaflet.heat-gh-pages
uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c
-m -o dist/leaflet-heat.js

ERROR: ENOENT: no such file or directory, open 'node_modules/simpleheat/simpleheat.js'
at Object.openSync (fs.js:458:3)
at Object.readFileSync (fs.js:360:35)
at read_file (C:\Users\ELCOT\AppData\Roaming\npm\node_modules\uglify-js\bin\uglifyjs:373:19)
at C:\Users\ELCOT\AppData\Roaming\npm\node_modules\uglify-js\bin\uglifyjs:188:37
at Array.forEach ()
at Object. (C:\Users\ELCOT\AppData\Roaming\npm\node_modules\uglify-js\bin\uglifyjs:187:31)
at Module._compile (internal/modules/cjs/loader.js:1133:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1153:10)
at Module.load (internal/modules/cjs/loader.js:977:32)
at Function.Module._load (internal/modules/cjs/loader.js:877:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] prepublish: uglifyjs node_modules/simpleheat/simpleheat.js src/HeatLayer.js -c -m -o dist/leaflet-heat.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] prepublish script.
npm ERR! This is probably not a problem with npm. There is likely additional logging
output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\ELCOT\AppData\Roaming\npm-cache_logs\2020-05-09T13_05_06_846Z-debug.log
PS C:\Users\ELCOT\music\Leaflet.heat-gh-pages>

@gndeepan
Copy link
Author

gndeepan commented May 9, 2020

plzzzzzz hlppp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant