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
npm ERR! code EACCES
npm ERR! syscall mkdir
npm ERR! path /root/.npm/_cacache/tmp
npm ERR! errno -13
npm ERR!
npm ERR! Your cache folder contains root-owned files, due to a bug in
npm ERR! previous versions of npm which has since been addressed.
npm ERR!
npm ERR! To permanently fix this problem, please run:
npm ERR! sudo chown -R 1000:1000 "/root/.npm"
Steps to reproduce
Run env locally
Run env inside keploy test -c "env"
Observe diff
Environment
None
Version
Local
Repository
typescript-sdk
The text was updated successfully, but these errors were encountered:
I think this problem would be applicable to all languages. Essentially we are not passing the env variables. I doubt there would be a way to pass all the env variables cleanly for the non root session as root user.
Is there an existing issue for this?
Current behavior
When running
env
locally. User is correctWhen
env
is executed inside keploy.keploy test -c "env"
User and logname is root, due to which application is breaking as its unble to access root/.npm/cache/logs
Logs from Application from Keploy
Steps to reproduce
env
locallyenv
insidekeploy test -c "env"
Environment
None
Version
Local
Repository
typescript-sdk
The text was updated successfully, but these errors were encountered: