Pengwin icon indicating copy to clipboard operation
Pengwin copied to clipboard

Unable to install npm

Open gellenburg opened this issue 2 years ago • 5 comments

Fresh install of Pengwin and I'm unable to install npm. Does anybody have any idea how to fix this?

image

gellenburg avatar Nov 22 '22 17:11 gellenburg

Hello @gellenburg,

Looks like there is a dependency problem at Debian upstream, and I couldn't find the solution.

I recommend that you install nodejs via pengwin-setup. You'll have better options and more updated packages: image image image

If unsure you can choose LTS then close and start Pengwin again.

crramirez avatar Nov 22 '22 20:11 crramirez

I was able to get it to install with Ubuntu 22.10 running on WSL though.

But I'll try pengwin-setup.

gellenburg avatar Nov 27 '22 17:11 gellenburg

And please tell me how is going

crramirez avatar Nov 27 '22 18:11 crramirez

(https://user-images.githubusercontent.com/8397379/203416590-d6b941cb-2068-42d8-8749-5f2976ecc28a.png)

If unsure you can choose LTS then close and start Pengwin again.

Hello @crramirez , It's not clear to me what's the difference among NVERMAN, NVM and the classical NODEJS installation. Thanks in advance.

dgiglio avatar Aug 01 '23 07:08 dgiglio

Hello @dgiglio,

NVERMAN and NVM are version managers. They allow to manage multiple NodeJS versions and switch among them. Also, it is the best way to have them updated.

NVERMAN: https://github.com/tj/n NVM: https://github.com/nvm-sh/nvm

Recommended if you are using NodeJS in development.

The other two options install NodeJS via package manager. You can have one once at time. They are installed from the NodeSource (https://nodesource.com/) repositories. So, they are more current than the one in the Debian repository that Pengwin is based on.

Recommended if you need node as a dependency but no developing directly with it.

Hope it helps,

Regards, Carlos

crramirez avatar Aug 01 '23 09:08 crramirez