Description
Discussed in #5943
Originally posted by eggplants October 13, 2022
proxyLoader
creates src/pages/temp***.js
. It causes the following error in my nextjs project on Docker:
ModuleBuildError: Module build failed (from ./node_modules/@sentry/nextjs/cjs/config/loaders/proxyLoader.js):
Error: EROFS: read-only file system, open '/app/src/pages/temp0.5575603336148998.js'
at Object.openSync (node:fs:585:3)
at Object.writeFileSync (node:fs:2170:35)
at Object.proxyLoader (/app/node_modules/@sentry/nextjs/cjs/config/loaders/proxyLoader.js:68:17)
Current only workaround is to set autoInstrumentServerFunctions: false
. Is there any other way?
(@sentry/nextjs
: 7.15.0, next
: 12.3.1)