question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

On Windows 7 x86-64 in Atom 1.2.5 - "At Cannot set property 'alpha' of undefined"

See original GitHub issue

[Enter steps to reproduce:]

  1. Install Atom package for split-diff 1.5.2 in Atom 1.25. Environment - Windows 7 64-bit.
  2. Open Atom.
  3. Error thrown with stack trace below.

Atom: 1.25.0 x64 Electron: 1.7.11 OS: Microsoft Windows 7 Professional Thrown From: split-diff-master package 1.5.2

Stack Trace

Failed to activate the split-diff-master package

At Cannot set property 'alpha' of undefined

TypeError: Cannot set property 'alpha' of undefined
    at /packages/split-diff-master/lib/split-diff.coffee:35:11
    at StyleCalculator.updateStyles (/packages/split-diff-master/lib/style-calculator.js:28:24)
    at updateStyles (/packages/split-diff-master/lib/style-calculator.js:15:12)
    at StyleCalculator.startWatching (/packages/split-diff-master/lib/style-calculator.js:22:5)
    at Object.activate (/packages/split-diff-master/lib/split-diff.coffee:30:21)
    at Package.activateNow (~/AppData/Local/atom/app-1.25.0/resources/app/src/package.js:230:33)
    at measure (~/AppData/Local/atom/app-1.25.0/resources/app/src/package.js:206:33)
    at Package.measure (~/AppData/Local/atom/app-1.25.0/resources/app/src/package.js:88:25)
    at activationPromise.Promise (~/AppData/Local/atom/app-1.25.0/resources/app/src/package.js:200:20)
    at Promise (<anonymous>)
    at Package.activate (~/AppData/Local/atom/app-1.25.0/resources/app/src/package.js:198:38)
    at PackageManager.activatePackage (~/AppData/Local/atom/app-1.25.0/resources/app/src/package-manager.js:695:42)
    at packagesToEnable.forEach.name (~/AppData/Local/atom/app-1.25.0/resources/app/src/package-manager.js:440:51)
    at Array.forEach (native)
    at disabledPackagesSubscription.config.onDidChange (~/AppData/Local/atom/app-1.25.0/resources/app/src/package-manager.js:440:30)
    at emitter.on (~/AppData/Local/atom/app-1.25.0/resources/app/src/config.js:1023:22)
    at Function.module.exports.Emitter.simpleDispatch (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/event-kit/lib/emitter.js:25:20)
    at Emitter.module.exports.Emitter.emit (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/event-kit/lib/emitter.js:141:34)
    at Config.emitChangeEvent (~/AppData/Local/atom/app-1.25.0/resources/app/src/config.js:1175:62)
    at Config.setRawValue (~/AppData/Local/atom/app-1.25.0/resources/app/src/config.js:1008:23)
    at Config.set (~/AppData/Local/atom/app-1.25.0/resources/app/src/config.js:711:18)
    at Config.removeAtKeyPath (~/AppData/Local/atom/app-1.25.0/resources/app/src/config.js:901:16)
    at Package.enable (~/AppData/Local/atom/app-1.25.0/resources/app/src/package.js:75:30)
    at PackageManager.enablePackage (~/AppData/Local/atom/app-1.25.0/resources/app/src/package-manager.js:246:18)
    at HTMLButtonElement.enablementButtonClickHandler (~/AppData/Local/atom/app-1.25.0/resources/app/node_modules/settings-view/lib/package-card.js:362:31)

Commands

     -2:43 settings-view:uninstall-packages (atom-pane.pane)

Non-Core Packages

autocomplete-bash-builtins-0.3.5 undefined 
git-plus-7.7.0 undefined 
language-oracle 1.5.0 
language-perl-0.37.0 undefined 
minimap-split-diff 0.3.7 
split-diff 1.5.2 

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
mupchrchcommented, Apr 2, 2018

@killcoder I found this on stack overflow:

Because of package dependencies a safest bet is this:

1. Install package normally on connected computer
2. Copy contents from your ~/.atom/packages
3. Paste contents to ~/.atom/packages on offline computer
4. Restart Atom
0reactions
mupchrchcommented, Jul 30, 2018

Closing as I think the issues were addressed. Let me know if otherwise.

Read more comments on GitHub >

github_iconTop Results From Across the Web

JavaScript - cannot set property of undefined - Stack Overflow
I get the following error: Uncaught TypeError: Cannot set property 'greeting' of undefined. I'm trying to do something similar to an associative array....
Read more >
Bug listing with status UNCONFIRMED as at 2022/12/28 19 ...
Bug:128538 - "sys-apps/coreutils: /bin/hostname should be installed from coreutils not sys-apps/net-tools" status:UNCONFIRMED resolution: severity:enhancement ...
Read more >
SBCL 2.3.0 User Manual
SBCL instead treats the undefined behavior as an error. Often such code can be rewritten in portable ANSI Common Lisp which has the...
Read more >
User's Guide Amira Software 2019 | Thermo Fisher Scientific
Amira runs on: • Microsoft Windows R 7/8/10 (64-bit). • Linux R x86 64 (64-bit). Supported 64-bit architecture is Intel64/AMD64 architecture. Sup-.
Read more >
Linux and Unix system programming
The framebuffer is the lowest level GUI in Linux kernel. Most embedded linux applications draw directly on framebuffer without X11 (X-Windows System). Linux ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found