vue create issue: Cannot find module 'debug'
See original GitHub issueVersion
3.0.0-alpha.12
Steps to reproduce
run the following
vue create my-app
What is expected?
It should scaffold the app.
What is actually happening?
module.js:557
throw err;
^
Error: Cannot find module 'debug'
at Function.Module._resolveFilename (module.js:555:15)
at Function.Module._load (module.js:482:25)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (C:\Users\Goyal\AppData\Roaming\npm\node_modules\@vue\cli\lib\Creator.js:2:15)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
Issue Analytics
- State:
- Created 6 years ago
- Reactions:9
- Comments:9 (1 by maintainers)
Top Results From Across the Web
Hi, I get this bug here Error: Cannot find module 'debug'
It could be an issue with your local node_modules directory. I would recommend deleting and re-installing it fresh.
Read more >cannot find module [Node npm Error Solved] - freeCodeCamp
When you get the “cannot find module” error, or “module not found”, it means you've not installed the package you're trying to use....
Read more >Vue JavaScript Tutorial in Visual Studio Code
Note: There are currently issues with the sourcemaps generated by vue-cli, which cause issues with the debugging experience in VS Code. See https://github.com/ ......
Read more >Troubleshooting - Astro Documentation
Cannot use import statement outside a module ... Check to see if anyone else has reported this issue! ... e.g. .astro , .md...
Read more >Vue.js | IntelliJ IDEA Documentation - JetBrains
Make sure the JavaScript and TypeScript and Vue.js required plugins are enabled on the Settings/Preferences | Plugins page, tab Installed, see Managing plugins ......
Read more >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
See #831
@ayush987goyal I think that the fix will be available in the next patch release. As a workaround we could downgrade version to alpha.11 via
npm install -g @vue/cli@3.0.0-alpha.11