Skip to content
New issue

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

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

Already on GitHub? # to your account

Failed to activate the ide-reason package #2

Closed
jberdine opened this issue Nov 26, 2015 · 1 comment
Closed

Failed to activate the ide-reason package #2

jberdine opened this issue Nov 26, 2015 · 1 comment

Comments

@jberdine
Copy link
Contributor

  1. Open Atom
  2. Open reason file
  3. Change language from regular expression to reason
  4. Observe crash report

Atom Version: 1.0.18
System: Mac OS X 10.11.1
Thrown From: ide-reason package, v1.0.0

Stack Trace

Failed to activate the ide-reason package

At Cannot find module 'nuclide-client'

Error: Cannot find module 'nuclide-client'
  at Module._resolveFilename (module.js:334:15)
  at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
  at Function.Module._load (module.js:284:25)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Object.<anonymous> (/Users/jjb/src/reason/editorSupport/ide-reason/lib/AutoComplete.js:14:21)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Object.<anonymous> (/Users/jjb/src/reason/editorSupport/ide-reason/lib/ide-reason.coffee:2:16)
  at Object.<anonymous> (/Users/jjb/src/reason/editorSupport/ide-reason/lib/ide-reason.coffee:1:1)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .coffee] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at Package.module.exports.Package.requireMainModule (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:761:34)
  at Package.module.exports.Package.activateConfig (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:263:14)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:241:14)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:917:28
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at PackageManager.module.exports.PackageManager.triggerActivationHook (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:502:41)
  at Object.module.exports.LanguageReason.activate (/Users/jjb/src/reason/editorSupport/language-reason/lib/language-reason.coffee:16:21)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:245:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:226:30
  at Package.module.exports.Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:169:15)
  at Package.module.exports.Package.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:218:14)
  at PackageManager.module.exports.PackageManager.activatePackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:486:21)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:469:29
  at Config.module.exports.Config.transact (/Applications/Atom.app/Contents/Resources/app.asar/src/config.js:324:16)
  at PackageManager.module.exports.PackageManager.activatePackages (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:464:19)
  at PackageManager.module.exports.PackageManager.activate (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:445:46)
  at Atom.module.exports.Atom.startEditorWindow (/Applications/Atom.app/Contents/Resources/app.asar/src/atom.js:670:21)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-bootstrap.js:12:8)
  at Object.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/window-bootstrap.js:23:4)
  at Module._compile (module.js:428:26)
  at Object.defineProperty.value [as .js] (/Applications/Atom.app/Contents/Resources/app.asar/src/compile-cache.js:169:21)
  at Module.load (module.js:353:32)
  at Function.Module._load (module.js:308:12)
  at Module.require (module.js:363:17)
  at require (module.js:382:17)
  at setupWindow (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:82:25)
  at window.onload (file:///Applications/Atom.app/Contents/Resources/app.asar/static/index.js:35:9)

Commands

Config

{
  "core": {
    "themes": [
      "one-light-ui",
      "solarized-light-syntax"
    ],
    "disabledPackages": [
      "tree-view",
      "deprecation-cop",
      "fuzzy-finder",
      "incompatible-packages",
      "metrics",
      "styleguide",
      "timecop"
    ]
  },
  "ide-reason": {
    "pathToReasonfmt": "/Users/jjb/.opam/4.02.3/bin/reasonfmt",
    "pathToCompiler": "/Users/jjb/.opam/4.02.3/bin/ocamlc"
  }
}

Installed Packages

# User
fb-analytics-client, v1337.0.0-17826179
fb-analytics-reporter-settings, v1337.0.0-17826179
fb-biggrep-provider, v1337.0.0-17826179
fb-codegraph-providers, v1337.0.0-17826179
fb-diffs-and-tasks, v1337.0.0-17826179
fb-error-reporting, v1337.0.0-17826179
fb-file-a-bug, v1337.0.0-17826179
fb-graphql, v1337.0.0-17826179
fb-handle-url, v1337.0.0-17826179
fb-hg-smartlog, v1337.0.0-17826179
fb-home, v1337.0.0-17826179
fb-logging-helper, v1337.0.0-17826179
fb-login, v1337.0.0-17826179
fb-nuclide-file-creation, v1337.0.0-17826179
fb-nuclide-file-creation-ios, v1337.0.0-17826179
fb-nuclide-installer, v0.1.11
fb-package-manager, v1337.0.0-17826179
fb-phabricator-comments-client, v1337.0.0-17826179
fb-rating, v1337.0.0-17826179
fb-slog-viewer, v1337.0.0-17826179
fb-snippets, v1337.0.0-17826179
fb-test-runner-t-client, v1337.0.0-17826179
haskell-grammar, v0.4.0
highlight-selected, v0.11.1
hyperclick, v1337.0.0-17826179
ide-reason, v1.0.0
language-babel, v2.5.2
language-ini, v1.14.0
language-ocaml, v1.1.2
language-reason, v0.0.0
language-thrift, v1.0.2
nuclide-arcanist, v1337.0.0-17826179
nuclide-blame, v1337.0.0-17826179
nuclide-blame-provider-hg, v1337.0.0-17826179
nuclide-blame-ui, v1337.0.0-17826179
nuclide-buck-files, v1337.0.0-17826179
nuclide-busy-signal, v1337.0.0-17826179
nuclide-clang-atom, v1337.0.0-17826179
nuclide-code-format, v1337.0.0-17826179
nuclide-code-highlight, v1337.0.0-17826179
nuclide-debugger-atom, v1337.0.0-17826179
nuclide-debugger-hhvm, v1337.0.0-17826179
nuclide-debugger-lldb, v1337.0.0-17826179
nuclide-diagnostics-store, v1337.0.0-17826179
nuclide-diagnostics-ui, v1337.0.0-17826179
nuclide-diff-view, v1337.0.0-17826179
nuclide-file-tree, v1337.0.0-17826179
nuclide-file-watcher, v1337.0.0-17826179
nuclide-find-references, v1337.0.0-17826179
nuclide-flow, v1337.0.0-17826179
nuclide-fuzzy-filename-provider, v1337.0.0-17826179
nuclide-hack, v1337.0.0-17826179
nuclide-hack-symbol-provider, v1337.0.0-17826179
nuclide-health, v1337.0.0-17826179
nuclide-hg-repository, v1337.0.0-17826179
nuclide-home, v1337.0.0-17826179
nuclide-language-hack, v1337.0.0-17826179
nuclide-objc, v1337.0.0-17826179
nuclide-ocaml, v1337.0.0-17826179
nuclide-open-filenames-provider, v1337.0.0-17826179
nuclide-quick-open, v1337.0.0-17826179
nuclide-recent-files-provider, v1337.0.0-17826179
nuclide-recent-files-service, v1337.0.0-17826179
nuclide-remote-projects, v1337.0.0-17826179
nuclide-test-runner, v1337.0.0-17826179
nuclide-toolbar, v1337.0.0-17826179
nuclide-type-hint, v1337.0.0-17826179
tool-bar, v0.1.9

# Dev
No dev packages
@jordwalke
Copy link
Member

Apologies @jberdine! I forgot to mention in the README that you must run apm install from each of the plugin directories that you symlinked. I clarified here:

https://github.com/facebook/Reason/blob/master/editorSupport/ide-reason/README.md

Thanks for being the bleeding edge tester. I'll try to avoid hiccups like this.

jchavarri pushed a commit to jchavarri/reason that referenced this issue Nov 28, 2019
Bring in jchavarri's changes
sikanhe pushed a commit to sikanhe/reason that referenced this issue Feb 11, 2020
Back in the "async await" discussions in reason land, there were vigorous proponents of both the "let." and "let!", so I figure I might as well add them here :)
jordwalke pushed a commit that referenced this issue Feb 20, 2020
* Upgrade Parser to 4.08 AST and add 4.08 features

* fix exception tests

* Support alphanumeric characters in the monadic syntax (#1)

* Fix tests, add '.' and '!' to kwdopchar (#2)

Back in the "async await" discussions in reason land, there were vigorous proponents of both the "let." and "let!", so I figure I might as well add them here :)

* newline, really?

* fix test

* Backport `letop` monadic let syntax to pre-4.08 (making it bucklescript compatible!) (#3)

* fix some warnings

* apply mappers when printing to AST and ML

* fix binding ops interaction with comment chars

* Set correct location end position in letop binding parsing

* Add test for @supriyo's fix

* Fix syntax util for new AST

* pin dune to 1.x

* update lock files

Co-authored-by: Jared Forsyth <jabapyth@gmail.com>
Co-authored-by: Supriyo Sinha <supriyo@typeish.net>
Co-authored-by: Sikan He <sikanhe@users.noreply.github.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants