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

"Two different lockfiles found" even though one of them doesn't exist anymore #1256

Open
michaloslav opened this issue Jun 23, 2019 · 1 comment

Comments

@michaloslav
Copy link

I made some modifications to my repo and also transitioned from NPM to Yarn. I'm now trying to publish it but I keep getting the two lockfiles error.

I deleted the package-lock.json file, as instructed by the CLI but still got the same error. I tried adding a .slugignore file too, doesn't work either.

Here's exactly what I did:
delete the file from file explorer
git add -A
git commit -am "Removed package-lock.json"
git push heroku master -f

add heroku.slugignore to the root of the repo
git add -A
git commit -am "Added slugignore"
git push heroku master -f

Still the same error

@RasPhilCo
Copy link
Contributor

This is a build error, not a CLI error. File a support ticket at https://heroku.support.

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

2 participants