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

Error: ENOENT: no such file or directory, uv_cwd #8

Open
thomaswelton opened this issue Apr 4, 2017 · 0 comments
Open

Error: ENOENT: no such file or directory, uv_cwd #8

thomaswelton opened this issue Apr 4, 2017 · 0 comments

Comments

@thomaswelton
Copy link

I'm getting this error quite often which is causing the server to stop responding.
I think it might be happening when the downloader downloads an archive with the same name as the current version. I'm assuming the script deletes the old directory and and then tries to cd into the the new directory that it's just deleted.

[2017-04-04T21:16:02.035Z][m9833] reloading server
[2017-04-04T21:16:02.035Z][m9833] downloading app
[2017-04-04T21:16:02.035Z][m9833] fetching current app version from cdn.gindex.it/fastboot-dist.json
[2017-04-04T21:16:02.104Z][m9833] got config { bucket: 'cdn.gindex.it',
  key: 'deploy-dist-54216ed51e2197d533b18adf7ac89395.zip' }
[2017-04-04T21:16:02.104Z][m9833] removing deploy-dist
[2017-04-04T21:16:02.158Z][m9833] saving S3 object cdn.gindex.it/deploy-dist-54216ed51e2197d533b18adf7ac89395.zip to deploy-dist-54216ed51e2197d533b18adf7ac89395.zip
[2017-04-04T21:16:02.938Z][m9833] unzipped deploy-dist-54216ed51e2197d533b18adf7ac89395.zip
[2017-04-04T21:16:05.180Z][m9833] config modified; old=Tue Apr 04 2017 20:56:10 GMT+0000 (UTC); new=Tue Apr 04 2017 20:56:10 GMT+0000 (UTC)
[2017-04-04T21:16:05.180Z][m9833] reloading server
[2017-04-04T21:16:05.180Z][m9833] downloading app
[2017-04-04T21:16:05.180Z][m9833] fetching current app version from cdn.gindex.it/fastboot-dist.json
[2017-04-04T21:16:05.446Z][m9833] installed npm dependencies
[2017-04-04T21:16:05.460Z][m9833] got config { bucket: 'cdn.gindex.it',
  key: 'deploy-dist-54216ed51e2197d533b18adf7ac89395.zip' }
[2017-04-04T21:16:05.460Z][m9833] removing deploy-dist
[2017-04-04T21:16:05.494Z][m9833] saving S3 object cdn.gindex.it/deploy-dist-54216ed51e2197d533b18adf7ac89395.zip to deploy-dist-54216ed51e2197d533b18adf7ac89395.zip
[2017-04-04T21:16:05.786Z][m9833] installed npm dependencies
[2017-04-04T21:16:05.827Z][m9833] error running command cd deploy-dist && npm install
[2017-04-04T21:16:05.827Z][m9833] path.js:1142
          cwd = process.cwd();
                        ^

Error: ENOENT: no such file or directory, uv_cwd
    at Error (native)
    at Object.resolve (path.js:1142:25)
    at Function.Module._resolveLookupPaths (module.js:390:17)
    at Function.Module._resolveFilename (module.js:460:31)
    at Function.Module._load (module.js:417:25)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at /opt/elasticbeanstalk/node-install/node-v6.10.0-linux-x64/lib/node_modules/npm/bin/npm-cli.js:25:13
    at Object.<anonymous> (/opt/elasticbeanstalk/node-install/node-v6.10.0-linux-x64/lib/node_modules/npm/bin/npm-cli.js:75:3)
    at Module._compile (module.js:570:32)

[2017-04-04T21:16:05.827Z][m9833] unable to install npm dependencies
fs.js:640
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^

Error: ENOENT: no such file or directory, open '/var/app/current/deploy-dist/fastboot/gindex-frontend-25be99e45b407a43809857bfe40184a2.js'
    at Error (native)
    at Object.fs.openSync (fs.js:640:18)
    at Object.fs.readFileSync (fs.js:508:33)
    at /var/app/current/node_modules/fastboot/src/ember-app.js:148:24
    at Array.forEach (native)
    at EmberApp.loadAppFiles (/var/app/current/node_modules/fastboot/src/ember-app.js:146:18)
    at EmberApp.retrieveSandboxedApp (/var/app/current/node_modules/fastboot/src/ember-app.js:187:10)
    at new EmberApp (/var/app/current/node_modules/fastboot/src/ember-app.js:50:21)
    at FastBoot._buildEmberApp (/var/app/current/node_modules/fastboot/src/index.js:114:17)
    at FastBoot.reload (/var/app/current/node_modules/fastboot/src/index.js:95:10)
[2017-04-04T21:16:06.015Z][m9833] worker exited with error code: 1
[2017-04-04T21:16:06.017Z][m9833] forked worker 14336
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant