-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Description
i am try to use olivierwilkinson/prisma-extension-soft-delete in a nextjs 14.1.0 app, but am getting the following
error from this plugin during a build.
we may be able to resolve by individually importing the lodash methods ( if they happen not to utilize _root.js ),
but i have not yet dug in yet to see if that could be a possible resolution.
other resolutions, may be changing our nestjs configuration -- since we don't actually yet require our code to run on the edge runtime.
i wanted to start this issue to see if others are running into this also, while i investigate a workaround.
-- many thanks
Failed to compile.
../../node_modules/.pnpm/[email protected]/node_modules/lodash/_root.js
Dynamic Code Evaluation (e. g. 'eval', 'new Function', 'WebAssembly.compile') not allowed in Edge Runtime
Learn More: https://nextjs.org/docs/messages/edge-dynamic-code-evaluation
Import trace for requested module:
../../node_modules/.pnpm/[email protected]/node_modules/lodash/_root.js
../../node_modules/.pnpm/[email protected]/node_modules/lodash/_cloneBuffer.js
../../node_modules/.pnpm/[email protected]/node_modules/lodash/_baseClone.js
../../node_modules/.pnpm/[email protected]/node_modules/lodash/omit.js
../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/prisma-extension-nested-operations/dist/esm/lib/utils/execution.js
../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/prisma-extension-nested-operations/dist/esm/lib/nestedOperations.js
../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/prisma-extension-nested-operations/dist/esm/index.js
../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/prisma-extension-soft-delete/dist/esm/lib/createSoftDeleteExtension.js
../../node_modules/.pnpm/[email protected]_@[email protected]/node_modules/prisma-extension-soft-delete/dist/esm/index.js
./lib/prisma.ts
./lib/auth.ts
Developer Notes
- related lodash Issues with some good information:
Thinkscape
Metadata
Metadata
Assignees
Labels
No labels