Skip to content
Sign UpLog In
This post is read-only. Explore Repls and connect with other creators on Community.View Community
The info in this post might be out of date, check out our docs instead. View docs
7

How do I install packages in node.js?

sqdsh
sqdsh

How to install packages?

4 years ago

Voters

Comments

TopNew
2
TheDrone7
TheDrone7

For installing packages, you can click on the cube icon towards the left of your editor which is the repl.it package manager.

4 years ago
2
dsfsdfsdfsdfdsfdd
dsfsdfsdfsdfdsfdd

But i dont have an Package manager icon in node.js

9 months ago
1
BestEpicGamer
BestEpicGamer

I can't find the cube icon on my left. it was there when I created the repl, but now it's completely gone. Anyone has a solution to get the button back or download packages manually?

8 months ago
1
Buhron
Buhron

@BestEpicGamer
You are using a template that doesn't support packages.
All do, some don't have the cube.
Add pkgs.#languagePackages.#package to replit.nix to install the package (The package is automatically installed by Nix.)
Replit uses NixOS.

7 months ago
1
katyadee
katyadee

Hey there, in the future - please make sure you include enough context in your post. That helps other users find & answer your questions more efficiently! It's also helpful for people who might want to ask something similar.

4 years ago
Load more