lagon
lagon copied to clipboard
Cannot start dashboard due to sentry/webpack bug
pnpm install && pnpm dev
inside packages/dashboard gives: ``.
Call stack:
TypeError: Cannot destructure property 'RawSource' of 'require(...)' as it is undefined.
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
Object.<anonymous>
file:///<...>node_modules/.pnpm/@[email protected]/node_modules/@sentry/webpack-plugin/src/index.js (5:9)
Likely related: https://github.com/vercel/next.js/issues/52620#issuecomment-1647599807
Commenting out sentry from the codebase solves the problem.