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

Unable to build nextjs app due to lockfile not found #434

Open
Janjiran opened this issue Jul 26, 2024 · 1 comment
Open

Unable to build nextjs app due to lockfile not found #434

Janjiran opened this issue Jul 26, 2024 · 1 comment
Labels
kind/bug Something isn't working

Comments

@Janjiran
Copy link

Describe the bug
When building my monorepo nextJS application, build fails on "lockfile not found" without any additional details.

project structure:

  • package.json
  • yarn.lock
  • apps/web/
    • package.json
    • no lockfile here

Additional context
I'm using Firebase App Hosting feature.
next.js 14.2.3

Did this used to work?
(Yes)
I was trying this about 3 months ago, where it was failing as well but I think that was because of the project settings, I didn't encounter this error before.

What language is your project primarily written in?
(Node.js)

image
@Janjiran Janjiran added the kind/bug Something isn't working label Jul 26, 2024
@Janjiran
Copy link
Author

Hi, I've just tried to move the roots yarn.lock to my apps/web folder and it's picking it up. Can I maybe somehow specify to use the root yarn.lock file?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant