majgis / npm-bundle

npm pack with dependencies included
https://www.npmjs.com/package/npm-bundle
38 stars 6 forks source link

Support for npm >= 5.3.0 (ENOENT: no such file or directory ...<PROJECT>\package.json) #20

Open reg0 opened 6 years ago

reg0 commented 6 years ago

I'm having issues with running npm-bundle on newer npm

D:\Profiles\<PROFILE>\AppData\Roaming\npm\node_modules\npm-bundle\bin\cli.js:11
    throw error
    ^

Error: ENOENT: no such file or directory, open 'D:\<PATH>\.npmbundle\node_modules\<PROJECT>\package.json'

I did some debugging and found underlying issue, details in the PR https://github.com/majgis/npm-bundle/pull/19