Visitar URL original
Failed to load the linter-hdevtools package · Issue #3 · ranjitjhala/linter-hdevtools · GitHub
Skip to content

Failed to load the linter-hdevtools package #3

Closed

Description

@raduom

[Enter steps to reproduce below:]

  1. Upgrade to the latest version of the package.

Atom Version: 1.0.2
System: Mac OS X 10.10.4
Thrown From: linter-hdevtools package, v1.2.0

Stack Trace

Failed to load the linter-hdevtools package

At Cannot find module 'xregexp'

Error: Cannot find module 'xregexp'
    at Module._resolveFilename (module.js:328:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:270:25)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Object.<anonymous> (/Users/roa/.atom/packages/linter-hdevtools/lib/init.coffee:6:13)
    at Object.<anonymous> (/Users/roa/.atom/packages/linter-hdevtools/lib/init.coffee:119:4)
    at Module._compile (module.js:452:26)
    at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:347:32)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "linter-hlint",
      "hover-tooltips-hdevtools"
    ]
  },
  "linter-hdevtools": {
    "hdevtoolsExecutablePath": "/Users/roa/.cabal/bin"
  }
}

Installed Packages

# User
autocomplete-haskell, v0.4.5
haskell-ghc-mod, v0.8.3
ide-haskell, v0.6.2
language-haskell, v1.2.0
linter, v1.2.4
linter-hdevtools, v1.2.0

# Dev
No dev packages

Activity

  1. ranjitjhala commented on Jul 23, 2015

    @ranjitjhala
    Owner

    Oops!y apologies I am new to npm dependencies. In the short term can you do

    npm install -g xregexp

    While I fix this?

    On Jul 23, 2015, at 3:47 AM, raduom notifications@github.com wrote:

    [Enter steps to reproduce below:]

    Upgrade to the latest version of the package.
    Atom Version: 1.0.2
    System: Mac OS X 10.10.4
    Thrown From: linter-hdevtools package, v1.2.0

    Stack Trace

    Failed to load the linter-hdevtools package

    At Cannot find module 'xregexp'

    Error: Cannot find module 'xregexp'
    at Module._resolveFilename (module.js:328:15)
    at Function.Module._resolveFilename (/Applications/Atom.app/Contents/Resources/app.asar/src/module-cache.js:383:52)
    at Function.Module._load (module.js:270:25)
    at Module.require (module.js:357:17)
    at require (module.js:376:17)
    at Object. (/Users/roa/.atom/packages/linter-hdevtools/lib/init.coffee:6:13)
    at Object. (/Users/roa/.atom/packages/linter-hdevtools/lib/init.coffee:119:4)
    at Module._compile (module.js:452:26)
    at Object.requireCoffeeScript (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/coffee-cash/lib/coffee-cash.js:85:19)
    at Module.load (module.js:347:32)
    Commands

    Config

    {
    "core": {
    "disabledPackages": [
    "linter-hlint",
    "hover-tooltips-hdevtools"
    ]
    },
    "linter-hdevtools": {
    "hdevtoolsExecutablePath": "/Users/roa/.cabal/bin"
    }
    }
    Installed Packages

    User

    autocomplete-haskell, v0.4.5
    haskell-ghc-mod, v0.8.3
    ide-haskell, v0.6.2
    language-haskell, v1.2.0
    linter, v1.2.4
    linter-hdevtools, v1.2.0

    Dev

    No dev packages
    —
    Reply to this email directly or view it on GitHub.

  2. ranjitjhala commented on Jul 23, 2015

    @ranjitjhala
    Owner

    Hi, sorry about that again! Can you try to upgrade to version 1.3.0. It should fix the problem...

  3. raduom commented on Jul 24, 2015

    @raduom
    Author

    Hi. The problem is fixed, however another thing popped out. This sequence of actions produces a
    Failed to run undefined
    spawn EACCES

    1. Disable linter-hdevtools
    2. Restart atom
    3. Enable linter-hdevtools
    4. Restart atom -> Exception.

    It may be due to some local problems, but if I disable the linter-hdevtools plugin the error goes away.
    And I have been meaning to thank you for the quick response. Much appreciated!

  4. ranjitjhala commented on Jul 24, 2015

    @ranjitjhala
    Owner

    Whoa! That's odd. Does the problem persist if you

    1. restart atom?
    2. do a "killall hdevtools" at the shell?
  5. raduom commented on Jul 25, 2015

    @raduom
    Author
    1. Not working
    2. No hdevtools is started (even when running atom, could this be it?).
  6. raduom commented on Jul 25, 2015

    @raduom
    Author

    It was not finding the path to hdevtools. I provided only the directory path, without the hdevtools binary name. Fixed now. Thanks for all the help.

  7. ranjitjhala commented on Jul 25, 2015

    @ranjitjhala
    Owner
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions