-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Description
Version
3.0.0
Node and OS info
Node 10.80, npm 6.2, windows10
Steps to reproduce
npm i -g @vue/cli
vue ui
internal/modules/cjs/loader.js:583
Error: Cannot find module 'core-js/modules/es7.object.entries'
temp solutoin:
npm i core-js -g
and then, it works!
vue ui
🚀 Starting GUI...
🌠 Ready on http://localhost:8000
What is expected?
🚀 Starting GUI...
🌠 Ready on http://localhost:8000
What is actually happening?
internal/modules/cjs/loader.js:583
throw err;
^
Error: Cannot find module 'core-js/modules/es7.object.entries'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (C:\Users\leaff\AppData\Roaming\npm\node_modules\@vue\cli\node_modules\_apollo-upload-server@5.0.0@apollo-upload-server\lib\middleware.js:14:1)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
temp solutoin:
npm i core-js -g
and then, it works!
Metadata
Metadata
Assignees
Labels
No labels