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
Hello,
For some reason i am starting getting this error, this module used to work fine but now i am not able to work with it... Is there a fix?
let observ = require('./object-observer/dist/node/object-observer');
Warning: require() of ES modules is not supported.
require() of C:\Users\user\Desktop\avrorajs\bin\object-observer\dist\node\object-observer.js from C:\Users\user\Desktop\project\bin\bundle.js is an ES module file as it is a .js file whose nearest parent package.json contains "type": "module" which defines all .js files in that package scope as ES modules.
Instead rename object-observer.js to end in .cjs, change the requiring code to use import(), or remove "type": "module" from C:\Users\user\Desktop\project\bin\object-observer\package.json.
The text was updated successfully, but these errors were encountered:
Hello,
For some reason i am starting getting this error, this module used to work fine but now i am not able to work with it... Is there a fix?
The text was updated successfully, but these errors were encountered: