<!-- Requirements: please go through this checklist before opening a new issue --> - [x] Review the documentation: https://docs.sentry.io/ - [x] Search for existing issues: https://github.com/getsentry/sentry-javascript/issues - [x] Use the latest release: https://github.com/getsentry/sentry-javascript/releases - [ ] Provide a link to the affected event from your Sentry account ## Package + Version - [ ] `@sentry/browser` - [ ] `@sentry/node` - [ ] `raven-js` - [ ] `raven-node` _(raven for node)_ - [x] other: `@sentry/nextjs` ### Version: ``` 6.10.0 ``` ## Description My project has [`distDir`](https://nextjs.org/docs/api-reference/next.config.js/setting-a-custom-build-directory) configured. The build shows an error for sentry: ``` error: .next/: IO error for operation on .next/: No such file or directory (os error 2) ``` The build passes when I remove the `distDir` (but I need it).
Activity
lobsterkatie commentedon Aug 3, 2021
Hi, @Janpot. Thanks for reporting!
I've added supporting custom
distDirvalues to our backlog, and will let you know once we've pushed out a fix.JamesHenry commentedon Aug 12, 2021
Thanks @lobsterkatie I ran into this today as well, so glad to know it will be worked on soon
iker-barriocanal commentedon Sep 24, 2021
This should be solved in #3990, and full source map support will be solved in #4003.