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

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

Closed
legraphista opened this issue Jun 25, 2018 · 1 comment
Closed

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

legraphista opened this issue Jun 25, 2018 · 1 comment

Comments

@legraphista
Copy link
Contributor

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
Copy link
Owner

Good catch! Thanks a lot

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

No branches or pull requests

2 participants