Deploying...
I need help, I want to learn how to do the back-end, so I'm following this tutorial:
https://www.freecodecamp.org/learn/back-end-development-and-apis/managing-packages-with-npm/how-to-use-package-json-the-core-of-any-node-js-project-or-npm-package
So I forked it and I figured I'll put it up on netlify, yet I keep on getting page not found
do I need to do smth special? do In eed to have the paid plan, why is it not deploying
I also went via the other thing they said (replit) but I cant seem to figure out how on earth to deploy it, the static is free yet the "deployments" page doesn't do it and it also says "no server compute", would that mean it wouldn't work anyway considering its backend?
I tried putting this in the build command but no luck
freeCodeCamp.org
Learn to Code — For Free
4 Replies
When I view it in the live server of my ide I get the page as I assume is intended
but obv that's not a live demo so it can't be used
okay so I came to the understanding that it has to read this file, its not doing it tho, I tried doing this:
But Iam guessing that this is not how its done?
I don't think Netlify can host backend stuff
They can host it
You’re supplying the run command to where it’s asking for a build command. You want to use
npm build
or whatever you have specified in your package.json
If it doesn’t need a build step you can skip