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
When running code as is, the following error occurs:
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> (C:\Users\Gila.Hofmann\Documents\Dev\holistic\TestVSCode\node_modules\mockaroo\client.js:33:19)
at Module._compile (node:internal/modules/cjs/loader:1105:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159: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: [
'...\\node_modules\\mockaroo\\client.js',
'...\\node_modules\\mockaroo\\index.js',
'...\\test.js'
Deleting the import in line 33 from client.js var import_shim = require("core-js/shim"); solves the error.
The text was updated successfully, but these errors were encountered:
When running code as is, the following error occurs:
Deleting the import in line 33 from client.js
var import_shim = require("core-js/shim");
solves the error.The text was updated successfully, but these errors were encountered: