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
Create a Typescript project through @vue/cli, vue add vue-next upgrade cli dependency to @4.4.3, run serve.
What is expected?
No error
What is actually happening?
INTERNAL ERROR(undefined,undefined) Cannot destructure property 'script' of 'parser.parseComponent(...)' as it is undefined.
stack trace:
TypeError: Cannot destructure property 'script' of 'parser.parseComponent(...)' as it is undefined.
at Function.resolveScriptBlock (D:\test\new-test\node_modules\fork-ts-checker-webpack-plugin\lib\VueProgram.js:196:17)
at Object.host.getSourceFile (D:\test\new-test\node_modules\fork-ts-checker-webpack-plugin\lib\VueProgram.js:106:45)
at findSourceFile (D:\test\new-test\node_modules\typescript\lib\typescript.js:101513:29)
at processImportedModules (D:\test\new-test\node_modules\typescript\lib\typescript.js:101854:25)
at findSourceFile (D:\test\new-test\node_modules\typescript\lib\typescript.js:101561:17)
at D:\test\new-test\node_modules\typescript\lib\typescript.js:101390:85
at getSourceFileFromReferenceWorker (D:\test\new-test\node_modules\typescript\lib\typescript.js:101357:34)
at processSourceFile (D:\test\new-test\node_modules\typescript\lib\typescript.js:101390:13)
at processRootFile (D:\test\new-test\node_modules\typescript\lib\typescript.js:101213:13)
at D:\test\new-test\node_modules\typescript\lib\typescript.js:100137:60
The text was updated successfully, but these errors were encountered:
Version
4.4.3
Environment info
Steps to reproduce
Create a
Typescript
project through@vue/cli
,vue add vue-next
upgrade cli dependency to@4.4.3
, run serve.What is expected?
No error
What is actually happening?
The text was updated successfully, but these errors were encountered: