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
"A bug has been pushed to testnet, that's why testnet deploy is failing. All our graphql related pods are failing.
This is the error -"
Error: Cannot find module '@domain//errors'
Require stack:
- /app/lib/services/mongoose/invoices.js
- /app/lib/core/lightning/index.js
- /app/lib/core/lightning/wallet.js
- /app/lib/core/wallet-factory.js
- /app/lib/servers/exporter.js
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:889:15)
at Function.Module._load (internal/modules/cjs/loader.js:745:27)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (/app/lib/services/mongoose/invoices.js:4:18)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12)
at Module.require (internal/modules/cjs/loader.js:961:19)
at require (internal/modules/cjs/helpers.js:92:18)
at Object.<anonymous> (/app/lib/core/lightning/index.js:13:20)
at Module._compile (internal/modules/cjs/loader.js:1072:14)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1101:10)
at Module.load (internal/modules/cjs/loader.js:937:32)
at Function.Module._load (internal/modules/cjs/loader.js:778:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/app/lib/services/mongoose/invoices.js',
'/app/lib/core/lightning/index.js',
'/app/lib/core/lightning/wallet.js',
'/app/lib/core/wallet-factory.js',
'/app/lib/servers/exporter.js'
]
}
The text was updated successfully, but these errors were encountered:
For this issue specifically, I found this related issue that says that the "import/no-useless-path-segments" rule can fix this. When I tried it though:
it worked for absolute imports (e.g. ".//schema" got linted)
it didn't work for mapped imports though because the double // seems to resolve correctly in the checks but doesn't compile correctly when we build?
An example of this error is captured in PR #437
Description from Slack
"A bug has been pushed to testnet, that's why testnet deploy is failing. All our graphql related pods are failing.
This is the error -"
The text was updated successfully, but these errors were encountered: