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.

Unable to find config

See original GitHub issue

I followed the example of installing prettier-eslint-cli as a dev dependency, adding a format script in package.json, and I have a .eslintrc.json file in the root directory of my project, but when I run npm run format I get this:

> prettier-eslint "src/**/*.js"

prettier-eslint [ERROR]: Unable to find config
prettier-eslint [ERROR]: Unable to find config
failure formatting 2 files with prettier-eslint

I must be missing a step.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:28 (18 by maintainers)

github_iconTop GitHub Comments

2reactions
mvolkmanncommented, Feb 28, 2017

Thanks Kent, works great now!

0reactions
bertho-zerocommented, Sep 25, 2018

I have the same problem with yarn and enabled workspaces.

The problem is solved by adding **/prettier-eslint-cli and **/prettier-eslint-cli/**in the workspaces.nohoist field.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Unable to find config file..." when trying to run a simple java ...
Running Tomcat 8.5.34 and Axis 1.4 on Windows 10. I have added Environment variables: JAVA_HOME = C:\Program Files (x86)\Java\jdk1.
Read more >
Extension is unable to find config file · Issue #535 - GitHub
I tried connecting to a remote server using settings in my config file. However for some reason vsode throws up error saying it...
Read more >
How to fix Hugo's 'unable to locate Config file' error? - Kodify.net
# Cause 3) Incorrect named or misplaced configuration file ... Two other reasons for the 'unable to locate Config file' error are when...
Read more >
unable to find config file : r/homeassistant - Reddit
I am now getting the following error when I go to the HASSIO tab in home assistant "Unable to load the panel source:...
Read more >
Unable to locate config file or config directory - support - HUGO
I've encountered a problem this month where I get the following error - Unable to locate config file or config directory.
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