Giter Site home page Giter Site logo

Comments (6)

trotzig avatar trotzig commented on June 7, 2024

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.

hexsprite avatar hexsprite commented on June 7, 2024

Atom 1.19.3 with atom-import-js 0.11.0

from atom-import-js.

trotzig avatar trotzig commented on June 7, 2024

Thanks. I'll give that combo a try.

from atom-import-js.

trotzig avatar trotzig commented on June 7, 2024

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.

hexsprite avatar hexsprite commented on June 7, 2024

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.

trotzig avatar trotzig commented on June 7, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.