Ask coding questions

← Back to all posts
Can't start my Nodejs repl
JFernando122 (0)

Every time i try to run my replt using the RUN button i get this

I understand that is trying to install the package https: which clearly is an invalid name. But what i don't understand is why it's trying to install it, here is the dependencies listed in my package.json file

Answered by Coder100 (18915) [earned 5 cycles]
View Answer
Comments
hotnewtop
Coder100 (18915)

Replit isn't very smart

please, refer to this documentation: https://docs.replit.com/repls/dot-replit

so for you, it is something like:

[packager]
ignoredPaths=["public"]

or remake the project in the bash language

JFernando122 (0)

@Coder100 It worked, but i also had to do the run="npm start" before what you said thank ypu very much

Coder100 (18915)

yeah forgot to tell you about that sorry @JFernando122

ruiwenge2 (1182)

it works for me though