Skip to content

Error: The process '/usr/local/bin/npm' failed with exit code 1 #249

Answered by ArtiomTr
AldiNFitrah asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @AldiNFitrah 👋,

Looks like process is exiting with non-zero exit code. I see, that some asynchronous code is not finishing at time:

PASS tests/unit/ViewCourse.spec.js

  ●  Cannot log after tests are done. Did you forget to wait for something async in your test?
    Attempted to log "{}".

This could cause the issue.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@AldiNFitrah
Comment options

Answer selected by AldiNFitrah
Comment options

You must be logged in to vote
1 reply
@ArtiomTr
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants