Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run vite error:DeprecationWarning: 'createIdentifier'…… #61

Open
yangxu52 opened this issue Jan 8, 2023 · 0 comments
Open

run vite error:DeprecationWarning: 'createIdentifier'…… #61

yangxu52 opened this issue Jan 8, 2023 · 0 comments

Comments

@yangxu52
Copy link

yangxu52 commented Jan 8, 2023

run npm run vite

before vite output ready in xxxx ms

Loading Vetur in workspace path: D:\code\node\xxxDemo
DeprecationWarning: 'createIdentifier' has been deprecated since v4.0.0. Use the appropriate method on 'ts.factory' or the 'factory' supplied by your transformation context instead.

node:internal/event_target:969 process.nextTick(() => { throw err; });
^ is arrow to throw

Error: Debug Failure. Unhandled SyntaxKind: ImportClause.
at pipelineEmitWithHintWorker (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:114180:22)
at pipelineEmitWithHint (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:113711:17)
at pipelineEmitWithComments (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:117399:13)
at pipelineEmit (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:113651:13)
at emitExpression (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:113635:13)
at emitImportDeclaration (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:115606:13)
at pipelineEmitWithHintWorker (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:113912:32)
at pipelineEmitWithHint (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:113711:17)
at pipelineEmitWithComments (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:117399:13)
at pipelineEmit (D:\code\node\xxxDemo\node_modules\typescript\lib\typescript.js:113651:13)
Emitted 'error' event on Worker instance at:
at Worker.[kOnErrorMessage] (node:internal/worker:290:10)
at Worker.[kOnMessage] (node:internal/worker:301:37)
at MessagePort.<anonymous> (node:internal/worker:202:57)
at MessagePort.[nodejs.internal.kHybridDispatch] (node:internal/event_target:694:20)
at MessagePort.exports.emitMessage (node:internal/per_context/messageport:23:28)

run npm list vite

output

[email protected] D:\code\node\contract-web
└─┬ [email protected]
├─┬ @vitejs/[email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped
├─┬ [email protected]
│ └── [email protected] deduped invalid: "~2.0.0" from node_modules/vite-plugin-vue-cli
├─┬ [email protected]
│ └── [email protected] deduped invalid: "~2.0.0" from node_modules/vite-plugin-vue-cli
└── [email protected] invalid: "~2.0.0" from node_modules/vite-plugin-vue-cli

@yangxu52 yangxu52 changed the title run vite error run vite error:DeprecationWarning: 'createIdentifier'…… Jan 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant