question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

vue create issue: Cannot find module 'debug'

See original GitHub issue

Version

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:closed
  • Created 6 years ago
  • Reactions:9
  • Comments:9 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
4eekcommented, Feb 13, 2018

See #831

1reaction
dmitrykurmanovcommented, Feb 13, 2018

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found