Comments (3)
IMHO we should use always the latest LTS node version. nvm
is really good (I use it) but adds a bit of complexity to be maintained alongside with the node.js versions. Besides, we are focusing lately in the yarn
package manager, so we should also provide it just in case you want to use in your node.js front and/or backend projects.
In the latest devonfw distributions we managed to install a portable version of the latest node.js LTS in the software folder. We should do something similar or at least discuss if we can ask the user to install it globally in the system. It will be definitely more natural to any frontend developer.
My concern is how to handle everything in the future devonfw dashboard. For the moment we are struggling a lot calling efficiently bash scripts. I can imagine that we will also need to provide some kind of feature selector that will check and install the latest versions of java, node.js, our IDEs, stacks, etc.
from ide.
@sjimenez77 thanks for your valuable feedback. I agree that using LTS version of node is great.
However, I think that the general idea of devon-ide is:
- keep the prerequesites as little as possible
- make the IDE as local as possible and prevent global installations that cause conflicts between co-existing projects.
Hence, if possible I would still suggest that we do the same for node as we do for all the other tools which is download and "install" them locally within the IDE.
This does not necessarily require that one has to call wrapper bash scripts to launch node, npm, yarn, etc. (if that actually was the fear you were having, I am not sure if otherwise I got your concern right). For the "feature selector" I also do not get your point. People just call the setup
script once (what is technically nothing more than devon ide setup
). This installs all the tools reuqired by the project where now each project is free to customize and configure the tools they need in their settings. So projects not using JavaScript/TypeScript/node.js/npm/yarn/etc. do not care about all this. However, most projects will require it as we assume and what is currently the default. The only problem ist that I have not implemented this for node as I am not an experienced JavaScript/Client guy so I would need some contribution.
from ide.
Implemented with PR #138 and tested on mac OS.
If you do not like the default version or find a bug for other OS, please provide PR.
from ide.
Related Issues (20)
- Open workspace as project when launching Intellij and Android Studio
- Add Possibility to configure custom java truststore HOT 1
- use devonfw-ide branch for ide-settings as default HOT 2
- Rancher Desktop 1.10.0 for windows is missing HOT 1
- Detection of latest Java version is buggy HOT 1
- Setup doesn't download Eclipse Enterprise edition HOT 3
- Ability to select latest stable version via version pattern.
- Release broken: system folder empty HOT 1
- gcviewer download fails HOT 2
- Cannot start Intellij since 2023.2.5 HOT 4
- Typo in cloning message
- Fix intellij edition urls folder and edition name conflict for CVE's HOT 1
- Git reset detection for modified files is not working HOT 2
- CVE descriptions use faulty characters
- Cannot launch intellij on MacOS HOT 5
- Cannot launch eclipse on Mac HOT 1
- An Error occurs while setting up devon-ide with node 20.x.x
- devon mvn setup failed with tar: Cannot connect to C: resolve failed HOT 3
- IllegalStateException: Could not write to text file: D:\projects\IDEasy\workspaces\main\.idea\.name
- version pattern broken
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ide.