-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
yarn start: 'tsc' is not recognized as an internal or external command #523
Comments
If you want to add this to hacktoberfest I can try and submit a PR for the fix. |
Go for it |
@hipstersmoothie which approach do you prefer?
|
It's already declared as a dependency: https://github.com/intuit/design-systems-cli/blob/master/package.json#L46 |
Why is |
Maybe a windows thing? Potentially a npm/node versioning issue? |
I would like to work on this issue, I can test the solution in both platforms |
I have tested this on Windows 10 Home / Pro, Mac and Linux (Ubuntu), everything is running fine for me, no errors following the indicated steps. |
Ok interesting. I'm using a fresh Windows after adding all new hardware. I'm going to start digging into this issue this week. |
What happens if you type |
@hipstersmoothie can confirm that installing TypeScript locally is what corrects this error. Can I PR in a README change to help new users make sure they have the pre-requisite software installed as global libraries on their machine before they use the design systems cli? |
I don't have I'm using |
Any hard-coded path implies an OS (windows has the opposite path separators). I would expect a lot of this to be handled by |
I get no node_modules after running |
That seems like the underlying problem. Are you on yarn-v1 or yarn-v2? |
version 1.22.5 |
That's exactly the reason because I'm using |
@jasonrundell I can see the following line in your terminal output: I feel that if you upgrade you will not have any problem again. |
Upgraded to node version
[4:48:11 PM] Starting compilation in watch mode...
[4:49:22 PM] Found 0 errors. Watching for file changes. Ok, so should the README declare the minimum version of node to be 10.18.1? |
Describe the bug
Project does not start due to
tsc
not being present.To Reproduce
yarn
yarn start
Expected behavior
Success output.
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: