-
Notifications
You must be signed in to change notification settings - Fork 506
Closed
Description
Hi, I am trying to emit ts definitions by just removing --noEmit from command in newly scaffolded vue project.
Steps to reproduce:
% npm init vue@latest
Need to install the following packages:
create-vue@latest
Ok to proceed? (y)
Vue.js - The Progressive JavaScript Framework
✔ Project name: … vue-project
✔ Add TypeScript? … No / Yes
✔ Add JSX Support? … No / Yes
✔ Add Vue Router for Single Page Application development? … No / Yes
✔ Add Pinia for state management? … No / Yes
✔ Add Vitest for Unit Testing? … No / Yes
✔ Add Cypress for End-to-End testing? … No / Yes
✔ Add ESLint for code quality? … No / Yes
✔ Add Prettier for code formatting? … No / Yes
Scaffolding project in /Users/laky/Projects/vue-project...
Done. Now run:
cd vue-project
npm install
npm run lint
npm run dev
laky@Ctibors-MacBook-Pro.local /Users/laky/Projects
% cd vue-project
npm install
npm run lint
npm run dev
added 319 packages, and audited 320 packages in 2m
66 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> vue-project@0.0.0 lint
> eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore
> vue-project@0.0.0 dev
> vite
vite v2.9.12 dev server running at:
> Local: http://localhost:3000/
> Network: use `--host` to expose
ready in 473ms.
now I stopped dev server by Ctrl+C and removed --noEmit from type-check npm script command
then run type-check script
% npm run type-check
> vue-project@0.0.0 type-check
> vue-tsc -p tsconfig.vitest.json --composite false
js emit is not support
/Users/laky/Projects/vue-project/node_modules/vue-tsc/out/proxy.js:97
throw msg;
^
js emit is not support
(Use `node --trace-uncaught ...` to show where the exception was thrown)
Thanks for any advise 🙏
BKeanu1989
Metadata
Metadata
Assignees
Labels
No labels