1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00

Fix location of production server file (#5731)

(At least with my set up, mac osx, node 10.13.0, yarn 1.12.1)

Couldn't get the server to start with `npm start`, this appears to fix that
This commit is contained in:
Matt Jewell 2018-11-22 16:55:47 +01:00 committed by Tim Neutkens
parent 44d661af67
commit 7076727d3e

View file

@ -2,7 +2,7 @@
"scripts": {
"dev": "nodemon server/index.ts",
"build": "next build && tsc --project tsconfig.server.json",
"start": "NODE_ENV=production node .next/production-server/server/index.js"
"start": "NODE_ENV=production node .next/production-server/index.js"
},
"dependencies": {
"@babel/core": "^7.1.2",