bennetthardwick / darknet.js

A NodeJS wrapper of pjreddie's darknet / yolo.
65 stars 27 forks source link

"sh: 1: tsc: not found" at install #6

Closed legraphista closed 6 years ago

legraphista commented 6 years ago

According to the documentation here, npm prepare is run before publishing but also while installing the project, resulting in tsc: not found if typescript is not installed globally.

I suggest using prepublishOnly if possible to circumvent the issue. I could open a PR for it if you'd like.

bennetthardwick commented 6 years ago

Good catch! Thanks a lot