-
-
Notifications
You must be signed in to change notification settings - Fork 489
fix: add tsconfig option and some import errors for nodejs 18 #1644
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
Conversation
It does not work for me. Steps:
|
Hi, @kittaakos, you need to change the
to
I didn't send this |
No, you need to change it. |
I am sure there are other places to adjust things, such as the CI workflow files... First off, why do you want to change to Node.js 18? |
I'm learning VSCode/Theia framework, designing an IDE, and arduino-ide is the best at this. nodejs has marked nodejs 18 as LTS, so I plan to build on this version. I think it might be helpful for someone with the same needs. |
Thanks for your contribution. I appreciate it. I will advise you to wait for the Node.js 18 version update. Reason: IDE2 uses the following electron version: arduino-ide/electron-app/package.json Line 28 in 8a85b5c
If you open IDE2 and toggle the DevTools, and print I will not risk accidentally using Node.js 18+ APIs at dev time that is incompatible or do not exist at runtime. I went through this once or twice, and I prefer waiting for the Theia community to do this shift, then we adjust IDE2. Please feel free to continue with the PR and prepare IDE2 for the Node.js 18 support, but it might take months to merge. I appreciate your understanding. |
You're welcome, I've been doing Electron development, and I'm well aware of the issues here, so I'm just doing my own research carefully. The Theia team is waiting for the progress of the VSCode team, and we have to wait for the progress of Theia, otherwise it will be difficult for us to maintain a version of our own without the upstream organization. |
Motivation
Fix the error for nodejs 18
Change description
fix the import package error and an Object-Types error in nodejs 18
Other information
This PR is fix for the nodejs 18, and it had been test for nodejs 16(CI build and run in Windows 11), too. So if necessary, you can merge this.
Reviewer checklist