Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Livepush fails at npm install... stage if package.json is modified. #57

Open
srlowe opened this issue Nov 20, 2019 · 0 comments
Open

Livepush fails at npm install... stage if package.json is modified. #57

srlowe opened this issue Nov 20, 2019 · 0 comments
Labels
bug Something isn't working

Comments

@srlowe
Copy link
Contributor

srlowe commented Nov 20, 2019

If package.json is modified, then livepush fails during rm -rf /tmp/* (after npm install etc.) with Device or resource busy errors.

[Live]    Detected changes for container main, updating...
[Live]    [main] Executing command: `npm install --ci --production     && npm cache clean --force     && rm -rf /tmp/*`
[Live]    [main]    up to date in 1.056s
[Live]    [main]    found 0 vulnerabilities
[Live]    [main]    npm
[Live]    [main]     
[Live]    [main]    WARN 
[Live]    [main]    using --force
[Live]    [main]     I sure hope you know what you are doing.
[Live]    [main]    rm: cannot remove '/tmp/balena': Device or resource busy
[Live]    [main]    rm: cannot remove '/tmp/resin': Device or resource busy
[Error]   [main]   Command npm install --ci --production     && npm cache clean --force     && rm -rf /tmp/* failed with exit code: 1

Confirmed on both Linux and Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant