Closed radokristof closed 3 days ago
The command specified in package.json
for running NextJS in dev mode should look like this:
"scripts": {
"dev": "next dev",
},
And then you will be able to run it through sst
with npx sst dev
command.
Thank you, this fixed it!
Interestingly, sst init
did this change a few versions back...
I am unable to use
sst dev
, because I always get this error:The
package.json
relevant parts:This is a nextjs app, sst config was created by
sst init
.SST version: 3.1.36 SST is installed via npm
I am running it with WSL but it fails similarly on macOS too.
What am I doing wrong?