vue-cli-service test:unit / inspection fails on 3.0.0-rc.7 (typescript)

Created on 27 Jul 2018  路  2Comments  路  Source: vuejs/vue-cli

After updating vue cli to rc.7. The testing and inspecting fails with the following message:

Error: Cannot find module 'typescript/package.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:594:15)

Most helpful comment

Please read the release notes of RC6 - typescript is now a peer dep of @vue/cli-plugin-typescript and must be installed explicitly in the project. This allows you to control the exact version of TypeScript you want to use.

All 2 comments

Hello, your issue has been closed because it does not conform to our issue requirements. In order to ensure every issue provides the necessary information for us to investigate, we require the use of the Issue Helper when creating new issues. Thank you!

Please read the release notes of RC6 - typescript is now a peer dep of @vue/cli-plugin-typescript and must be installed explicitly in the project. This allows you to control the exact version of TypeScript you want to use.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

miyamoto-san picture miyamoto-san  路  3Comments

chasegiunta picture chasegiunta  路  3Comments

OmgImAlexis picture OmgImAlexis  路  3Comments

Gonzalo2683 picture Gonzalo2683  路  3Comments

jgribonvald picture jgribonvald  路  3Comments