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
My tsconfig.json contains an extends property, which targets a config that is a node_module dependency:
{
"extends": "@org/ts-config",
...
}
however this breaks tscpaths:
internal/modules/cjs/loader.js:638
throw err;
^
Error: Cannot find module '<redacted>/@org/ts-config'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
at Function.Module._load (internal/modules/cjs/loader.js:562:25)
at Module.require (internal/modules/cjs/loader.js:692:17)
at require (internal/modules/cjs/helpers.js:25:18)
at Object.exports.loadConfig (<redacted>/node_modules/tscpaths/cjs/util.js:16:12)
at Object.exports.loadConfig (<redacted>/node_modules/tscpaths/cjs/util.js:28:38)
at Object.<anonymous> (<redacted>/node_modules/tscpaths/cjs/index.js:37:43)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
it seems loadConfig() in utils is not able to correctly resolve non-relative/non-absolute extends clauses.
The text was updated successfully, but these errors were encountered:
My
tsconfig.json
contains anextends
property, which targets a config that is a node_module dependency:however this breaks tscpaths:
it seems
loadConfig()
inutils
is not able to correctly resolve non-relative/non-absoluteextends
clauses.The text was updated successfully, but these errors were encountered: