You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use Rush with pnpm in my project, but I get an error:
Error: Cannot find module 'typescript/package.json'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at api.chainWebpack.config ( ...\common\temp\node_modules\.registry.npmjs.org\@vue\cli-plugin-typescript\3.11.0\node_modules\@vue\cli-plugin-typescript\index.js:33:23)
Due to 'typescript': require('typescript/package.json').version and in pnpm I want like 'typescript/3.6.3/package.json'
Version
3.11.0
Reproduction link
https://pnpm.js.org/en/symlinked-node-modules-structure
Environment info
Steps to reproduce
I would like to use Rush with pnpm in my project, but I get an error:
Due to
'typescript': require('typescript/package.json').version
and in pnpm I want like'typescript/3.6.3/package.json'
vue-cli/packages/@vue/cli-plugin-typescript/index.js
Line 34 in 0473432
Could you do something about it?
What is expected?
'typescript': require('typescript/3.6.3/package.json').version
What is actually happening?
'typescript': require('typescript/package.json').version
The text was updated successfully, but these errors were encountered: