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
const { createModel } = require('mongoose-gridfs')
error
TypeError: Cannot read property 'Decimal128' of null
at Object. (/Users/-check/node_modules/@lykmapipo/mongoose-common/node_modules/mongoose/lib/types/decimal128.js:13:44)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/-check/node_modules/@lykmapipo/mongoose-common/node_modules/mongoose/lib/utils.js:10:17)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/-check/node_modules/@lykmapipo/mongoose-common/lib/index.js:7:15)
at Module._compile (internal/modules/cjs/loader.js:999:30)
not ? not support require?????
The text was updated successfully, but these errors were encountered:
hello,this my project not surport es6 import function. so ,that so bad...
we must be lock version....
can u surport require function?
const { createModel } = require('mongoose-gridfs')
const { createModel } = require('mongoose-gridfs')
error
TypeError: Cannot read property 'Decimal128' of null
at Object. (/Users/-check/node_modules/@lykmapipo/mongoose-common/node_modules/mongoose/lib/types/decimal128.js:13:44)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/-check/node_modules/@lykmapipo/mongoose-common/node_modules/mongoose/lib/utils.js:10:17)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/Users/-check/node_modules/@lykmapipo/mongoose-common/lib/index.js:7:15)
at Module._compile (internal/modules/cjs/loader.js:999:30)
not ? not support require?????
The text was updated successfully, but these errors were encountered: