-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Typescript generator not working #943
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
Comments
Hmm... can't reproduce. Just did a fresh install with what your prompts are and it worked as expected. |
It seems |
Forgot to mention I use Ubuntu 17.10, though not sure that makes a difference. I went to another machine now, installed latest vue-cli (used yarn global add). Exact same issue. |
Yep, I can confirm that |
I get same error @dbulic at "Invoking generators..." I am on Windows 10; used npm |
requiring |
For those writing their own |
thanks |
This is very broken again. I did find the templates in cli-plugin-typescript so have been able to fix myself. Steps to Create issue:
Error:
|
☝️ Same here |
@jtbaker how did you fix it? i'm facing the same problem and it's very anoying |
I think I wound up copying over my |
i also add : |
Version
3.0.0-beta.3
Reproduction link
https://codesandbox.io/s/kx4k47zlx3
Steps to reproduce
vue create project
vue-router, sass, babel, typescript OR just typescript without anything else
What is expected?
Project to be created
What is actually happening?
Vue CLI v3.0.0-beta.4
? Please pick a preset: Manually select features
? Check the features needed for your project: TS
? Use class-style component syntax? Yes
? Use Babel alongside TypeScript for auto-detected polyfills? Yes
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
🚀 Invoking generators...
ERROR Error: Cannot find module '@vue/cli-service/generator/template/src/App.vue'
Error: Cannot find module '@vue/cli-service/generator/template/src/App.vue'
at Function.Module._resolveFilename (module.js:536:15)
at Function.resolve (internal/module.js:18:19)
at renderFile (/usr/local/share/.config/yarn/global/node_modules/@vue/cli/lib/GeneratorAPI.js:226:17)
at _injectFileMiddleware (/usr/local/share/.config/yarn/global/node_modules/@vue/cli/lib/GeneratorAPI.js:141:27)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
Actually Vue CLI v3.0.0-beta.4, but Version dropdown doesn't offer it.
The text was updated successfully, but these errors were encountered: