lagonapp / lagon

Deploy Serverless Functions at the Edge. Current status: Alpha
https://lagon.app
GNU Affero General Public License v3.0
1.32k stars 63 forks source link

Cannot start dashboard due to sentry/webpack bug #1060

Open toinbis opened 1 year ago

toinbis commented 1 year ago

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/@sentry+webpack-plugin@1.20.0/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.