-
Notifications
You must be signed in to change notification settings - Fork 120
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
Error: not found: node #236
Comments
My Suspicion: This is because of Please answer the following:
🌹 |
I have nodejs installed locally and accessible by path. The trick I did in the code above is from examples of how to use nodejs inside maven, like by this link: |
I suppose we could add a switch to allow "shelling out" to |
I use local node instances in my boilerplates as well. I fixed this by changing cmd: 'node' to cmd: process.execPath |
Ryan - thanks for submitting this. I will take a look this evening. |
Issues #236 - Fix for use of local node binaries.
Should be fixed in #240 which will be a part of the next grunt-ts release. |
Windows:
when I execute grunt-ts from Maven using frontend-maven-plugin, it compiles typescript ok, but if I run it directly from grunt, I receive the error specified in the subject:
Running "ts:default" (ts) task
Compiling...
Using tsc v1.4.1
Error: not found: node
The problem is in compile.js file. If I change executeNode to the following code, everything starts to work:
The text was updated successfully, but these errors were encountered: