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
Using node 16.14.2 and npm 8.10.0, installing via npm install @enterthenamehere/esdoc @enterthenamehere/esdoc-standard-plugin, I get the following error:
/tmp/a/node_modules/@enterthenamehere/esdoc/out/ESDoc.js:118
this.PluginManager.setGlobalConfig(this._getGlobalConfig(config));
^
TypeError: Cannot read properties of null (reading 'setGlobalConfig')
at Function.generate (/tmp/a/node_modules/@enterthenamehere/esdoc/out/ESDoc.js:118:24)
at ESDocCLI.exec (/tmp/a/node_modules/@enterthenamehere/esdoc/out/ESDocCLI.js:74:22)
at Object.<anonymous> (/tmp/a/node_modules/@enterthenamehere/esdoc/out/ESDocCLI.js:230:7)
at Module._compile (node:internal/modules/cjs/loader:1103:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1157:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47
is setting isGlobalInstance to true, which then fails to require the other modules properly. If I manually hack that file to set isGlobalInstance to false, it works.
For what it is worth, I tried it with an older node/npm and got the same issue.
The text was updated successfully, but these errors were encountered:
Using node 16.14.2 and npm 8.10.0, installing via
npm install @enterthenamehere/esdoc @enterthenamehere/esdoc-standard-plugin
, I get the following error:It looks like the global / local detection in
esdoc-monorepo/packages/esdoc/src/ESDoc.js
Line 234 in f6a3f1e
isGlobalInstance
to true, which then fails to require the other modules properly. If I manually hack that file to setisGlobalInstance
to false, it works.For what it is worth, I tried it with an older node/npm and got the same issue.
The text was updated successfully, but these errors were encountered: