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

Could not load typescript compiler with NPM package name #201

Closed
PatrickAlphaC opened this issue Dec 17, 2020 · 0 comments · Fixed by #202
Closed

Could not load typescript compiler with NPM package name #201

PatrickAlphaC opened this issue Dec 17, 2020 · 0 comments · Fixed by #202

Comments

@PatrickAlphaC
Copy link

On zipping files for serverless consumption:

make zip adapter=coinpaprika

I get the following error:

Error: Could not load TypeScript compiler with NPM package name `/home/patrick/.npm/_npx/3340692/lib/node_modules/@vercel/ncc/dist/ncc/typescript.js`. Are you sure it is correctly installed?

I've tried changing devDependancies and running npm link typescript, such as suggested in this issue: vercel/ncc#622

I've attemped on:
OS: Ubuntu 20.04.1 LTS, & MacOS Big Sur 11.1
Node: 10.19.0, 12.18.4, 14.15.2 (and various npm versions associated)

Any thoughts?

@krebernisak krebernisak linked a pull request Dec 17, 2020 that will close this issue
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

Successfully merging a pull request may close this issue.

2 participants