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)
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.
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.