Hello everyone,
I sometimes run into errors like this:
packages/core-runtime.js:189
throw error;
^
TypeError: Cannot read properties of undefined (reading 'public')
at module (packages/modules.js:15208:31)
at fileEvaluate (packages/modules-runtime.js:335:7)
at Module.require (packages/modules-runtime.js:237:14)
at Module.mod.require (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:30:33)
at Module.moduleLink [as link] (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:102:22)
at module (packages/modules.js:3054:829)
at fileEvaluate (packages/modules-runtime.js:335:7)
at Module.require (packages/modules-runtime.js:237:14)
at Module.mod.require (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:30:33)
at Module.moduleLink [as link] (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:102:22)
at module (packages/modules.js:13004:511)
at fileEvaluate (packages/modules-runtime.js:335:7)
at Module.require (packages/modules-runtime.js:237:14)
at Module.mod.require (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:30:33)
at Module.moduleLink [as link] (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:102:22)
at module (packages/modules.js:12875:1551)
at fileEvaluate (packages/modules-runtime.js:335:7)
at Module.require (packages/modules-runtime.js:237:14)
at Module.mod.require (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:30:33)
at Module.moduleLink [as link] (/Users/patrick/.meteor/packages/modules/.0.20.2.1oomq3o.ya6e++os+web.browser+web.browser.legacy+web.cordova/npm/node_modules/@meteorjs/reify/lib/runtime/index.js:102:22)
at module (packages/modules.js:13257:510)
at fileEvaluate (packages/modules-runtime.js:335:7)
Node.js v20.18.0
=> Exited with code: 1
I am aware that I am causing this error, but this is just an example.
The issue is: The debugging is incredibly hard, because I have zero information where to look - not even in which npm module, folder, file, anything …
Can this be improved somehow? Deadling with errors like this is sooo much wasted time.
Thanks, best, Patrick