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
Whenever I try to run the command "jsdoc -c jsdoc.json" in my terminal I receive the following error:
...node_nodules\better-docs\typescript\type-converter.js:45
let name = node.name?.escapedText
^
SyntaxError: Unexpected token '.'
at new Script (vm.js:88:7)
at createScript (vm.js:261:10)
at Object.runInThisContext (vm.js:309:10)
at wrapSafe (internal/modules/cjs/loader.js:902:15)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Object.load (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\loader.js:105:18)
at Requizzle.requizzle (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\requizzle.js:87:31)
at infectProxy (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\loader.js:79:31)
at Module.targetModule.require (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\loader.js:97:44)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\better-docs\typescript.js:4:23)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
On Jul 14, 2022, at 2:16 AM, Howard ***@***.***> wrote:
update node version to 16 can solve this problem!
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.
Whenever I try to run the command "jsdoc -c jsdoc.json" in my terminal I receive the following error:
...node_nodules\better-docs\typescript\type-converter.js:45
let name = node.name?.escapedText
^
SyntaxError: Unexpected token '.'
at new Script (vm.js:88:7)
at createScript (vm.js:261:10)
at Object.runInThisContext (vm.js:309:10)
at wrapSafe (internal/modules/cjs/loader.js:902:15)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Object.load (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\loader.js:105:18)
at Requizzle.requizzle (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\requizzle.js:87:31)
at infectProxy (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\loader.js:79:31)
at Module.targetModule.require (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\requizzle\lib\loader.js:97:44)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (C:\Users\JimArmbruster\source\repos\cyborg-cloud-web\node_modules\better-docs\typescript.js:4:23)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
My jsdoc.json file looks like this:
{ "opts": { "template": "./node_modules/better-docs" }, "tags": { "allowUnknownTags": true }, "plugins": [ "./node_modules/better-docs/typescript", "./node_modules/better-docs/component", "./node_modules/better-docs/typedef-import", "plugins/markdown" ], "source": { "includePattern": "\\.(jsx|js|ts|tsx)$", "include": ["./src"], "exclude": ["./docs", "./node_modules"], "excludePattern": "(node_modules/|docs)" } }
I'm using:
jsdoc: ^3.6.7,
better-docs: ^2.7.2,
react: ^17.0.2,
typescript: ^4.6.3
I'm also using v12.20.0 of node.
The text was updated successfully, but these errors were encountered: