Helix.Examples
Helix.Examples copied to clipboard
NextJS: Rendering container does not start
Hi guys,
In the NextJS example, I followed the setup instrinctions running .\init.ps1
and .\up.ps1
. CM works fine but the Rendering container does not start. Looks like npm packages need to be installed (container logs):
Attaching to basic-company-nextjs_rendering_1
rendering_1 |
rendering_1 | > [email protected] start C:\app
rendering_1 | > npm-run-all --serial bootstrap --parallel next:dev start:watch-components
rendering_1 |
rendering_1 | 'npm-run-all' is not recognized as an internal or external command,
rendering_1 | operable program or batch file.
rendering_1 | npm ERR! code ELIFECYCLE
rendering_1 | npm ERR! errno 1
rendering_1 | npm ERR! [email protected] start: `npm-run-all --serial bootstrap --parallel next:dev start:watch-components`
rendering_1 | npm ERR! Exit status 1
rendering_1 | npm ERR!
rendering_1 | npm ERR! Failed at the [email protected] start script.
rendering_1 | npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
rendering_1 | npm WARN Local package.json exists, but node_modules missing, did you mean to install?
rendering_1 |
rendering_1 | npm ERR! A complete log of this run can be found in:
rendering_1 | npm ERR! C:\Users\ContainerUser\AppData\Roaming\npm-cache\_logs\2022-02-14T14_15_32_737Z-debug.log
basic-company-nextjs_rendering_1 exited with code 1