-
Bug
-
Resolution: Done
-
Blocker
-
None
-
None
-
1
-
False
-
-
False
-
-
Bug Fix
-
Done
-
-
-
RHDH Dynamic Plugins 3266
Description of problem:
In some cases the janus-cli can exit with an error during the yarn install phase of the export-dynamic-plugin command:
Building main package executing yarn build ✔ Packing main package to dist-dynamic\package.json Customizing main package in dist-dynamic\package.json for dynamic loading Installing private dependencies of the main package executing yarn install --no-immutable ✖ Error: Failed to execute command 'yarn install --no-immutable', RangeError [ERR_CHILD_PROCESS_STDIO_MAXBUFFER]: stdout maxBuffer length exceeded
This is due to excessive output from the yarn install command which potentially overloads the default buffer used by the exec API that is used to launch this process.
Either a silent install option could be used or we can look at increasing the buffer value when the CLI launches this command.