construction@0.1.0 start /home/somagecg/public_html/somagec-next
NODE_ENV=production node server.js
stderr:
npm WARN lifecycle The node binary used for scripts is /home/somagecg/nodevenv/public_html/somagec-next/12/bin/node but npm is using /opt/alt/alt-nodejs12/root/usr/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
(node:22367) UnhandledPromiseRejectionWarning: RangeError: WebAssembly.instantiate(): Out of memory: wasm memory
at internal/deps/cjs-module-lexer/dist/lexer.js:1:33593
at async initCJSParse (internal/modules/esm/translators.js:67:5)
at async Loader.commonjsStrategy (internal/modules/esm/translators.js:181:18)
at async link (internal/modules/esm/module_job.js:42:21)
(node:22367) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_...ejections_mode). (rejection id: 2)
NODE_ENV=production node server.js
stderr:
npm WARN lifecycle The node binary used for scripts is /home/somagecg/nodevenv/public_html/somagec-next/12/bin/node but npm is using /opt/alt/alt-nodejs12/root/usr/bin/node itself. Use the --scripts-prepend-node-path option to include the path for the node binary npm was executed with.
error - Failed to load next.config.js, see more info here https://nextjs.org/docs/messages/next-config-error
(node:22367) UnhandledPromiseRejectionWarning: RangeError: WebAssembly.instantiate(): Out of memory: wasm memory
at internal/deps/cjs-module-lexer/dist/lexer.js:1:33593
at async initCJSParse (internal/modules/esm/translators.js:67:5)
at async Loader.commonjsStrategy (internal/modules/esm/translators.js:181:18)
at async link (internal/modules/esm/module_job.js:42:21)
(node:22367) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_...ejections_mode). (rejection id: 2)
Comment