coderoad / atom-coderoad-deprecated

Interactive tutorial plugin for Atom
https://coderoad.github.io
Apache License 2.0
55 stars 5 forks source link

Failed to activate the atom-coderoad package #4

Closed littlebeeper closed 8 years ago

littlebeeper commented 8 years ago

Steps to reproduce below

  1. Installed atom-coderoad from package manager
  2. Gave an error that the package is built for an earlier version of atom.
  3. Prompted me to rebuild the package so I re-built it.
  4. Cloned the coderoad-functional-school tutorial
  5. Got the following error when toggle coderoad from Packages menu

Atom Version: 1.6.0 System: Ubuntu 14.04.4 Thrown From: atom-coderoad package, v0.9.3

Stack Trace

Failed to activate the atom-coderoad package

At Cannot find module './common/RouteButton'

Error: Cannot find module './common/RouteButton'
    at Module._resolveFilename (module.js:336:15)
    at Function.Module._resolveFilename (/usr/share/atom/resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:286:25)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/cucu/.atom/packages/atom-coderoad/lib/components/index.js:20:21)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/cucu/.atom/packages/atom-coderoad/lib/components/App.js:26:15)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/cucu/.atom/packages/atom-coderoad/lib/components/render.js:6:13)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:50:27)
    at Object.<anonymous> (/home/cucu/.atom/packages/atom-coderoad/lib/atom/main.js:2:16)
    at Module._compile (/usr/share/atom/resources/app.asar/src/native-compile-cache.js:103:30)
    at Object.defineProperty.value [as .js] (/usr/share/atom/resources/app.asar/src/compile-cache.js:208:21)
    at Module.load (module.js:355:32)

Commands

     -0:00.4.0 cr-viewer:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "disabledPackages": [
      "language-ruby-on-rails"
    ]
  }
}

Installed Packages

# User
angular2-snippets, v0.3.0
atom-coderoad, v0.9.3
atom-typescript, v8.11.0
highlight-selected, v0.11.2
linter, v1.11.4
linter-tslint, v0.9.2
navigation-history, v0.1.8
terminal-plus, v0.14.5

# Dev
No dev packages
ShMcK commented 8 years ago

Thanks for the feedback. The codebase is under some serious refactoring as there will be a builder released soon that shares a lot of the same code, extracted into a common core.

Perhaps for now try apm publish atom-coderoad@0.8.3.

Expect a new release in the near future.

ShMcK commented 8 years ago

atom-coderoad@0.10.0 is now out. I hope that fixes your installation issue.

henrymzhao commented 8 years ago

Hi, can also confirm this issue on Windows

Steps to reproduce:

  1. Open Atom
  2. Install atom-coderoad package
  3. Packages->Coderoad->toggle
  4. Error

Atom Version: 1.8.0 System: Microsoft Windows 10 Pro Thrown From: atom-coderoad package, v0.10.2

Stack Trace

Failed to activate the atom-coderoad package

At Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.

Error: Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.
    at invariant (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\node_modules\fbjs\lib\invariant.js:34:15)
    at Object.ReactOwner.addComponentAsRefTo (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactOwner.js:67:373)
    at attachRef (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactRef.js:23:16)
    at Object.ReactRef.attachRefs (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactRef.js:42:5)
    at [object Object].attachRefs (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconciler.js:24:12)
    at CallbackQueue._assign.notifyAll (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\CallbackQueue.js:66:22)
    at ReactReconcileTransaction.ON_DOM_READY_QUEUEING.close (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactReconcileTransaction.js:79:26)
    at ReactReconcileTransaction.Mixin.closeAll (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\Transaction.js:202:25)
    at ReactReconcileTransaction.Mixin.perform (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\Transaction.js:149:16)
    at batchedMountComponentIntoNode (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMount.js:123:15)
    at ReactDefaultBatchingStrategyTransaction.Mixin.perform (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\Transaction.js:136:20)
    at Object.ReactDefaultBatchingStrategy.batchedUpdates (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactDefaultBatchingStrategy.js:63:19)
    at Object.batchedUpdates (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactUpdates.js:98:20)
    at Object.ReactMount._renderNewRootComponent (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMount.js:286:18)
    at Object.ReactMount._renderSubtreeIntoContainer (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMount.js:365:32)
    at Object.ReactMount.render (C:\Users\user\.atom\packages\atom-coderoad\node_modules\react\lib\ReactMount.js:386:23)
    at Main.activate (C:\Users\user\.atom\packages\atom-coderoad\lib\index.js:24:18)
    at Package.module.exports.Package.activateNow (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:183:20)
    at C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\package.js:795:25
    at Function.module.exports.Emitter.simpleDispatch (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:25:14)
    at Emitter.module.exports.Emitter.emit (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\node_modules\event-kit\lib\emitter.js:125:28)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\command-registry.js:241:20)
    at CommandRegistry.handleCommandEvent (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\command-registry.js:3:61)
    at CommandRegistry.module.exports.CommandRegistry.dispatch (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\command-registry.js:160:19)
    at AtomEnvironment.module.exports.AtomEnvironment.dispatchApplicationMenuCommand (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\atom-environment.js:1100:28)
    at EventEmitter.outerCallback (C:\Users\user\AppData\Local\atom\app-1.8.0\resources\app.asar\src\application-delegate.js:327:25)
    at emitTwo (events.js:87:13)
    at EventEmitter.emit (events.js:172:7)

Commands

     -0:03.3.0 cr-viewer:toggle (atom-pane.pane.active)

Config

{
  "core": {
    "disabledPackages": [
      "builder-coderoad"
    ]
  }
}

Installed Packages

# User
atom-coderoad, v0.10.2
atom-shell-commands, v1.4.0
autocomplete-ruby, v0.1.0
browser-plus, v0.0.60
ruby-block, v0.3.5

# Dev
No dev packages
ShMcK commented 8 years ago

This issue should be resolved with the previous version of Atom-CodeRoad. Sorry for the late response.