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
In your package.json, you keep referencing dist/index.cjs. However, it doesn't exist, so I keep getting MODULE_NOT_FOUND:
Error: Cannot find module '/opt/app/node_modules/ethers-decode-error/dist/index.cjs'
at createEsmNotFoundErr (node:internal/modules/cjs/loader:1181:15)
at finalizeEsmResolution (node:internal/modules/cjs/loader:1169:15)
at resolveExports (node:internal/modules/cjs/loader:591:14)
at Function.Module._findPath (node:internal/modules/cjs/loader:668:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1130:27)
at Function.Module._resolveFilename.sharedData.moduleResolveFilenameHook.installedValue [as _resolveFilename] (/opt/app/node_modules/@cspotcode/source-map-support/source-map-support.js:811:30)
at Function.Module._load (node:internal/modules/cjs/loader:985:27)
at Module.require (node:internal/modules/cjs/loader:1235:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/opt/app/src/index.ts:14:1) {
code: 'MODULE_NOT_FOUND',
path: '/opt/app/node_modules/ethers-decode-error/package.json'
}
I don't fully understand what's going on. This is the only code I've written with the package:
@snnbotchway Thanks for highlighting this issue! I think I may have overlooked the commonjs import and missed the typo in the extension name. I have just released a new fix for this. I have tested it and I have no problem importing it now. Can you update your package to 2.1.3 and see if your error goes away?🙇♂️
In your package.json, you keep referencing
dist/index.cjs
. However, it doesn't exist, so I keep getting MODULE_NOT_FOUND:I don't fully understand what's going on. This is the only code I've written with the package:
The text was updated successfully, but these errors were encountered: