Moving from glitch to netlify

Hey @novatorem,
Welcome to the forum! The short answer to this is: “npm run build” is not a command in your package.json file. It looks like your command is “npm run build-run”:

The longer answer is: that still won’t work because you’re app relies on a server. Glitch is an awesome platform, but works pretty differently than ours does. One significant difference is that we build, deploy, and host Jamstack sites—Javascript, APIs, and markdown. The idea is that we generate all the assets you need for your site and then host them on CDN nodes around the world so your sites are really fast for anyone who accesses them, wherever they’re visiting from. There’s no server side code at runtime in this architecture. Here’s a longer explanation on that:

So! Taking a quick look at your repo, it looks like you do have a server. To host on Netlify, you’d have to port your app to be serverless and set up a different database configuration to work with that. This blog post might be useful for you:

Let us know if we can answer any other questions about any of this!

1 Like