Skip to content
This repository has been archived by the owner on Aug 26, 2024. It is now read-only.

Getting an error: sh: 1: ts-node: not found #106

Closed
Tyrannax opened this issue Mar 8, 2024 · 9 comments
Closed

Getting an error: sh: 1: ts-node: not found #106

Tyrannax opened this issue Mar 8, 2024 · 9 comments
Labels

Comments

@Tyrannax
Copy link

Tyrannax commented Mar 8, 2024

When doing the "npm run start" part of the tutorial, it tries starting and then gives me this error:

sh: 1: ts-node: not found

Not sure what that means. Any help would be greatly appreciated!

@tracer-tick
Copy link

Disclosure: I am not associated with this project. I was simply trying to run it as well and got the same error.

I was able to fix though by running the following commands:

npm install tslib

In my case, I also had to install tslib:

npm install tslib

Once those two were installed, I could run the program by typing:

npm run start

Hope that helps!

@phamleduy04
Copy link
Owner

@tracer-tick , ts-lib will be installed when you use npm install command.

https://github.com/phamleduy04/texas-dps-scheduler/blob/main/package.json#L43C1-L43C23

@tracer-tick
Copy link

Awesome - thank you

@thisiskabdul
Copy link

If using terminal under VSCode, just do npm update to install all the dependency packages for this project.

Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Apr 22, 2024
@ziserm
Copy link

ziserm commented Apr 24, 2024

I also got the error but followed the steps on this forum and it resolved! thanks all

@github-actions github-actions bot removed the Stale label Apr 25, 2024
@phamleduy04 phamleduy04 pinned this issue Apr 30, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label May 25, 2024
Copy link

This issue was closed because it has been stalled for 5 days with no activity.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale May 30, 2024
@DSTEinbach95
Copy link

Was getting the error, then typed npm install tslib - after that, works fine.

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

No branches or pull requests

6 participants