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

ts.isNamedTupleMember is not a function #4

Open
drashti4 opened this issue May 19, 2021 · 1 comment
Open

ts.isNamedTupleMember is not a function #4

drashti4 opened this issue May 19, 2021 · 1 comment

Comments

@drashti4
Copy link

I cloned repo and did npm install then npm run build but got following error.

TypeError: Could not load /home/drashti/Documents/vue-use-stripe/src/use-stripe.ts (imported by src/index.ts): ts.isNamedTupleMember is not a function

at DeclarationScope.convertTypeNode (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:770:16) at DeclarationScope.convertMembers (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:715:22) at DeclarationScope.convertTypeNode (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:758:25) at Transformer.convertTypeAliasDeclaration (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1163:15) at Transformer.convertStatement (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1079:25) at new Transformer (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:999:18) at transformFile (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1319:29) at Object.writeFile (/home/drashti/Documents/vue-use-stripe/node_modules/rollup-plugin-dts/dist/rollup-plugin-dts.js:1390:29) at Object.writeFile (/home/drashti/Documents/vue-use-stripe/node_modules/typescript/lib/typescript.js:16614:14) at printSourceFileOrBundle (/home/drashti/Documents/vue-use-stripe/node_modules/typescript/lib/typescript.js:94837:16)

@y-danny
Copy link

y-danny commented Aug 15, 2022

是否和node 版本有关

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants