abe33 / atom-pigments

An Atom package to display colors in project and files.
MIT License
521 stars 68 forks source link

BUG-Failed to activate the pigments package #318

Closed 56jun closed 7 years ago

56jun commented 7 years ago

[Enter steps to reproduce:]

  1. ...
  2. ...

Atom: 1.18.0 x64 Electron: 1.3.15 OS: Unknown Windows version Thrown From: pigments package 0.39.1

Stack Trace

Failed to activate the pigments package

At this.variableExpressionsRegistry.onDidUpdateExpressions is not a function

TypeError: this.variableExpressionsRegistry.onDidUpdateExpressions is not a function
    at /packages/pigments/lib/color-project.coffee:106:53)
    at Object.activate (/packages/pigments/lib/pigments.coffee:21:11)
    at Package.module.exports.Package.activateNow (~/AppData/Local/atom/app-1.18.0/resources/app/src/package.js:253:25)
    at ~/AppData/Local/atom/app-1.18.0/resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (~/AppData/Local/atom/app-1.18.0/resources/app/src/package.js:99:21)
    at ~/AppData/Local/atom/app-1.18.0/resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (~/AppData/Local/atom/app-1.18.0/resources/app/src/package.js:215:40)
    at PackageManager.module.exports.PackageManager.activatePackage (~/AppData/Local/atom/app-1.18.0/resources/app/src/package-manager.js:645:40)
    at ~/AppData/Local/atom/app-1.18.0/resources/app/src/package-manager.js:626:35
    at Config.module.exports.Config.transactAsync (~/AppData/Local/atom/app-1.18.0/resources/app/src/config.js:346:24)
    at PackageManager.module.exports.PackageManager.activatePackages (~/AppData/Local/atom/app-1.18.0/resources/app/src/package-manager.js:621:25)
    at PackageManager.module.exports.PackageManager.activate (~/AppData/Local/atom/app-1.18.0/resources/app/src/package-manager.js:603:52)
    at ~/AppData/Local/atom/app-1.18.0/resources/app/src/atom-environment.js:846:34

Commands

  2x -3:29 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-atom-dark-ui)

Non-Core Packages

atom-ternjs 0.18.3 
autoclose-html 0.23.0 
autocomplete-paths 1.0.5 
autoprefixer 3.7.1 
busy-signal 1.4.3 
color-picker 2.2.5 
emmet 2.4.3 
file-icons 2.1.8 
highlight-selected 0.13.1 
intentions 1.1.2 
linter 2.2.0 
linter-ui-default 1.6.2 
minimap 4.28.3 
pigments 0.39.1 
tree-view-finder 0.2.1 
56jun commented 7 years ago

.

balazsorban44 commented 7 years ago

Same problem here, only on 1.19.0-beta3

rbardini commented 7 years ago

Same here. Just installed 1.19.0-beta4 on top of an older version, but it didn't fix the issue.

jt3k commented 7 years ago

same

mikefuhan commented 7 years ago

same

shelmus commented 7 years ago

Happened on Ubuntu 16.04 with 1.19.0-beta3 x64

Error: Cannot find 'highlights-component' in the require cache.
    at requireCore (~/.atom/packages/pigments/lib/pigments.coffee:310:19)
    at Object.patchAtom (~/.atom/packages/pigments/lib/pigments.coffee:312:26)
    at Object.activate (~/.atom/packages/pigments/lib/pigments.coffee:16:6)
    at Package.module.exports.Package.activateNow (/usr/share/atom-beta/resources/app/src/package.js:253:25)
    at /usr/share/atom-beta/resources/app/src/package.js:225:38
    at Package.module.exports.Package.measure (/usr/share/atom-beta/resources/app/src/package.js:99:21)
    at /usr/share/atom-beta/resources/app/src/package.js:218:32
    at Package.module.exports.Package.activate (/usr/share/atom-beta/resources/app/src/package.js:215:40)
    at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom-beta/resources/app/src/package-manager.js:645:40)
    at /usr/share/atom-beta/resources/app/node_modules/settings-view/lib/package-manager.js:535:35
    at exit (/usr/share/atom-beta/resources/app/node_modules/settings-view/lib/package-manager.js:128:22)
    at triggerExitCallback (/usr/share/atom-beta/resources/app/src/buffered-process.js:338:17)
    at /usr/share/atom-beta/resources/app/src/buffered-process.js:359:17
    at Socket.<anonymous> (/usr/share/atom-beta/resources/app/src/buffered-process.js:220:15)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:501:12)
vagonzalez commented 7 years ago

Same

scottosmith commented 7 years ago

Same

jermashley commented 7 years ago

@abe33 Any idea when we might get a fix?

Stanzilla commented 7 years ago

Same

cbcoutinho commented 7 years ago

same

rubenjimenez commented 7 years ago

same

hkdeven commented 7 years ago

same

felipe4253 commented 7 years ago

same

rthomas98 commented 7 years ago

same

rpmonteiro commented 7 years ago

same

27rogi commented 7 years ago

Maybe somebody will fix it? No? Okay 😞

m4r1vs commented 7 years ago

same here: 1.19.0-beta4 Windows 10

mitsuzero commented 7 years ago

same version Manjaro Linux y 1.19.0-beta4 .

lednhatkhanh commented 7 years ago

Same here, Fedora 26 64bit

lednhatkhanh commented 7 years ago

Sooo, this issue has been reported for quite a long time but still no response, is this package abandoned?

Cxarli commented 7 years ago

This is the same issue as https://github.com/abe33/atom-pigments/issues/314. The reason why this broke is stated there. Closing this issue.

As far as I know, this package isn't abandoned, but Abe is heaving a (summer)break. I'll try to do what I can in the meantime.

enoversum commented 7 years ago

Sorry to say, but I cannot reproduce this as being closed/fixed. As soon as I have pigments (re-)installed and enabled, it throws Cannot read property 'NaN' of undefined as an error.

Cxarli commented 7 years ago

@enoversum That error doesn't seem to be the same as this issue, could you please open a new issue (with a full stack trace of that error)?

evwebcoder commented 7 years ago

Same, I update Atom to 1.19.0 and after restarting the Atom I got that issue.

ss 2017-08-08 at 1 41 27 pm

Ky6uk commented 7 years ago

@evwebcoder Did you upgrade this package to v0.40.1? It was fixed after the upgrading.

cwonrails commented 7 years ago

@Ky6uk is correct - just updated my pigments package and all is well now.

dizthewize commented 7 years ago

updated the pigments package and it fixed my issue

dertin commented 7 years ago

same

shahzad71 commented 7 years ago

Looks like version 0.40.1 on Atom 1.19.0 x64 works.

realsrikar commented 7 years ago

same

evwebcoder commented 7 years ago

@Ky6uk I just updated my pigments package and all working fine now. Thanks