-
Notifications
You must be signed in to change notification settings - Fork 1
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
[BUG] TypeScript is not a dependency #2
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TypeScript is used in
package.json
for postinstall, but its not listed a dependency inpackage.json
. Projects that don't have TypeScript installed by default (in our case we only have vue-tsc) will fail to install.We resolved this by adding
"typescript": "^5.2.2",
to our own dependencies, but the proper fix would be for this project to add thetypescript
npm package to dependencies (not devDependencies; postinstall only relies on dependencies) or to remove thetsc
command from postinstall.The text was updated successfully, but these errors were encountered: