Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'length' of undefined #491

Open
rantianhua opened this issue May 16, 2022 · 0 comments
Open

Cannot read property 'length' of undefined #491

rantianhua opened this issue May 16, 2022 · 0 comments
Labels
question Further information is requested

Comments

@rantianhua
Copy link

❯ npm install -g dukat
/usr/local/bin/dukat -> /usr/local/lib/node_modules/dukat/bin/dukat-cli.js
+ [email protected]
added 3 packages from 3 contributors in 13.756s
❯ dukat bignumber.d.ts
unresolved exception
TypeError: Cannot read property 'length' of undefined
    at StringScriptSnapshot.getLength (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:107932:34)
    at Object.getSnapshotText (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:109796:37)
    at Object.createLanguageServiceSourceFile (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:139016:59)
    at acquireOrUpdateDocument (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:115387:37)
    at Object.acquireDocumentWithKey (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:115360:20)
    at getOrCreateSourceFileByPath (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:139332:41)
    at Object.getOrCreateSourceFile [as getSourceFile] (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:139284:24)
    at findSourceFile (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:101513:29)
    at /usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:101390:85
    at getSourceFileFromReferenceWorker (/usr/local/lib/node_modules/dukat/node_modules/typescript/lib/typescript.js:101357:34)
@rantianhua rantianhua added the question Further information is requested label May 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant