Comments (6)
Ouch.
Can you check what version you are on? We made some changes to the underlying import-js lib around how ambiguous imports are handled in 2.7.0, it was released in v0.11.0 of the atom plugin.
from atom-import-js.
Atom 1.19.3 with atom-import-js 0.11.0
from atom-import-js.
Thanks. I'll give that combo a try.
from atom-import-js.
The same setup doesn't lead to any issues for me (I did however run into issues installing the atom-import-js plugin though, had to rebuild the package to make it work).
I wonder if there's something corrupt in your cache... Import-js will start a background process indexing all your modules and their exports. There is a way to clean this cache, I think it might be worth doing that. Either run npm install -g import-js && rm $(importjs cachepath)
from the root of your project (same folder as where the package.json file is in). Or go to the tmp folder of your os and look for an importjs*.db
file and just remove it. You'll have to restart atom after doing that.
I'm mainly using the vim plugin for import-js, apologies for not being completely up-to-date.
from atom-import-js.
I tried clearing the cache. That didn't work. But I did disable some packages and that seemed to make the difference. I wasn't nearly as systematic as I could have been so I'm not sure exactly which one caused the problem but it seems solved for now. If I don't have any more problems I'll close this in a couple days. If I can figure out which are some likely incompatible packages I'll let you know as well.
from atom-import-js.
I understand. Often times, these things are hard to isolate. I'm glad you have a working setup though. And let us know if it starts happening again!
from atom-import-js.
Related Issues (20)
- hyperclick support HOT 2
- Issue when trying to install atom-import-js HOT 2
- Always adds require() instead of import statements, regardless of config HOT 3
- plugin doesn't see my .importjs.js file HOT 3
- "Goto word" always opens new window when running Atom in dev mode HOT 1
- Atom Helper process takes up 100% CPU HOT 18
- How to clear the cache of files? HOT 4
- Remove direct dependency on import-js
- Can't install atom-import-js (Python 3) HOT 1
- Fails to load because of incompatible native module: sqlite3 HOT 2
- Error: The 'decorators' plugin requires a 'decoratorsBeforeExport' option HOT 9
- Failed to activate the atom-import-js package HOT 7
- Panel broken in atom-material-ui theme
- Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.
- Failed install
- Uncaught Error: No project root found, looking for a directory with a package.json file.
- Run command `Fix imports` on save HOT 2
- Imported custom types are removed erroneously HOT 1
- Option for adding import line without auto-sorting imports HOT 2
- Constant used only as array index is removed/not imported
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from atom-import-js.