Cannot find module '../dist'
See original GitHub issueAfter install bubblewrap
npm i -g @bubblewrap/cli
When run command bubblewrap doctor
I get an error
internal/modules/cjs/loader.js:834
throw err;
^
Error: Cannot find module '../dist'
Require stack:
- /usr/local/lib/node_modules/@bubblewrap/cli/bin/bubblewrap.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:831:15)
at Function.Module._load (internal/modules/cjs/loader.js:687:27)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@bubblewrap/cli/bin/bubblewrap.js:21:1)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lib/node_modules/@bubblewrap/cli/bin/bubblewrap.js' ]
}
Node version: v12.19.0
npm version: 6.14.11
Issue Analytics
- State:
- Created 3 years ago
- Comments:7
Top Results From Across the Web
No results found
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Thanks - it seems I broke it when publishing earlier today -
npm install @bubblewrap/cli@1.10.0
should enabling installing the previous working version. Nevertheless, I just published1.11.1
, which should fix the issuenpm update -g @bubblewrap/cli
to get the version.Closing this, as #481 confirms the fix.