Giter Club home page Giter Club logo

atom-erlang-build's People

Contributors

allui avatar spiegela avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

allui

atom-erlang-build's Issues

Atom.Object.defineProperty.get is deprecated.

atom.workspaceView is no longer available.
In most cases you will not need the view. See the Workspace docs for
alternatives: https://atom.io/docs/api/latest/Workspace.
If you do need the view, please use atom.views.getView(atom.workspace),
which returns an HTMLElement.

Atom.Object.defineProperty.get (c:\Users\Vlad\AppData\Local\atom\app-0.176.0\resources\app\src\atom.js:53:11)
Object.activate (c:\Users\Vlad\.atom\packages\erlang-build\lib\erlang-build.coffee:15:9)

Uncaught Error: spawn ENOTDIR

[Enter steps to reproduce below:]

  1. ...
  2. ...

Atom Version: 0.179.0
System: Mac OS X 10.10.2
Thrown From: erlang-build package, v0.3.0

Stack Trace

Uncaught Error: spawn ENOTDIR

At child_process.js:1160

Error: spawn ENOTDIR
  at exports._errnoException (util.js:753:11)
  at ChildProcess.spawn (child_process.js:1160:11)
  at exports.spawn (child_process.js:993:9)
  at Object.module.exports.compile (/Users/simonthompson/.atom/packages/erlang-build/lib/erlang-build.coffee:25:12)
  at atom-workspace.<anonymous> (/Users/simonthompson/.atom/packages/erlang-build/lib/erlang-build.coffee:15:60)
  at atom-workspace.handler (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/src/space-pen-extensions.js:115:32)
  at atom-workspace.jQuery.event.dispatch (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4681:9)
  at atom-workspace.elemData.handle (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/node_modules/space-pen/vendor/jquery.js:4359:46)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/src/command-registry.js:243:29)
  at CommandRegistry.handleCommandEvent (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/src/command-registry.js:3:61)
  at CommandRegistry.module.exports.CommandRegistry.dispatch (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/src/command-registry.js:156:19)
  at EventEmitter.<anonymous> (/Users/simonthompson/Desktop/Atom.app/Contents/Resources/app/src/window-event-handler.js:65:30)
  at EventEmitter.emit (events.js:116:17)

Commands

     -2:19.5 core:paste (atom-text-editor.editor.mini)
 11x -2:15.3 core:backspace (atom-text-editor.editor.mini)
     -0:45.1 window:toggle-full-screen (atom-text-editor.editor)
     -0:39.1 grammar-selector:show (atom-text-editor.editor)
  2x -0:26.0 erlang-build:compile (atom-text-editor.editor)

Config

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

Installed Packages

# User
erlang-build, v0.3.0
language-erlang, v2.0.0
language-haskell, v1.0.0

# Dev
No dev packages

Package.getActivationCommands is deprecated.

Use activationCommands instead of activationEvents in your package.json
Commands should be grouped by selector as follows:

  "activationCommands": {
    "atom-workspace": ["foo:bar", "foo:baz"],
    "atom-text-editor": ["foo:quux"]
  }
Package.getActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:808:9)
Package.hasActivationCommands (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:733:20)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:187:24)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:179:12)
PackageManager.loadPackage (/Applications/Atom.app/Contents/Resources/app.asar/src/package-manager.js:372:14)

Issues executing rebar on Windows

In the settings of the package I have changed the paths to the paths where erlang and rebar are located on my Windows machine.

I installed rebar by cloning the git repository and then executing the bootstrap.bat file.

'C:\tools\rebar\rebar' could not be spawned. Is it installed and on your path? If so please open an issue on the package spawning the process.

It still keeps coming with the following error.

Package.getStylesheetsPath is deprecated.

Store package style sheets in the styles/ directory instead of stylesheets/ in the erlang-build package

Package.getStylesheetsPath (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:460:9)
Package.getStylesheetPaths (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:471:32)
Package.loadStylesheets (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:453:38)
<unknown> (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:185:19)
Package.measure (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:165:15)
Package.load (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:179:12)

Failed to load the erlang-build package

[Enter steps to reproduce below:]

  1. open the atom editor having the erlang-build package enabled

Atom Version: 1.1.0
System: Mac OS X 10.10.5
Thrown From: erlang-build package, v0.3.0

Stack Trace

Failed to load the erlang-build package

At Cannot read property 'prototype' of undefined

TypeError: Cannot read property 'prototype' of undefined
    at inherits (/Users/tex/.atom/packages/erlang-build/node_modules/atom-message-panel/lib/utils.js:13:28)
    at Object.<anonymous> (/Users/tex/.atom/packages/erlang-build/node_modules/atom-message-panel/lib/MessagePanelView.js:18:1)
    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/tex/.atom/packages/erlang-build/node_modules/atom-message-panel/lib/index.js:2:21)
    at Module._compile (module.js:428:26)

Commands

Config

{
  "core": {
    "disabledPackages": [
      "symbols-view"
    ],
    "excludeVcsIgnoredPaths": false,
    "themes": [
      "one-dark-ui",
      "atom-dark-syntax"
    ]
  },
  "erlang-build": {}
}

Installed Packages

# User
atom-ctags, v4.4.0
atom-python-debugger, v0.3.4
autocomplete-elixir, v1.4.2
autocomplete-erlang, v1.1.1
autocomplete-python, v0.10.1
erlang-build, v0.3.0
file-watcher, v0.4.0
language-elixir, v0.5.2
language-erlang, v3.0.0
language-hcl, v0.1.2
language-protobuf, v0.5.0
language-swift, v0.4.0
last-cursor-position, v0.9.0
minimap, v4.16.0
tabs-to-spaces, v0.11.1
white-cursor, v0.6.0

# Dev
No dev packages

Failed to activate the erlang-build package

Hi guys, I'm quite new to Erlang, yet I have found the entitled issue.

This issue appeared when I tried to build mirror.erl:

-module(mirror).
-export([mirror/1]).
mirror(Anything) -> Anything.

I am not sure whether this issue is caused by this code or the plugin, so would you be so kind to look into this issue.

Thank you! ๐Ÿ‘

Atom Version: 1.0.0
System: Mac OS X 10.10.4
Thrown From: erlang-build package, v0.3.0

Stack Trace

Failed to activate the erlang-build package

At Cannot read property 'command' of undefined

TypeError: Cannot read property 'command' of undefined
  at Object.module.exports.activate (/Users/bluurn/.atom/packages/erlang-build/lib/erlang-build.coffee:15:23)
  at Package.module.exports.Package.activateNow (/Applications/Atom.app/Contents/Resources/app.asar/src/package.js:240:19)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/package.js:772:25
  at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/event-kit/lib/emitter.js:82:11)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:222:20)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
  at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
  at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
  at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:180:20)

Commands

     -0:27.1.0 core:close (atom-text-editor.editor.is-focused)
     -0:22.4.0 fuzzy-finder:toggle-file-finder (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-base16-tomorrow-dark-theme.theme-one-dark-ui)
     -0:21 core:confirm (atom-text-editor.editor.mini.is-focused)
  2x -0:19.4.0 core:move-down (atom-text-editor.editor.is-focused)
     -0:15.6.0 fuzzy-finder:toggle-buffer-finder (atom-text-editor.editor.is-focused)
     -0:14.8.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:14.8.0 core:cancel (atom-text-editor.editor.mini.is-focused)
  2x -0:14.2.0 tree-view:toggle (atom-text-editor.editor.is-focused)
  2x -0:12.3.0 fuzzy-finder:toggle-buffer-finder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:06.8.0 pane:reopen-closed-item (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:05.7.0 fuzzy-finder:toggle-file-finder (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:04.5.0 editor:consolidate-selections (atom-text-editor.editor.mini.is-focused)
     -0:04.5.0 core:cancel (atom-text-editor.editor.mini.is-focused)
     -0:03.9.0 command-palette:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
     -0:01.2.0 core:confirm (atom-text-editor.editor.mini.is-focused)
     -0:01.1.0 erlang-build:compile (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)

Config

{
  "core": {
    "themes": [
      "one-dark-ui",
      "base16-tomorrow-dark-theme"
    ],
    "disabledPackages": [
      "linter-haml",
      "execute-as-ruby",
      "placeholder-text",
      "todo-list",
      "todo-list",
      "placeholder-text"
    ]
  }
}

Installed Packages

# User
atom-runner, v2.4.1
autocomplete-erlang, v1.1.1
autocomplete-ruby, v0.1.0
erlang-build, v0.3.0
language-erlang, v3.0.0
language-haml, v0.21.0
language-mongodb, v0.2.0
language-r, v0.2.0
language-sml, v0.3.0
linter, v1.1.0
linter-csslint, v0.0.14
linter-erlc, v0.3.0
linter-scss-lint, v1.0.5
project-manager, v1.15.10
ruby-block, v0.3.4
ruby-block-converter, v3.5.0
symbol-gen, v1.0.0
travis-ci-status, v0.15.1

# Dev
No dev packages

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.