Open ShintaroNippon opened 5 years ago
i solve the issue copying the .next folder to inside of ./dist created by npm run dist
it makes sense ?
thanks in advance
Im using this boilerplate
https://github.com/MustansirZia/next-express-bootstrap-boilerplate
i had to copy what is inside of app to outside...
thanks
@ShintaroNippon , I am having the same issue. Did the workaround pose any problems during deployment?
./next-express-bootstrap-boilerplate /snapshot/frontend/node_modules/next-server/dist/server/next-server.js:271 throw new Error(
Could not find a valid build in the '${this.distDir}' directory! Try building your app with 'next build' before starting the server.
);