Skip to content

Can not install packages and run project #50

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

Closed
salirmo opened this issue Oct 1, 2022 · 7 comments
Closed

Can not install packages and run project #50

salirmo opened this issue Oct 1, 2022 · 7 comments

Comments

@salirmo
Copy link

salirmo commented Oct 1, 2022

I have cloned the project and tried to install packages. But I got the following error:

error F:\code\beginners-typescript-tutorial\node_modules\esbuild: Command failed.
Exit code: 1
Command: node install.js
Arguments:
Directory: F:\code\beginners-typescript-tutorial\node_modules\esbuild
Output:
node:internal/errors:841
const err = new Error(message);

@darklight9811
Copy link

@reza-salemi what node version you are using?

@mattpocock
Copy link
Collaborator

I find it strange that node_modules/esbuild would be erroring, since that isn't a dependency of this project.

@darklight9811
Copy link

@mattpocock isn't it an indirect dependency of a package you use?

@salirmo
Copy link
Author

salirmo commented Oct 1, 2022

@darklight9811
I have node version 18.8.0
Also, 16.15.0

@mattpocock
Copy link
Collaborator

@darklight9811 You're correct actually, it is part of vitest.

@reza-salemi Could you try installing again with latest, which now uses npm.

@mattpocock
Copy link
Collaborator

I'm also going to close this issue - the primary purpose of this repo is to facilitate https://www.totaltypescript.com/tutorials/beginners-typescript, so I don't necessarily want to have open issues about installation problems.

@darklight9811
Copy link

@reza-salemi try to open or create a repo that uses vitest, if the issue persists, create an issue on their repo or esbuild's

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

3 participants