vue ui not working
See original GitHub issueVersion
3.4.0
Environment info
Environment Info:
System:
OS: macOS 10.14.2
CPU: (8) x64 Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz
Binaries:
Node: 11.9.0 - /usr/local/bin/node
Yarn: Not Found
npm: 6.7.0 - /usr/local/bin/npm
Browsers:
Chrome: 71.0.3578.98
Firefox: 64.0
Safari: 12.0.2
npmPackages:
@vue/cli: 3.4.0
npmGlobalPackages:
@vue/cli: 3.4.0
Steps to reproduce
vue ui
command does not start with an error.
$ vue ui
internal/modules/cjs/loader.js:611
throw err;
^
Error: Cannot find module 'core-js/proposals/array-flat-and-flat-map'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:609:15)
at Function.Module._load (internal/modules/cjs/loader.js:535:25)
at Module.require (internal/modules/cjs/loader.js:663:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object.<anonymous> (/usr/local/lib/node_modules/@vue/cli/node_modules/apollo-env/lib/polyfills/array.js:3:1)
at Module._compile (internal/modules/cjs/loader.js:734:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:745:10)
at Module.load (internal/modules/cjs/loader.js:626:32)
at tryModuleLoad (internal/modules/cjs/loader.js:566:12)
at Function.Module._load (internal/modules/cjs/loader.js:558:3)
What is expected?
vue ui
will start without errors.
What is actually happening?
Necessary modules are missing.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:10
- Comments:18 (3 by maintainers)
Top Results From Across the Web
Npm install -g @vue/cli and vue ui not working - Get Help
Node.js v12.18.4. ... This is probably a problem with npm rather than Vue CLI. ... Cleaning your npm cache will normally be enough...
Read more >Why can I not start the Vue UI after installing the Vue CLI?
It turned out I had to install the core-js package explicitly. npm i -g core-js. Not sure why this wasn't installed as a...
Read more >Get started with Vuetify
This will start the Vue User Interface and open a new window in your browser. On the left side of your screen, click...
Read more >How to solve the Vue.js UI error during new installation
Vue UI not working as expected: Hanged & unable to create new project · Installed Node. · Installed vue/cli (version 3.5. · I...
Read more >Install Vue.js on WSL | Microsoft Learn
Be careful not to install or store files that you will be working with on ... or manage projects using a graphical user...
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
you guys can try:npm install -g core-js@3.0.0-beta.11 ,it’s work for me!
Seems apollo-env has fixed this problem in https://github.com/apollographql/apollo-tooling/issues/962#issuecomment-460015427 Try
npm i -g @vue/cli
reinstallvue cli
to update the dependencies, andvue ui
work fine