bennetthardwick / darknet.js

A NodeJS wrapper of pjreddie's darknet / yolo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

legraphista opened this issue · comments

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.

Good catch! Thanks a lot