Can't add packages


#1

Forgive me, I am new to web development and I have no idea what’s going on.

My app keeps giving me errors when I try to add a package.json file. The project right now is called silky-inch. The first error it gives me is “Could not find node , using 8.11.1”. Then, it installs node 8.11.1 many times. Occasionally, it tells me MongoDB doesn’t exist. I am not getting a straight error. But whatever it is, it is causing my project to not load.

Can someone please help me understand what I am doing wrong here?


#2

What did you put in your package.json, and what was the exact error?

It’s easier to start with a node app and modify it than to add the package.json later. It looks like you created a new website project instead of a node project.