Advertisement
Guest User

Untitled

a guest
Jun 17th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.82 KB | None | 0 0
  1. Node.js app detected
  2. -----> Build failed
  3. ! Two different lockfiles found: package-lock.json and yarn.lock
  4. Both npm and yarn have created lockfiles for this application,
  5. but only one can be used to install dependencies. Installing
  6. dependencies using the wrong package manager can result in missing
  7. packages or subtle bugs in production.
  8. - To use npm to install your application's dependencies please delete
  9. the yarn.lock file.
  10. $ git rm yarn.lock
  11. - To use yarn to install your application's dependences please delete
  12. the package-lock.json file.
  13. $ git rm package-lock.json
  14.  
  15. https://kb.heroku.com/why-is-my-node-js-build-failing-because-of-conflicting-lock-files
  16. ! Push rejected, failed to compile Node.js app.
  17. ! Push failed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement