question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm test failure on check-pretty script

See original GitHub issue

When running npm test with a new install of the repo, I’m getting:

npm ERR! gatsby-starter-gcn@1.1.0 check-pretty: prettier -l {,src/**/}*.{js,jsx,json,css,scss} npm ERR! Exit status 2 npm ERR! npm ERR! Failed at the gatsby-starter-gcn@1.1.0 check-pretty script.

I’m looking into whether this might be an environmental issue (running node on Windows 10).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:18 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
ryanwiemercommented, May 16, 2018

Okay. Thanks everyone. Sorry this thread went on so long. It is now updated in v1.1.2

If there are any other issues please let me know.

1reaction
ryanwiemercommented, May 16, 2018

Gotcha. I think I will just ignore it to be safe. It’s not a big deal.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm posttest doesn't trigger if npm test fails - Stack Overflow
Worked it out. Not sure if the following will work in Windows. The bash || operator followed by an empty comment : changes...
Read more >
pretty-quick - npm
Check that files are correctly formatted, but don't format them. This is useful on CI to verify that all changed files in the...
Read more >
npm-test - npm Docs
If true, npm does not run scripts specified in package.json files. Note that commands explicitly intended to run a particular script, such as...
Read more >
npm-install-ci-test
If true, npm does not run scripts specified in package.json files. Note that commands explicitly intended to run a particular script, such as...
Read more >
start-server-and-test - npm
Then when it finishes it runs npm run test:e2e . If the first or second command fails, the ci script fails. Of course,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found