PrismaAdapter implementation on turborepo shared config #79347
Unanswered
RoggersOgao
asked this question in
Help
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Summary
am having a issue where am unable to use prismaadapter, its giving me this wierd error
Creating an optimized production build ...
[webpack.cache.PackFileCacheStrategy] Serializing big strings (196kiB) impacts deserialization performance (consider using Buffer instead and decode when needed)
Failed to compile.
node:child_process
Module build failed: UnhandledSchemeError: Reading from "node:child_process" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408376
at Hook.eval [as callAsync] (eval at create (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), :6:1)
at Object.processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408301)
at processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:5308)
at iteratePitchingLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:4667)
at runLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:8590)
at NormalModule._doBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408163)
at NormalModule.build (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:410176)
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:82494
at NormalModule.needBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:414160)
Import trace for requested module:
node:child_process
../../node_modules/@prisma/client/runtime/library.mjs
./node_modules/@auth/prisma-adapter/index.js
./src/auth.ts
node:fs/promises
Module build failed: UnhandledSchemeError: Reading from "node:fs/promises" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408376
at Hook.eval [as callAsync] (eval at create (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), :6:1)
at Object.processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408301)
at processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:5308)
at iteratePitchingLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:4667)
at runLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:8590)
at NormalModule._doBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408163)
at NormalModule.build (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:410176)
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:82494
at NormalModule.needBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:414160)
Import trace for requested module:
node:fs/promises
../../node_modules/@prisma/client/runtime/library.mjs
./node_modules/@auth/prisma-adapter/index.js
./src/auth.ts
node:fs
Module build failed: UnhandledSchemeError: Reading from "node:fs" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408376
at Hook.eval [as callAsync] (eval at create (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), :6:1)
at Object.processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408301)
at processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:5308)
at iteratePitchingLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:4667)
at runLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:8590)
at NormalModule._doBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408163)
at NormalModule.build (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:410176)
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:82494
at NormalModule.needBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:414160)
Import trace for requested module:
node:fs
../../node_modules/@prisma/client/runtime/library.mjs
./node_modules/@auth/prisma-adapter/index.js
./src/auth.ts
node:module
Module build failed: UnhandledSchemeError: Reading from "node:module" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408376
at Hook.eval [as callAsync] (eval at create (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), :6:1)
at Hook.CALL_ASYNC_DELEGATE [as _callAsync] (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:14:6378)
at Object.processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408301)
at processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:5308)
at iteratePitchingLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:4667)
at runLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:8590)
at NormalModule._doBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408163)
at NormalModule.build (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:410176)
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:82494
Import trace for requested module:
node:module
../../node_modules/@prisma/client/runtime/library.mjs
./node_modules/@auth/prisma-adapter/index.js
./src/auth.ts
node:os
Module build failed: UnhandledSchemeError: Reading from "node:os" is not handled by plugins (Unhandled scheme).
Webpack supports "data:" and "file:" URIs by default.
You may need an additional plugin to handle "node:" URIs.
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408376
at Hook.eval [as callAsync] (eval at create (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:14:9224), :6:1)
at Object.processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408301)
at processResource (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:5308)
at iteratePitchingLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:4667)
at runLoaders (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/loader-runner/LoaderRunner.js:1:8590)
at NormalModule._doBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:408163)
at NormalModule.build (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:410176)
at /home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:82494
at NormalModule.needBuild (/home/luffy/Documents/ormify/apps/client/node_modules/next/dist/compiled/webpack/bundle5.js:29:414160)
Import trace for requested module:
node:os
../../node_modules/@prisma/client/runtime/library.mjs
./node_modules/@auth/prisma-adapter/index.js
./src/auth.ts
Tasks: 5 successful, 6 total
Cached: 4 cached, 6 total
Time: 11.507s
Failed: client#build
Additional information
Example
No response
Beta Was this translation helpful? Give feedback.
All reactions