-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
Description
Versions
oracledb: 6.7.0
node: 21.4.0
platform: win32
arch: x64
Description
I'm encountering issues launching my Next.js (15.0.3) project. It crashes upon startup.
I tried to change the require from an absolute path to ./thin/sqlnet/paramParser.js and it works.
I am using oracledb in thin mode.
I was wondering if i was doing something wrong or what the solution might be.
If the information is not enough, I remain at your disposal.
Stacktrace
⨯ ./node_modules/oracledb/lib/oracledb.js:668:47
Module not found: Can't resolve 'thin/sqlnet/paramParser.js'
666 | //-----------------------------------------------------------------------------
667 | async function getNetworkServiceNames(configDir) {
> 668 | const { NLParamParser, tnsnamesFilePath } = require('thin/sqlnet/paramParser.js');
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
669 | const nlParamParser = new NLParamParser;
670 | const filePath = tnsnamesFilePath(configDir);
671 | const aliasht = await nlParamParser.initializeNlpa(filePath);
darseen