When using firestore as a dependency next failed on the build step.
Hack with webpack-asset-relocator-pluging doesn't solve the issue as well, it causes another error though (gRPC binary module was not installed instead of package.json does not exist at /package.json w/o it)
Steps to reproduce the behavior, please provide code snippets or a repository:
yarn installyarn buildBuild step passes successfully
https://github.com/zeit/next.js/issues/6073
https://github.com/zeit/next.js/pull/7758
Hey can you try next@canary?
Do you mean next package version?
I've just tried with ^9.0.4-canary.6 and it didn't work as well
Are you deploying on Now?
Yes, but here the issue isn't with a deploy but with a build step
You'll want to set target: 'experimental-serverless-trace', the Now builder does this automatically.
Hey @timneutkens! Thanks, that's working!
Most helpful comment
Hey @timneutkens! Thanks, that's working!