cloudstek / build-platformio Goto Github PK
View Code? Open in Web Editor NEWStand-alone stripped down PlatformIO build service provider for Atom from the platformio-ide package
License: GNU General Public License v2.0
Stand-alone stripped down PlatformIO build service provider for Atom from the platformio-ide package
License: GNU General Public License v2.0
[Enter steps to reproduce:]
Atom: 1.58.0 x64
Electron: 9.4.4
OS: Microsoft Windows 10 Pro
Thrown From: build-platformio package 1.2.4
Failed to load the build-platformio package
At EPERM: operation not permitted, open 'C:\Users\vdc13\.atom\packages\build-platformio\main.js'
Error: EPERM: operation not permitted, open 'C:\Users\vdc13\.atom\packages\build-platformio\main.js'
at Object.openSync (fs.js:440:3)
at Object.func [as openSync] (electron/js2c/asar.js:140:31)
at Proxy.readFileSync (fs.js:342:35)
at Proxy.fs.readFileSync (electron/js2c/asar.js:542:40)
at compileFileAtPath (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:150787)
at Object.value [as .js] (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:153451)
at Module.load (internal/modules/cjs/loader.js:815:32)
at Module._load (internal/modules/cjs/loader.js:727:14)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (/app.asar/static/index.js:72:46)
at require (internal/modules/cjs/helpers.js:74:18)
at customRequire (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:1:802772)
at requireModule (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:1195622)
at Package.requireMainModule (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:3520513)
at ~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:3507053
at Package.measure (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:3505853)
at Package.load (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:3506626)
at PackageManager.loadAvailablePackage (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:384186)
at PackageManager.loadPackage (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:382914)
at PackageManager.activatePackage (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:385486)
at ~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:915033
at r (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:11:909639)
at n (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:1194945)
at ChildProcess.<anonymous> (~/AppData/Local/atom/app-1.58.0/resources/app/static/<embedded>:14:1195151)
at ChildProcess.emit (events.js:223:5)
at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
-2:58.9.0 application:reopen-project (div#add-projects-view.)
2x -2:52.2.0 editor:move-to-previous-subword-boundary (input.hidden-input)
build-platformio 1.2.4
Atom Package manager installed version is 1.2.2, but the GitHub version is 1.2.3. Can't figure out how to install 1.2.3, and running into #1
[Enter steps to reproduce:]
Atom: 1.15.0 x64
Electron: 1.3.13
OS: "openSUSE Tumbleweed"
Thrown From: build-platformio package 1.2.3
Failed to load the build-platformio package
At Cannot find module 'ini'
Error: Cannot find module 'ini'
at Module._resolveFilename (module.js:455:15)
at Module._resolveFilename (/usr/share/atom/resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._resolveFilename (/app.asar/src/module-cache.js:383:52)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at /packages/build-platformio/build-provider.js:20:20)
at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
at /app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at /packages/build-platformio/main.js:3:57)
at Module._compile (/app.asar/src/native-compile-cache.js:109:30)
at /app.asar/src/compile-cache.js:216:21)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (/app.asar/src/native-compile-cache.js:50:27)
at Package.module.exports.Package.requireMainModule (/app.asar/src/package.js:796:27)
at /app.asar/src/package.js:123:28
at Package.module.exports.Package.measure (/app.asar/src/package.js:96:15)
at Package.module.exports.Package.load (/app.asar/src/package.js:110:12)
at PackageManager.module.exports.PackageManager.loadPackage (/app.asar/src/package-manager.js:468:14)
at PackageManager.module.exports.PackageManager.enablePackage (/app.asar/src/package-manager.js:171:19)
at /app.asar/node_modules/settings-view/lib/package-card.js:348:27)
at HTMLButtonElement.dispatch (/app.asar/node_modules/jquery/dist/jquery.js:4435:9)
at HTMLButtonElement.elemData.handle (/app.asar/node_modules/jquery/dist/jquery.js:4121:28)
-1:10.2.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always)
-1:10.2.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always)
-1:09.2.0 tree-view:show (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-1:09.1.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-1:09.1.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-1:09.1.0 particle-dev:update-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-1:09.1.0 particle-dev:append-menu (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:56.1.0 platformio-ide:target:build (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
-0:56.1.0 platformio-ide:target:build-/home/philuser/Developpements/uSystem/Arduino/Exemples/PCA9685 (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
autocomplete-clang 0.10.1
build 0.67.0
build-platformio 1.2.3
busy 0.7.0
busy-signal 1.3.0
console-panel 0.2.1
file-icons 2.1.2
intentions 1.1.2
language-ini 1.19.0
linter 2.1.2
linter-gcc 0.7.1
linter-ui-default 1.2.2
minimap 4.27.1
particle-dev 0.1.21
particle-dev-cloud-functions 0.1.0
particle-dev-cloud-variables 0.1.0
particle-dev-complete 1.0.1
particle-dev-libraries 0.2.18
particle-dev-profiles 0.1.15
platformio-ide 2.0.0-beta.2
platformio-ide-terminal 2.5.0
tool-bar 1.1.0
[Enter steps to reproduce below:]
Atom Version: 1.8.0
System: Ubuntu 16.04
Thrown From: build-platformio package, v1.2.2
Uncaught ReferenceError: assignHooks is not defined
At /home/tr/.atom/packages/build-platformio/build-provider.js:126
ReferenceError: assignHooks is not defined
at /home/tr/.atom/packages/build-platformio/build-provider.js:126:35
at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:404:3)
-0:50.5.0 platformio-ide:initialize-new-project (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
-0:00.7.0 build:refresh-targets (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
{}
# User
autocomplete-clang, v0.9.3
build, v0.64.0
build-platformio, v1.2.2
busy, v0.5.0
language-ini, v1.16.0
linter, v1.11.11
linter-gcc, v0.6.14
platformio-aia, v0.0.5
platformio-ide, v1.2.2
platformio-ide-terminal, v2.1.0
tool-bar, v0.4.0
# Dev
No dev packages
Thanks for making this integration with atom-build!
Quick question/issue:
The build targets are all listed with the same description "Platformio Ide: Target" in the command palette
Seems like something is going wrong somewhere?
And maybe it would be better to drop the "Ide" part of those names as well, it got me confused for a second thinking I accidentally installed (parts of) the platformio-ide packages.
I'm using atom 1.44, atom-build 0.70.0 and build-platformio 1.2.4
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.