Warning when installing Cloudron CLI
-
I just installed Cloudron CLI, this is what happened:
josef@josef-ThinkPad-T510:~$ sudo npm install -g cloudron npm WARN deprecated opn@6.0.0: The package has been renamed to `open` npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142 /usr/local/bin/cloudron -> /usr/local/lib/node_modules/cloudron/bin/cloudron > spawn-sync@1.0.15 postinstall /usr/local/lib/node_modules/cloudron/node_modules/spawn-sync > node postinstall Looks like some updates needed to replaced deprecated stuff.
-
I have fixed the opn issue but rewriting to reuse the request issue is a much larger task. Bit unfortunate they deprecated such a popular module.
-
I have fixed the opn issue but rewriting to reuse the request issue is a much larger task. Bit unfortunate they deprecated such a popular module.
-
@girish And today, one year later I get this when I install the CLI, however it seems to work well.
@micmc I think the second deprecation is about upgrading node. You should update node on your PC to >= node 12
-
FWIW, we use node v14.15.4 everywhere now
-
@girish said in Warning when installing Cloudron CLI:
FWIW, we use node v14.15.4 everywhere now
This is exactly why I posted my node version with this shot, so you can see. Now, fyi this is the node version being installed with npm
sudo apt install npm
Anyway, will just update my node then
Thanks
Andy