-
Notifications
You must be signed in to change notification settings - Fork 4
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
Uncaught Error: Lupa: couldn't find config file for .../source/client/redu... #14
Comments
I suppose you pressed the big red button? The Hitchhiker's Guide to the Lupa defines Big Red Button as "Index Project" button. I also says that in order to index all files in the project you're gonna need to create lupaProject.json file in root directory of your project, e.g. {
"filePattern": "src/**/*.js",
"autolabels": []
} https://atom.io/packages/atom-lupa Although there is some corner case which I haven't handled yet. Before indexing you have to open some file you have in project (e.g. This basically means that you're for example in a Atom settings tab and you activate lupa, there will be error: And this is a corner case I really need to fix. But I assume from your message error, that you just haven't created Maybe I'm gonna do some sort of automatic creation of TL;DR
|
Thanks, this works. I am still exploring Lupa, great work so far. A few suggestions, perhaps I'll find time to help with one up if you think they are worthwhile.
|
@anri-asaturov fixed this corner case which caused bug when user was in settings #15
It now creates automatically Later I'm gonna add detection of other "root indicators" like package.json, .eslintrc or node_modules directory. Although some projects can have subpackages, where there is a main root with package.json etc. and there are some subpackages with separate package.json files etc. |
[Enter steps to reproduce below:]
Atom Version: 1.7.3
System: Mac OS X 10.11.4
Thrown From: atom-lupa package, v0.5.14
Stack Trace
Uncaught Error: Lupa: couldn't find config file for /Users/eddyrecio/code/rw30/source/client/reducers
Commands
Config
Installed Packages
The text was updated successfully, but these errors were encountered: