-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Netlify build failing if target in next.config.js
changed to experimental-serverless-trace
#3932
Comments
Seeing a similar error with this next.config.js (generated by the sentry wizard): const { withSentryConfig } = require("@sentry/nextjs");
const SentryWebpackPluginOptions = {
// Additional config options for the Sentry Webpack plugin. Keep in mind that
// the following options are set automatically, and overriding them is not
// recommended:
// release, url, org, project, authToken, configFile, stripPrefix,
// urlPrefix, include, ignore
silent: true, // Suppresses all logs
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options.
};
const config = {
reactStrictMode: true,
};
module.exports = withSentryConfig(config, SentryWebpackPluginOptions); And the Netlify build error:
Is it possible to just use Thanks! |
This issue has gone three weeks without activity. In another week, I will close it. But! If you comment or otherwise update it, I will reset the clock, and if you label it "A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀 |
I have the same issue
Currently using |
Package + Version
@sentry/browser
@sentry/node
raven-js
raven-node
(raven for node)Version:
Description
Describe your issue in detail, ideally, you have a reproducible demo that you can show.
When the target in
next.config.js
fromserverless
toexperimental-serverless-trace
, in the resolution of #3575, Netlify build is failing,throws an error:
Cannot find module '@prisma/client'
Netlify Logs:
https://pastebin.com/6bExettA
next.config.js
The text was updated successfully, but these errors were encountered: