Skip to content

Bug on install - delete src directory  #2

Description

@Jeremy-F

Versions :

  • Yarn 1.13.0
  • NPM 6.5.0
  • Vue-cli 3.1.1

Result of : vue add template-loader

📦  Installing vue-cli-plugin-template-loader...

+ vue-cli-plugin-template-loader@1.0.0
updated 1 package and audited 15260 packages in 10.81s
found 0 vulnerabilities

✔  Successfully installed plugin: vue-cli-plugin-template-loader


🚀  Invoking generator for vue-cli-plugin-template-loader...
 ERROR  Error: Cannot find module '@vue/cli-plugin-typescript/generator/template/src/shims.d.ts' from '/private/tmp/test/node_modules/vue-cli-plugin-template-loader/generator/template/src'
Error: Cannot find module '@vue/cli-plugin-typescript/generator/template/src/shims.d.ts' from '/private/tmp/test/node_modules/vue-cli-plugin-template-loader/generator/template/src'
    at Function.module.exports [as sync] (/Users/ME?/.config/yarn/global/node_modules/resolve/lib/sync.js:43:15)
    at renderFile (/Users/ME?/.config/yarn/global/node_modules/@vue/cli/lib/GeneratorAPI.js:322:17)
    at _injectFileMiddleware (/Users/ME?/.config/yarn/global/node_modules/@vue/cli/lib/GeneratorAPI.js:184:27)
    at process.internalTickCallback (internal/process/next_tick.js:77:7)

And all my src directory has been deleted.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions