Giter Club home page Giter Club logo

Comments (23)

abe33 avatar abe33 commented on July 20, 2024

Not sure about that, looks like some dependencies couldn't be installed, can you check if the color modules have been installed in the node_modules directory of pigments package? (you can find it in your home .atom/packages directory)

from atom-pigments.

LuckyLuky avatar LuckyLuky commented on July 20, 2024

I have the same issue, I checked the .atom/packages directory and the color module has following modules installed:

  • color-convert
  • color-string

I'm not sure if these are all that are required.

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

Same issue since today with several packages - atom got an update :(
and idea how to fix this?

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

@LuckyLuky, @daftpanda Have you tried running apm rebuild or apm rebuild-module-cache?

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

@abe33 tried both, didn't fix the problem :(

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

You are on 1.0.15 right?

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

right :)
image

/edit - got several errors since the update to 1.0.15 today...not just for pigments...atom-linter, emmet...

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

I'm on 1.0.15 and didn't get that error, have you tried removing the node_modules directory in the package and run apm install manually in it?

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

did it, but didn't work as well:

image

uninstalled the whole package and reinstalled it again - same problem...

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

That's crazy...
Is it the same module that can't be found each time or does it changes with consecutives installations? Also, is there some kind of error log during the install?

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

It's the same module that can't be found so far and nope, no error log while installing - just after it got installed again, the same error as above shows up...

/edit should I consider to uninstall atom completely and reinstall it?

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

I'm a bit at loss here, it's like some random package isn't installed properly, repeatedly, without any other kind of information. For instance minimatch is used by at least scandal which is installed with Atom so I guess there's something deeper there.
Can you try to npm install minimatch in pigments directory to see if it's a pb with the package/your config or with apm? It should be ok as there's no native extensions in it.

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

apm install minimatch in the pigments directory dropped the following:

image

should I consider to uninstall atom and reinstall it?

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

@daftpanda Use npm instead of apm in this case specifically (minimatch is a node module and apm only install atom packages).

It looks like this issue occurs for many packages randomly (someone reported the same error in the minimap for another dependency, so it may be a much more broader issue with latest Atom release).

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

@abe33 thanks, but I already removed atom completely, reinstalled it and installed pigments again, but:

image

now it's another module xD
But yeah, I created a support topic about the whole problem:

https://discuss.atom.io/t/atom-throwing-several-failed-to-load-the-xyz-package-errors/20969

from atom-pigments.

abe33 avatar abe33 commented on July 20, 2024

Thanks for your time :)

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

Well, I have to thank you for your time and efforts ;) Good job overall!

from atom-pigments.

LuckyLuky avatar LuckyLuky commented on July 20, 2024

@abe33 You're right about the issue being broader, I have currently installed 4 community packages, save-session, minimap, php-debug and pigments, and only save-session works, other packages always fail to load. I also have the latest version of Atom

from atom-pigments.

nathansobo avatar nathansobo commented on July 20, 2024

Could this be an issue with npm?

from atom-pigments.

nathansobo avatar nathansobo commented on July 20, 2024

@daftpanda Would you mind telling me which operating system you're using?

from atom-pigments.

daftpanda avatar daftpanda commented on July 20, 2024

@nathansobo I'm running Windows 7 Ultimate 64bit

from atom-pigments.

malonehedges avatar malonehedges commented on July 20, 2024

Happening with me as well. Occurred after I encountered #117

from atom-pigments.

Cxarli avatar Cxarli commented on July 20, 2024

If I recall correctly, this problem was fixed in a commit not too long ago, so this can be closed.

from atom-pigments.

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.