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

yarn install --frozen-lockfile --non-interactive failed with code 1 #64

Closed
atonamy opened this issue Jun 3, 2019 · 3 comments · Fixed by #79
Closed

yarn install --frozen-lockfile --non-interactive failed with code 1 #64

atonamy opened this issue Jun 3, 2019 · 3 comments · Fixed by #79

Comments

@atonamy
Copy link

atonamy commented Jun 3, 2019

Unable to deploy code from my computer

Serverless: Invoke webpack:package
Serverless: Fetch dependency graph from package.json
Serverless: WARNING: Could not determine version of module aws-sdk
Serverless: Package lock found - Using locked versions
Serverless: Packing external modules: typeorm@^0.2.17, aws-sdk
 
  Error --------------------------------------------------
 
  yarn install --frozen-lockfile --non-interactive failed with code 1
 
     For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.
 
  Stack Trace --------------------------------------------
 
Error: yarn install --frozen-lockfile --non-interactive failed with code 1
    at ChildProcess.child.on.exitCode (node_modules/serverless-webpack/lib/utils.js:92:16)
    at ChildProcess.emit (events.js:189:13)
    at ChildProcess.EventEmitter.emit (domain.js:441:20)
    at maybeClose (internal/child_process.js:970:16)
    at Socket.stream.socket.on (internal/child_process.js:389:11)
    at Socket.emit (events.js:189:13)
    at Socket.EventEmitter.emit (domain.js:441:20)
    at Pipe._handle.close (net.js:597:12)
 
  Get Support --------------------------------------------
     Docs:          docs.serverless.com
     Bugs:          github.com/serverless/serverless/issues
     Issues:        forum.serverless.com
 
  Your Environment Information ---------------------------
     OS:                     darwin
     Node Version:           10.15.3
     Serverless Version:     1.44.1
@orkunkl
Copy link

orkunkl commented Jun 24, 2019

I am having the same issue. Please can you resolve this?

@achwin
Copy link

achwin commented Jul 2, 2019

I resolve that with npm install aws-sdk --save-dev

@WajeehZantout
Copy link
Contributor

This is fixed in #79

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

Successfully merging a pull request may close this issue.

4 participants