Skip to content

vue ui no longer runs after rc.4 update. Windows 10x64, Node 8.11.3 #1846

Closed
@lyonsbp

Description

@lyonsbp

Version

3.0.0-rc.4

Reproduction link

https://github.com/vuejs/vue-cli

Steps to reproduce

I updated @vue/cli from rc.2 to rc.4 Running vue ui no longer works, it gives the error message posted below.

What is expected?

vue ui will start when running vue ui

What is actually happening?

I get an error "Error: Cannot find module 'read-pkg'"
PS C:\Users\Brandon> vue ui
🚀 Starting GUI...
ERROR Error: Cannot find module 'read-pkg'
Error: Cannot find module 'read-pkg'
at Function.Module._resolveFilename (module.js:547:15)
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (C:\Users\Brandon\AppData\Roaming\npm\node_modules@vue\cli\node_modules@vue\cli-ui\apollo-server\connectors\folders.js:5:17)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)


I attempted to uninstall then reinstall the global @vue/cli package, same issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions