You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
The ‘Critical dependency’ warning can be ignored. It occurs because Webpack is unable to analyze the Thick mode binary that node-oracledb optionally loads with require() so Webpack can’t see if there are any further dependencies. Since the demo isn’t using Thick mode, this warning is not an issue.
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.
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?
The text was updated successfully, but these errors were encountered: