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 ui not working

See original GitHub issue

Version

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:closed
  • Created 5 years ago
  • Reactions:10
  • Comments:18 (3 by maintainers)

github_iconTop GitHub Comments

35reactions
wangwenyincommented, Feb 2, 2019

you guys can try:npm install -g core-js@3.0.0-beta.11 ,it’s work for me!

8reactions
dousyboxcommented, Feb 3, 2019

Seems apollo-env has fixed this problem in https://github.com/apollographql/apollo-tooling/issues/962#issuecomment-460015427 Try npm i -g @vue/cli reinstall vue cli to update the dependencies, and vue ui work fine

Read more comments on GitHub >

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

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