Missing denpendency glob
Closed this issue · 0 comments
sitingren commented
Receive following error when install v1.1.1 and run a javascript first time
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'glob'
Require stack:
- /home/xx/node_modules/vertica-nodejs/lib/query.js
- /home/xx/node_modules/vertica-nodejs/lib/client.js
- /home/xx/node_modules/vertica-nodejs/lib/index.js
- /home/xx/node.js
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.<anonymous> (/home/sren/node_modules/vertica-nodejs/lib/query.js:24:14)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1155:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/home/xx/node_modules/vertica-nodejs/lib/query.js',
'/home/xx/node_modules/vertica-nodejs/lib/client.js',
'/home/xx/node_modules/vertica-nodejs/lib/index.js',
'/home/xx/node.js'
]
}
The workaround until the next release is to run npm install --save glob
.