Skip to content

Typescript generator not working #943

Closed
@dbulic

Description

@dbulic

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions