Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Postinstall script fails to compile TypeScript sources #1

Open
hcrudolph opened this issue Oct 20, 2016 · 0 comments
Open

Postinstall script fails to compile TypeScript sources #1

hcrudolph opened this issue Oct 20, 2016 · 0 comments
Labels

Comments

@hcrudolph
Copy link

Currently the TypeScript compiler gets called by npm-postinstall.js after npm install in order to automatically create the JS files at startup. This is done via Nodes child_process.exec() utility. On Linux all commands passed to this function are executed within the sh shell. So this call (obviously) fails:

/bin/sh -c ./node_modules/.bin/tsc

No information about behavior on Windows, yet.

@hcrudolph hcrudolph added the bug label Oct 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant