-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Build fails, Running "test:cov" task failed: SyntaxError: missing ) after argument list in node_modules\.bin\istanbul:2 #1331
Comments
Looks like Grunt is calling a bash-script for. In my checkout (on Linux) |
Could you remove the "node_modules"-directory and re-run "npm install"? |
Please add a comment if this problem is not solved for you. I'd like to cleanup a little and close requests that are probably answered. |
"remove the node_modules directory and re-run npm install" |
Fixes handlebars-lang#1331 Due to the way, "bin"-files are distributed into the node_modules/.bin directory on Windows, the task "test:cov" did not work on Windows. This commit uses the node-script directly.
Could you apply the change I have commited in 611d6d5 and then run "grunt" again? On Linux, all scripts in the "bin"-property of package.json are copied into the "node_modules"-directory. |
"apply the change in commit: 611d6d5 and then run grunt"
|
I think that the file The gitattributes-entry |
This might be the last one... "*.hbs" files are also used as fixtures in the test and must have LF line-endings |
I have only commited to the 4.x-branch now. Please try that one |
mhm, didn't think about the spaces often occur in Windows directory names |
I'll continue this in a separate branch. It doesn't make sense to merge to 4.x and master all the time without being sure that it works. |
There is now an appveyor-build (which runs on Windows machines) and successfully running all tests. I assume this issue can be closed. If you think that's not the case, please add a comment and I'll reopen. |
I'm on windows.
I followed instructions in
CONTRIBUTING.md
.I did both of the following, separately and both have failed.
First I did:
then I did
After both of the above this happened:
It's weird because there is no
test:cov
in theGruntfile.js
The text was updated successfully, but these errors were encountered: