Open
Description
npx papi add dot -n polkadot
from https://papi.how/getting-started
getting error for above
$ npx papi add dot -n polkadot
Replacing existing dot config
✔ Metadata saved as .papi\metadata\dot.scale
Saved new spec "dot"
Reading metadata
Generating descriptors
CLI Building entry: .papi/descriptors/src/index.ts
C:\Users\91824\Documents\Codes\swush-me\papi\node_modules\load-tsconfig\dist\index.cjs:174
if ((_a = data.compilerOptions) == null ? void 0 : _a.baseUrl) {
^
TypeError: Cannot read properties of undefined (reading 'compilerOptions')
at loadTsConfigInternal (C:\Users\91824\Documents\Codes\swush-me\papi\node_modules\load-tsconfig\dist\index.cjs:174:18)
at loadTsConfig (C:\Users\91824\Documents\Codes\swush-me\papi\node_modules\load-tsconfig\dist\index.cjs:209:35)
at normalizeOptions (C:\Users\91824\Documents\Codes\swush-me\papi\node_modules\tsup\dist\index.js:1452:48)
at async C:\Users\91824\Documents\Codes\swush-me\papi\node_modules\tsup\dist\index.js:1494:25
at async Promise.all (index 0)
at async Object.build (C:\Users\91824\Documents\Codes\swush-me\papi\node_modules\tsup\dist\index.js:1490:3)
at async compileCodegen (file:///C:/Users/91824/Documents/Codes/swush-me/papi/node_modules/@polkadot-api/cli/dist/chunk-C4LGGIRP.js:466:3)
at async generate (file:///C:/Users/91824/Documents/Codes/swush-me/papi/node_modules/@polkadot-api/cli/dist/chunk-C4LGGIRP.js:310:3)
Node.js v20.17.0
Metadata
Metadata
Assignees
Labels
No labels