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

CircleCI deploy fails #157

Closed
benswinburne opened this issue Oct 3, 2016 · 1 comment
Closed

CircleCI deploy fails #157

benswinburne opened this issue Oct 3, 2016 · 1 comment

Comments

@benswinburne
Copy link
Contributor

benswinburne commented Oct 3, 2016

When running on CircleCI I receive the following error. I have tried running it with node-lambda installed globally and as a devDependency.

/opt/circleci/nodejs/v4.3.2/lib/node_modules/node-lambda/lib/main.js:264
        throw err;
        ^

Error: ENOENT: no such file or directory, mkdir '/tmp/@namespace/pkg-name-1475494922407'

Line 264 is Lambda.prototype._cleanDirectory

ubuntu@box389:~$ node -v
v4.3.2

ubuntu@box389:~$ npm -v
2.14.12

ubuntu@box389:~/pkg-name$ cat package.json | grep node-lambda
"node-lambda": "^0.8.10",

circle.yml


---
dependencies:
  post:
    - touch .env

machine:
  node:
    version: 4.3.2

deployment:
  production:
    branch: master
    commands:
      - node-lambda deploy -e production

The relevant environment variables are configured in the environment variables section of circle, rather than in a .env (hence the touch .env)

@DeviaVir
Copy link
Collaborator

Should be fixed in latest 0.8.11 deploy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants