Closed toddb closed 6 years ago
On the first time after an yarn (install/upgrade), the process finishes with exit code 1.
yarn
It appears that the last two digits from the cross-env LIMIT=2600 are then used for, well, something.
cross-env LIMIT=2600
package.json
"fix-memory-limit": "cross-env LIMIT=2600 increase-memory-limit",
yarn run fix-memory-limit
Error:
node_modules\.bin\\..\cross-env\dist\bin\cross-env.js" LIMIT=2600 increase-memory-limit '00' is not recognized as an internal or external command, operable program or batch file.
It looks like cross-env doesn't like being changed while it is running. Funny that. So, let's not update cross-env as well:
cross-env
if (file.indexOf('cross-env') >= 0) { return; }
On the first time after an
yarn
(install/upgrade), the process finishes with exit code 1.It appears that the last two digits from the
cross-env LIMIT=2600
are then used for, well, something.package.json
Error: