Skip to content
This repository has been archived by the owner on May 12, 2020. It is now read-only.

Directories ending with .ino fail makes the compilation fail #230

Open
suda opened this issue Nov 6, 2017 · 0 comments
Open

Directories ending with .ino fail makes the compilation fail #230

suda opened this issue Nov 6, 2017 · 0 comments

Comments

@suda
Copy link
Contributor

suda commented Nov 6, 2017

[Enter steps to reproduce:]

  1. Create an app with a directory ending with .ino
  2. Try to compile in the cloud

Atom: 1.21.2 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: particle-dev package 0.2.1

Stack Trace

Uncaught Error: EISDIR: illegal operation on a directory, read

At fs.js:656

Error: EISDIR: illegal operation on a directory, read
    at Object.fs.readSync (fs.js:656:19)
    at tryReadSync (fs.js:457:20)
    at Object.fs.readFileSync (fs.js:494:19)
    at Object.fs.readFileSync (ELECTRON_ASAR.js:506:29)
    at /Users/particle/Projects/Atom/particle-dev/lib/main.coffee:607:32
    at Object.minBuildTargetRequired (/Users/particle/Projects/Atom/particle-dev/lib/main.coffee:275:5)
    at /Users/particle/Projects/Atom/particle-dev/lib/main.coffee:557:83
    at Object.loginRequired (/Users/particle/Projects/Atom/particle-dev/lib/main.coffee:237:5)
    at Object.compileCloud (/Users/particle/Projects/Atom/particle-dev/lib/main.coffee:557:65)
    at HTMLElement.<anonymous> (/Users/particle/Projects/Atom/particle-dev/lib/main.coffee:863:55)
    at CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:381:36)
    at CommandRegistry.dispatch (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:266:23)
    at executeCallback (/packages/tool-bar/lib/tool-bar-button-view.js:106:19)
    at ToolBarButtonView._onClick (/packages/tool-bar/lib/tool-bar-button-view.js:70:7)

Commands

     -0:39.3.0 tree-view:add-folder (span.name.icon.icon-file-directory)
     -0:36.1.0 core:confirm (input.hidden-input)
     -0:34.2.0 core:cancel (input.hidden-input)
     -0:27.1.0 tree-view:remove (span.name.icon.icon-file-zip)
     -0:23.4.0 tree-view:move (span.name.icon.icon-file-text)
     -0:22.9.0 core:move-left (input.hidden-input)
  2x -0:22.6.0 core:move-right (input.hidden-input)
  2x -0:22.2.0 core:move-left (input.hidden-input)
     -0:21.1.0 core:confirm (input.hidden-input)
     -0:18.1.0 tree-view:add-folder (div.header.list-item)
     -0:14.1.0 core:confirm (input.hidden-input)
     -0:09.5.0 tree-view:add-file (div.header.list-item)
     -0:07.3.0 core:confirm (input.hidden-input)
     -0:04.3.0 particle-dev:compile-cloud (input.hidden-input)
     -0:03.0 window:save-all (atom-workspace.workspace.scrollbars-visible-always.theme-monokai.theme-one-dark-ui)
     -0:03.0 particle-dev:update-compile-status (atom-workspace.workspace.scrollbars-visible-always.theme-monokai.theme-one-dark-ui)

Non-Core Packages

apex-ui 1.0.2 
atom-ide-ui 0.5.4 
clear-blob-storage 0.1.3 
console-panel 0.3.0 
cucumber 0.6.0 
cucumber-autocomplete 0.7.2 
cucumber-step 0.2.0 
docblockr 0.12.1 
flex-tool-bar 0.12.0 
ide-cpp 0.0.3 
ide-particle 0.0.0 
ide-typescript 0.6.2 
ide-yaml 0.4.1 
language-docker 1.1.8 
language-particle 0.3.5 
language-powershell 4.0.0 
language-terraform 0.8.1 
monokai 0.24.0 
particle-dev 0.2.1 
particle-dev-cloud-functions 0.2.0 
particle-dev-cloud-variables 0.2.0 
particle-dev-complete 1.0.2 
particle-dev-libraries 0.2.23 
particle-dev-local-compiler 0.1.3 
particle-dev-profiles 0.2.3 
pretty-json 1.6.4 
tool-bar 1.1.0 
xml-formatter 0.11.0 
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant