hswolff / tree-view-extended

Atom.io package. Extend your tree-view. Add a list of open files, and a list of git modified files.
https://atom.io/packages/tree-view-extended
MIT License
8 stars 1 forks source link

Failed to activate the tree-view-extended package #10

Closed github-sjacobs closed 7 years ago

github-sjacobs commented 7 years ago

[Enter steps to reproduce:]

  1. Install the tree-view-extended package

Atom: 1.16.0 x64 Electron: 1.3.13 OS: "CentOS Linux Thrown From: tree-view-extended package 2.0.0

Stack Trace

Failed to activate the tree-view-extended package

At atom.workspace.getCenter is not a function

TypeError: atom.workspace.getCenter is not a function
    at /packages/tree-view-extended/lib/open-files.js:16:22)
    at Object.activate (/packages/tree-view-extended/lib/main.js:12:22)
    at Package.module.exports.Package.activateNow (/app.asar/src/package.js:218:19)
    at /app.asar/src/package.js:190:32
    at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
    at /app.asar/src/package.js:183:26
    at Package.module.exports.Package.activate (/app.asar/src/package.js:180:34)
    at PackageManager.module.exports.PackageManager.activatePackage (/app.asar/src/package-manager.js:550:34)
    at /app.asar/node_modules/settings-view/lib/package-manager.js:484:29
    at exit (/app.asar/node_modules/settings-view/lib/package-manager.js:99:16)
    at triggerExitCallback (/app.asar/src/buffered-process.js:322:11)
    at /app.asar/src/buffered-process.js:335:11
    at /app.asar/src/buffered-process.js:204:9)
    at emitOne (events.js:101:20)
    at Socket.emit (events.js:188:7)
    at Pipe._handle.close [as _onclose] (net.js:493:12)

Commands

  5x -3:47.7.0 core:backspace (input.hidden-input)
     -3:45 core:confirm (input.hidden-input)

Non-Core Packages

atom-beautify 0.29.24 
code-dark-ui 0.7.0 
counter 0.3.5 
file-icons 2.1.4 
geiger 2.1.0 
highlight-line 0.12.0 
highlight-selected 0.13.1 
language-lua 0.9.11 
minimap 4.28.2 
minimap-bookmarks 0.4.2 
minimap-cursorline 0.2.0 
minimap-find-and-replace 4.5.2 
minimap-highlight-selected 4.6.1 
sort-lines 0.14.0 
symbols-tree-view 0.14.0 
sync-settings 0.8.1 
tree-view-extended 2.0.0 
Visual-Studio-2015-Dark-Theme 2.4.2 
hswolff commented 7 years ago

Phooey. I had hoped the engines property in package.json would cover this.

Version 2.0.0 of this package is for Atom 1.17.0 only.

I thought setting what engine it supported would work but seems as though it didn't.

For now either use Atom 1.17 beta or roll back to the latest 1.x release via apm install tree-view-extended@1.

Sorry about this.

hswolff commented 7 years ago

FYI - Atom 1.17.0 is now on the stable branch! Enjoy!