You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turns out that this is an issue caused in npm itself where if the unsafe-perm flag is not set, it will enforce the TMPDIR environment variable to the working directory (when running as root as we're currently doing in Docker). I did a respective grep:
[...]
/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js: if (!npm.config.get('unsafe-perm')) env.TMPDIR = wd
[...]
Solutions:
The correct solution: Switch to another user for running the app, even when debugging and running locally
The quick work-around: Run npm start with unsafe-perm.
No description provided.
The text was updated successfully, but these errors were encountered: