spiegela / atom-erlang-build Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
So we're using rebar3 for most everything now since rebar was deprecated.
Suggestions?
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)
The context menu CSON format has changed. Please see
https://atom.io/docs/api/latest/ContextMenuManager
In keymaps/erlang-build.cson: Use the atom-workspace
tag instead of the workspace
class.
(This is from the automated "Report Issue" button for deprecations)
[Enter steps to reproduce below:]
Atom Version: 0.179.0
System: Mac OS X 10.10.2
Thrown From: erlang-build package, v0.3.0
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)
-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)
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
}
}
# User
erlang-build, v0.3.0
language-erlang, v2.0.0
language-haskell, v1.0.0
# Dev
No dev packages
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)
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.
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)
[Enter steps to reproduce below:]
erlang-build
package enabledAtom Version: 1.1.0
System: Mac OS X 10.10.5
Thrown From: erlang-build package, v0.3.0
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)
{
"core": {
"disabledPackages": [
"symbols-view"
],
"excludeVcsIgnoredPaths": false,
"themes": [
"one-dark-ui",
"atom-dark-syntax"
]
},
"erlang-build": {}
}
# 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
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
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)
-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)
{
"core": {
"themes": [
"one-dark-ui",
"base16-tomorrow-dark-theme"
],
"disabledPackages": [
"linter-haml",
"execute-as-ruby",
"placeholder-text",
"todo-list",
"todo-list",
"placeholder-text"
]
}
}
# 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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.