Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Disable proxyLoader #5943

Locked Answered by AbhiPrasad
eggplants asked this question in Q&A
Discussion options

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)

You must be logged in to vote

Hey, thanks for writing in! Created an issue so we can triage this bug and fix this: #5944

Replies: 1 comment

Comment options

Hey, thanks for writing in! Created an issue so we can triage this bug and fix this: #5944

You must be logged in to vote
0 replies
Answer selected by AbhiPrasad
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /