-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
<w> [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependencies #27650
Comments
Some kind of error happened... You need to enable debug logging to see the error:
|
Here's what I got on my console after enabling it: PS E:\React Projects\testapp> yarn dev |
Hi @sokra |
I have the same problem running a blank project created with versions: How this is still unattended? A simple blank project cannot be compiled with the following message:
|
I'm having a similar Webpack error. The message is the following: [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: Unable to snapshot resolve dependenc What version of Next.js are you using? What version of Node.js are you using? What browser are you using? What operating system are you using? How are you deploying your application? I enabled debug logging but could not come up with a sense of what the issue could be. There are only three development dependencies in the project: next, react and react-dom Thanks |
Hi, I could not reproduce this with the OP's reproduction steps, but there is a similar issue opened at #33693 (which I could reproduce). If you think your issue is related, feel free to follow along with that one. If you get a similar warning but you don't think it's the same as #33693, please open a new bug report with a reproduction instead. |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
What version of Next.js are you using?
11.0.1
What version of Node.js are you using?
14.17.3
What browser are you using?
Chrome
What operating system are you using?
Windows
How are you deploying your application?
Not deployed yet
Describe the Bug
Simply creating a new Next.js project and running
yarn dev
/npm run dev
logs the following warning in the console:I have tried deleting yarn.lock, and running
yarn install
again , but that did not do anything.I'm not sure if this is related but, when first creating the project, I also get the following warnings:
Expected Behavior
No warning, or an explanation of the warning.
To Reproduce
yarn create next-app
ornpx create-next-app
yarn dev
ornpm run start
The text was updated successfully, but these errors were encountered: