-
Notifications
You must be signed in to change notification settings - Fork 10.1k
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
Build failed using npm run build on typescript projects #3891
Comments
Fixed after update my typescript version |
Hi! That's a good point, I think we should add this somewhere in the documentation 👍 ( |
I have the same issue, but even after updating curret typescript version, still facing same errors as mentioned here. Could you please help me? |
@saptarshi007 that's weird. Could you please check your typescript version with |
@darrachequesne I'm facing the same issue. I'm using |
Have you been able to fix it? I'm also having the same issue with typescript v4.2.3 |
"import { type ... }" was added in TypeScript 4.5. Reference: https://devblogs.microsoft.com/typescript/announcing-typescript-4-5/ Related: - #86 - socketio/socket.io#3891
@bernardarhia which version of If it's |
I've found a work around it. I had to install a specific version of socket.io which comes with the socket-adapter. |
@bernardarhia great 👍 For future readers, there was an unsupported syntax ( |
Describe the bug
I have a backend with express and typescript that use npm as a package manager and I run the next command to build the project
npm run build
that command run the next scripttsc -p .
to build the project.But I have the next errors
Versions used
The text was updated successfully, but these errors were encountered: