Helix.Examples icon indicating copy to clipboard operation
Helix.Examples copied to clipboard

NextJS: Rendering container does not start

Open sshushliapin opened this issue 3 years ago • 0 comments

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

sshushliapin avatar Feb 14 '22 14:02 sshushliapin