Skip to content
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

Unable to install npm #759

Open
gellenburg opened this issue Nov 22, 2022 · 5 comments
Open

Unable to install npm #759

gellenburg opened this issue Nov 22, 2022 · 5 comments

Comments

@gellenburg
Copy link

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

image

@crramirez
Copy link
Collaborator

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.

@gellenburg
Copy link
Author

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

But I'll try pengwin-setup.

@crramirez
Copy link
Collaborator

And please tell me how is going

@dgiglio
Copy link

dgiglio commented Aug 1, 2023

(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.

@crramirez
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants