Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to load the RubyMotion package #24

Open
NullVoxPopuli opened this issue Mar 20, 2015 · 14 comments
Open

Failed to load the RubyMotion package #24

NullVoxPopuli opened this issue Mar 20, 2015 · 14 comments

Comments

@NullVoxPopuli
Copy link

[Enter steps to reproduce below:]

  1. try to install rubymotion

Atom Version: 0.187.0
System: linux 3.16.0-31-generic
Thrown From: RubyMotion package, v0.6.2

Stack Trace

Failed to load the RubyMotion package

At Cannot find module '/usr/share/atom/resources/app/node_modules/snippets'

Error: Cannot find module '/usr/share/atom/resources/app/node_modules/snippets'
  at Module._resolveFilename (module.js:351:15)
  at Function.Module._resolveFilename (/usr/share/atom/resources/app/src/module-cache.js:383:52)
  at Function.Module._load (module.js:293:25)
  at Module.require (module.js:380:17)
  at require (module.js:399:17)
  at Object.<anonymous> (/home/lprestonsegoiii/.atom/packages/RubyMotion/lib/rubymotion.coffee:8:12)
  at Object.<anonymous> (/home/lprestonsegoiii/.atom/packages/RubyMotion/lib/rubymotion.coffee:1:1)
  at Module._compile (module.js:475:26)
  at Object.requireCoffeeScript (/usr/share/atom/resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
  at Module.load (module.js:370:32)
  at Function.Module._load (module.js:325:12)
  at Module.require (module.js:380:17)
  at require (module.js:399:17)
  at Package.module.exports.Package.requireMainModule (/usr/share/atom/resources/app/src/package.js:672:34)
  at /usr/share/atom/resources/app/src/package.js:189:28
  at Package.module.exports.Package.measure (/usr/share/atom/resources/app/src/package.js:167:15)
  at Package.module.exports.Package.load (/usr/share/atom/resources/app/src/package.js:181:12)
  at PackageManager.module.exports.PackageManager.loadPackage (/usr/share/atom/resources/app/src/package-manager.js:383:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/usr/share/atom/resources/app/src/package-manager.js:464:30)
  at /usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:268:29
  at exit (/usr/share/atom/resources/app/node_modules/settings-view/lib/package-manager.js:43:16)
  at BufferedProcess.triggerExitCallback (/usr/share/atom/resources/app/src/buffered-process.js:63:47)
  at /usr/share/atom/resources/app/src/buffered-process.js:70:18
  at Socket.<anonymous> (/usr/share/atom/resources/app/src/buffered-process.js:150:18)
  at Socket.emit (events.js:138:20)
  at Pipe.close (net.js:477:12)

Commands

     -2:12.1 core:confirm (atom-text-editor.editor.mini)

Config

{
  "core": {
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
RubyMotion, v0.6.2
autocomplete-ruby, v0.0.1
linter-rubocop, v0.2.2
linter-ruby, v0.1.4
ruby-slim, v0.2.0

# Dev
No dev packages
@otzy007
Copy link

otzy007 commented Mar 20, 2015

Happens to me too while starting Atom

Atom Version: 0.187.0
System: Mac OS X 10.10.2
Thrown From: RubyMotion package, v0.6.2

Stack Trace

Failed to load the RubyMotion package

At Cannot find module '/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/snippets'

Error: Cannot find module '/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/snippets'
    at Module._resolveFilename (module.js:351:15)
    at Function.Module._resolveFilename (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/src/module-cache.js:383:52)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at require (module.js:399:17)
    at Object.<anonymous> (/Users/andrei/.atom/packages/RubyMotion/lib/rubymotion.coffee:16:14)
    at Object.<anonymous> (/Users/andrei/.atom/packages/RubyMotion/lib/rubymotion.coffee:137:4)
    at Module._compile (module.js:475:26)
    at Object.requireCoffeeScript (/opt/homebrew-cask/Caskroom/atom/latest/Atom.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:370:32)

Commands

Config

{
  "core": {
    "ignoredNames": [
      ".git",
      ".svn",
      ".DS_Store"
    ],
    "themes": [
      "atom-light-ui",
      "atom-light-syntax"
    ]
  }
}

Installed Packages

# User
RubyMotion, v0.6.2
autocomplete-css, v0.6.0
autocomplete-paths, v1.0.2
autocomplete-plus, v2.6.0
cucumber, v0.4.1
git-log, v0.3.0
github-issues, v0.3.0
language-latex, v0.4.1
language-rust, v0.4.2

# Dev
No dev packages

@wwvuillemot
Copy link

  1. FWIW, I have the same issue
  2. I just launch Atom from the command-line (e.g. atom)
  3. I get the error if I start up directly through Finder, too

Atom Version: 0.187.0
System: Mac OS X 10.10.2
Thrown From: RubyMotion package, v0.6.2

Stack Trace

Failed to load the RubyMotion package

At Cannot find module '/Applications/Atom.app/Contents/Resources/app/node_modules/snippets'

Error: Cannot find module '/Applications/Atom.app/Contents/Resources/app/node_modules/snippets'
    at Module._resolveFilename (module.js:351:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app/src/module-cache.js:383:52)
    at Function.Module._load (module.js:293:25)
    at Module.require (module.js:380:17)
    at require (module.js:399:17)
    at Object.<anonymous> (/Users/wwv/.atom/packages/RubyMotion/lib/rubymotion.coffee:16:14)
    at Object.<anonymous> (/Users/wwv/.atom/packages/RubyMotion/lib/rubymotion.coffee:137:4)
    at Module._compile (module.js:475:26)
    at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:370:32)

Commands

Config

{
  "core": {
    "excludeVcsIgnoredPaths": false,
    "themes": [
      "atom-dark-ui",
      "atom-dark-syntax"
    ]
  }
}

Installed Packages

# User
RubyMotion, v0.6.2
linter-rubocop, v0.2.2

# Dev
No dev packages

@TerribleDev
Copy link

👍

1 similar comment
@matthewsinclair
Copy link

👍

@satococoa
Copy link
Owner

Sorry for late response.

Thank you for your feedback. I'll look into this in this weekend.
But I am not using RubyMotion now, so any Pull Requests will be very appreciated.

@anildigital
Copy link

I am facing this issue too.

@ChristianBagley
Copy link

I'm working on a fix for this now, will update later this evening, hopefully with a pull request. I believe I found the issue, though.

@markrickert
Copy link

Any update on this @ChristianBagley?

@matthewsinclair
Copy link

Sadly, I'm going to have to disable the RubyMotion Atom package until this fixed. In any case, thanks for the efforts to date, folks. I know how hard it is to get time to fix OSS stuff like this when it's not a top-line priority.

@ChristianBagley
Copy link

@markrickert My apologies for the delay. Things got hectic with my schedule, had to divert my attention. I will get back to working on a fix for this, or a least try to narrow down the problem, soon. Once I get home I can post the relevant code where I think the problem is, and get some opinions on it - incase I'm totally off.

@matthewsinclair Understandable Matthew, hopefully we can cook up a solution soon. I know I'm eager to get back to RubyMotion support in Atom.

@matthewsinclair
Copy link

Hey @ChristianBagley, thanks for taking the time! I was just trying to offer some words of support because I know how thankless this kind of task can be. Best of luck tracking down the problem. :)

@bklebe
Copy link

bklebe commented Sep 3, 2015

Was this ever fixed?

@dgilperez
Copy link

Got hit by this as well. Any plans to fix this?

@nickyhajal
Copy link

Any updates on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests