-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
-
What versions are you using?
database version: 19.0.0
platform: win32
node version: v21.4.0
arch: x64
library version: 6.5.1 -
Describe the problem
When I do a build of a nextjs application with oracledb in Thin mode I get build warnings.
./node_modules/oracledb/lib/oracledb.js
Dependency critical: the require function is used in such a way that dependencies cannot be extracted statically.
Track the import of the require module:
./node_modules/oracledb/lib/oracledb.js
./node_modules/oracledb/index.js
./src/actions/others.ts
./src/components/view/topbar/top-bar.tsx
./src/app/page.tsx
The file that is shown performs this simple import (I don't think import is the problem):
import { BIND_OUT, CLOB, STRING} from "oracledb";
Is there any way to resolve this warning?