Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support windows powershell #1876

Closed
baihech opened this issue Jul 17, 2018 · 0 comments · Fixed by #1877
Closed

Does not support windows powershell #1876

baihech opened this issue Jul 17, 2018 · 0 comments · Fixed by #1877

Comments

@baihech
Copy link

baihech commented Jul 17, 2018

Version

3.0.0-rc.5

Reproduction link

no link

Steps to reproduce

1:open windows powershell

2:run vue ui

3:new a project

4:click button "Add vue-router"

What is expected?

add dependencies vue-router

What is actually happening?

Throw error in windows powershell

TypeError: this.cwd is not a function
at PluginApi.getCwd (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules@vue\cli-ui\apollo-server\api\PluginApi.js:418:17)
at install (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules@vue\cli-ui\ui-defaults\suggestions.js:77:23)
at Object.handler (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules@vue\cli-ui\ui-defaults\suggestions.js:19:19)
at Object.activate (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules@vue\cli-ui\apollo-server\connectors\suggestions.js:82:31)
at suggestionActivate (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules@vue\cli-ui\apollo-server\schema\suggestion.js:55:67)
at resolveFieldValueOrError (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules\graphql\execution\execute.js:531:18)
at resolveField (C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules\graphql\execution\execute.js:495:16)
at C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules\graphql\execution\execute.js:339:18
at C:\Users\EDZ\AppData\Roaming\nvm\v8.10.0\node_modules@vue\cli\node_modules\graphql\jsutils\promiseReduce.js:25:10
at Array.reduce ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant