Closed mrquokka closed 5 months ago
Me too, same question.
[INFO] Search string not found: "for (const existingRoot of buildInfoVersionMap.roots) {"
[INFO] (Use node --trace-uncaught ...
to show where the exception was thrown)
[INFO]
[INFO] Node.js v20.8.1
Same problem...typescirpt 5.4 works but 5.5 not work
@johnsoncodehk
This is v1 error message, please make sure update vue-tsc
to v2.
This is v1 error message, please make sure update
vue-tsc
to v2.
Due to https://github.com/fi3ework/vite-plugin-checker/issues/306 we still can't update :(
And now it will also block TS update...
@daniluk4000 Please track for https://github.com/fi3ework/vite-plugin-checker/pull/327.
This is v1 error message, please make sure update
vue-tsc
to v2.
Worked for me
Same here.
This is v1 error message, please make sure update
vue-tsc
to v2.
It works for me. But it requires to change the version manually. Thank you johnsoncodehk
This is v1 error message, please make sure update
vue-tsc
to v2.
It works for me
This is v1 error message, please make sure update
vue-tsc
to v2.
Not working for me:
cat package.json
{
"private": true,
"type": "module",
"scripts": {
"build": "vue-tsc && vite build",
"dev": "vite",
"lint": "eslint resources/js --ext .js,.ts,.vue --ignore-path .gitignore --fix"
},
"devDependencies": {
"@inertiajs/vue3": "^1.0.0",
"@rushstack/eslint-patch": "^1.8.0",
"@tailwindcss/forms": "^0.5.3",
"@vitejs/plugin-vue": "^5.0.0",
"@vue/eslint-config-prettier": "^9.0.0",
"@vue/eslint-config-typescript": "^13.0.0",
"autoprefixer": "^10.4.12",
"axios": "^1.7.4",
"concurrently": "^9.0.1",
"eslint": "^8.57.0",
"eslint-plugin-vue": "^9.23.0",
"laravel-vite-plugin": "^1.0",
"postcss": "^8.4.31",
"prettier": "^3.3.0",
"prettier-plugin-organize-imports": "^4.0.0",
"prettier-plugin-tailwindcss": "^0.6.5",
"tailwindcss": "^3.2.1",
"typescript": "^5.5.3",
"vite": "^5.0",
"vue": "^3.4.0",
"vue-tsc": "^2.1.10"
}
}
bun run build
$ vue-tsc && vite build
/Users/philharmonie/dev/immo/node_modules/vue-tsc/index.js:34
throw err;
^
Search string not found: "/supportedTSExtensions = .*(?=;)/"
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Node.js v22.11.0
error: script "build" exited with code 1 (SIGHUP)
"devDependencies": {
"@eslint/compat": "^1.2.3",
"@eslint/js": "^9.15.0",
"@playwright/test": "^1.49.0",
"@rushstack/eslint-patch": "^1.10.4",
"@storybook/addon-essentials": "^8.4.5",
"@storybook/addon-interactions": "^8.4.5",
"@storybook/addon-links": "^8.4.5",
"@storybook/blocks": "^8.4.5",
"@storybook/test": "^8.4.5",
"@storybook/vue3": "^8.4.5",
"@storybook/vue3-vite": "^8.4.5",
"@stryker-mutator/vitest-runner": "^8.6.0",
"@tsconfig/node20": "^20.1.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^22.10.0",
"@vitejs/plugin-vue": "^5.2.1",
"@vitest/coverage-v8": "^2.1.6",
"@vue/eslint-config-prettier": "^10.1.0",
"@vue/eslint-config-typescript": "^14.1.4",
"@vue/test-utils": "^2.4.6",
"@vue/tsconfig": "^0.6.0",
"eslint": "^9.15.0",
"eslint-plugin-import": "^2.31.0",
"eslint-plugin-no-snapshot-testing": "^1.0.61",
"eslint-plugin-storybook": "^0.11.1",
"eslint-plugin-vue": "^9.31.0",
"jsdom": "^25.0.1",
"npm-run-all": "^4.1.5",
"plop": "^4.0.1",
"prettier": "^3.4.0",
"sass": "^1.81.0",
"storybook": "^8.4.5",
"typescript": "^5.7.2",
"vite": "^5.4.11",
"vite-plugin-vuetify": "^2.0.4",
"vitest": "^2.1.6",
"vue-tsc": "^2.1.10"
}
> vue-tsc --noEmit -p tsconfig.vitest.json --composite false
/.../app/frontend/node_modules/vue-tsc/index.js:34
throw err;
^
Search string not found: "/supportedTSExtensions = .*(?=;)/"
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Node.js v22.7.0
ERROR: "type-check" exited with 1.
make: *** [ci-ui] Error 1
Not working for me
Update: Downgrading my Typescript to ˆ5.6.3 fixed it
Same here: "vue-tsc": "^2.1.10" not work with "typescript": "~5.7.2", typescript 5.6.3 solve the problem
same error for me
"devDependencies": {
"@babel/types": "^7.26.0",
"@eslint/eslintrc": "^3.2.0",
"@eslint/js": "^9.8.0",
"@types/luxon": "^3.4.2",
"@types/node": "^22.10.1",
"@types/vuelidate": "^0.7.22",
"@typescript-eslint/eslint-plugin": "^8.16.0",
"@typescript-eslint/parser": "^8.16.0",
"@vitejs/plugin-vue": "^5.2.1",
"autoprefixer": "^10.4.20",
"eslint": "^9.14.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-html": "^8.1.2",
"eslint-plugin-prettier": "^5.2.1",
"eslint-plugin-vue": "^9.31.0",
"path": "^0.12.7",
"postcss": "^8.4.47",
"prettier": "^3.4.1",
"tailwindcss": "^3.4.15",
"typescript": "~5.7.2",
"vite": "^6.0.1",
"vue-tsc": "^2.1.10"
}
Downgrade typescript to 5.6.3 works:
"typescript": "~5.6.3",
Error:
node_modules\vue-tsc\index.js:34
throw err;
^
Search string not found: "/supportedTSExtensions = .*(?=;)/"
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Node.js v20.17.0
Yes downgrading to typescript 5.6.3
worked for me too.
npm i --save-dev typescript@~5.6.3
Same issue with typescript 5.7.2
, with 5.6.3
it works.
Same issue with typescript 5.7.2
, with 5.6.3
another error (vue-tsc 2.1.10
):
yarn run v1.22.22
$ vue-tsc --build --verbose
[3:19:18 PM] Projects in this build:
* tsconfig.node.json
* tsconfig.app.json
* tsconfig.json
[3:19:18 PM] Project 'tsconfig.node.json' is out of date because output file 'node_modules/.tmp/tsconfig.node.tsbuildinfo' does not exist
[3:19:18 PM] Building project '/app/tsconfig.node.json'...
[3:19:19 PM] Project 'tsconfig.app.json' is out of date because output file 'node_modules/.tmp/tsconfig.app.tsbuildinfo' does not exist
[3:19:19 PM] Building project '/app/tsconfig.app.json'...
/app/node_modules/vue-tsc/index.js:34
throw err;
^
Error: Debug Failure.
at visitEachChildOfIndexSignatureDeclaration (/app/node_modules/typescript/lib/tsc.js:88839:13)
at visitEachChild (/app/node_modules/typescript/lib/tsc.js:88695:33)
at visitEachChild2 (/app/node_modules/typescript/lib/tsc.js:52363:18)
at visitExistingNodeTreeSymbolsWorker (/app/node_modules/typescript/lib/tsc.js:52251:25)
at visitExistingNodeTreeSymbols (/app/node_modules/typescript/lib/tsc.js:51943:24)
at visitArrayWorker (/app/node_modules/typescript/lib/tsc.js:88509:49)
at visitNodes2 (/app/node_modules/typescript/lib/tsc.js:88480:19)
at visitNodesWithoutCopyingPositions (/app/node_modules/typescript/lib/tsc.js:52372:24)
at visitEachChildOfTypeLiteralNode (/app/node_modules/typescript/lib/tsc.js:88885:7)
at visitEachChild (/app/node_modules/typescript/lib/tsc.js:88695:33)
Node.js v22.11.0
Vue - Official extension or vue-tsc version
vue-tsc
VSCode version
1.90.1
Vue version
3.4.29
TypeScript version
5.5
System Info
No response
Steps to reproduce
Just upgrade to typescript 5.5
Link to minimal reproduction
No response
Any additional comments?
npm run build
.../node_modules/vue-tsc/bin/vue-tsc.js:68 throw err; ^ Search string not found: "for (const existingRoot of buildInfoVersionMap.roots) {" (Use
node --trace-uncaught ...
to show where the exception was thrown)Node.js v20.5.1