Replies: 7 comments 5 replies
-
I see the same error happened at #33564 |
Beta Was this translation helpful? Give feedback.
-
Hi, The necessary file tracing is done by the So unfortunately, I don't think this would be possible right now. As such, I converted this to an idea. If it gains traction from the community, we might consider revisiting. Please add your thoughts/feedback in the comments. Thanks! 🙏 |
Beta Was this translation helpful? Give feedback.
-
After debugging i found that this thing is actually broken. |
Beta Was this translation helpful? Give feedback.
-
@balazsorban44 Well, I was able to make it work by copy-pasting 5 lines of code from here... |
Beta Was this translation helpful? Give feedback.
-
@iivankin do u found any hotfix solution ?? |
Beta Was this translation helpful? Give feedback.
-
@zigang93 I will create pull request later. |
Beta Was this translation helpful? Give feedback.
-
Any news on this topic? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Verify canary release
Provide environment information
Operating System:
Platform: linux
Arch: x64
Version: #1 SMP Fri Apr 2 22:23:49 UTC 2021
Binaries:
Node: 17.5.0
npm: 8.4.1
Yarn: 3.1.1
Relevant packages:
next: 12.1.1-canary.1
react: 17.0.2
react-dom: 17.0.2
What browser are you using? (if relevant)
How are you deploying your application? (if relevant)
Describe the Bug
When building with
outputStandalone
and Yarn PnP enabled, the dependencies are not copied correctly at all (because pnp has a slightly different file structure).Only
.yarn/cache
is created in thestandalone
folder, which contains partially (!) unpacked next and yarn.And so, without node_modules we get this error
Expected Behavior
To copy everything correctly.
This is the only thing that does not work with pnp. It would be very cool if you could fix it
To Reproduce
yarn
yarn build
.next/standalone
and verify the error.Beta Was this translation helpful? Give feedback.
All reactions