Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upProcess ends after one warning #393
Comments
This comment has been minimized.
This comment has been minimized.
|
Can you paste the command being run as |
yoshuawuyts
added
the
need more info
label
Jan 27, 2016
This comment has been minimized.
This comment has been minimized.
|
The "scripts": {
"lint": "standard"
},
"standard": {
"parser": "babel-eslint",
"ignore": [
"/wwwroot/"
]
}I’m not sure what the The
|
This comment has been minimized.
This comment has been minimized.
|
The "ugly error message" always gets printed by npm whenever an |
This comment has been minimized.
This comment has been minimized.
|
Some errors are considered fatal because they break the parser. In that case, you'll often see only one error message printed, because the parser can't go further. It's weird though, because your error doesn't seem like it should be fatal. Could be because babel doesn't like it. What version of node and standard are you using? |
This comment has been minimized.
This comment has been minimized.
|
this is npm@1.4, which if i recall correctly also does "ugly error messages" for "npm test". its been a while since i used 1.4 though, cant recall exactly. (not that its relevant to OP's issue, just thought i'd chime in) |
This comment has been minimized.
This comment has been minimized.
|
@rstacruz Good point. @dylanparry You should really update the version of node you're using. node 0.10 will be completely unsupported (including security fixes) in ~6 months. You can download the latest version here: https://nodejs.org/en/ |
feross
closed this
Feb 4, 2016
This comment has been minimized.
This comment has been minimized.
|
Thanks, @feross and @rstacruz. I’m using VS2015, and it appears to ship with a really old version of node. I’ve told it to use the version I have installed globally, which is the latest version. I’ve also renamed my script to I’m now getting all the warnings reported before the process exits, which is excellent as I don’t have to run it a billion times to get rid of all the bugs :) I was still getting the ugly messages though, but I’ve "fixed" that by changing my test script to run All appears to work nicely now. If only I could figure out how to get the console in VS2015 to display Snazzy’s colours—works fine in the node console! That’s for another day. |
This comment has been minimized.
This comment has been minimized.
|
@dylanparry Glad you got it figured out! |
dylanparry commentedJan 27, 2016
Hi,
I’ve got a problem where Standard is only displaying a single warning then exiting with an ugly error message. I know there are multiple issues in my files, but only the first warning is reported before the process exits. Here’s what I’m getting:
I was originally running it with Snazzy, and although I don’t get the ugly error messages, I was only receiving one warning from Standard in each pass.
Any ideas what’s going wrong?
Thanks,
Dylan