danielgtaylor / danielgtaylor/atom-api-blueprint-preview

Uncaught Error: ENOENT, no such file or directory 'C:\tmp\atom.apib'

Open
#17 6 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
CoffeeScript
Stars
44
Forks
18
PR merge metrics
No merged PRs in 30d

Description

[Enter steps to reproduce below:]
1. install atom
2. npm install -g aglio
3. apm install api-blueprint-preview
4. start atom
5. ctrl+shif+a / packages -> api blueprint -> toggle preview

System:
Win 7 pro 64bit
nodejs 0.10.36 x86
npm 2.6.0
Visual Studio 2010 Express
Windows SDK for Windows 7 (7.1)
Visual C++ Redistributable (x86) – 10.0.30139
atom 0.182.0 20.2.2015 18:52:34

**Atom Version**: 0.182.0
**Thrown From**: [api-blueprint-preview](https://github.com/danielgtaylor/atom-api-blueprint-preview) package, v0.3.0
### Stack Trace

Uncaught Error: ENOENT, no such file or directory 'C:\tmp\atom.apib'

```
At C:\Users\asdf\AppData\Local\atom\app-0.182.0\resources\app\node_modules\q\q.js:128

Error: ENOENT, no such file or directory 'C:\tmp\atom.apib'
at Error (native)
at Object.fs.openSync (fs.js:503:18)
at Object.module.(anonymous function) [as openSync] (C:\Users\asdf\AppData\Local\atom\app-0.182.0\resources\atom\common\lib\asar.js:422:20)
at Object.fs.writeFileSync (fs.js:1116:15)
at ApiBlueprintPreviewView.module.exports.ApiBlueprintPreviewView.renderApiBlueprintText (C:\Users\asdf\.atom\packages\api-blueprint-preview\lib\api-blueprint-preview-view.coffee:149:10)
at ApiBlueprintPreviewView.module.exports.ApiBlueprintPreviewView.renderApiBlueprint (C:\Users\asdf\.atom\packages\api-blueprint-preview\lib\api-blueprint-preview-view.coffee:143:21)
at C:\Users\asdf\.atom\packages\api-blueprint-preview\lib\api-blueprint-preview.coffee:63:35
at _fulfilled (C:\Users\asdf\AppData\Local\atom\app-0.182.0\resources\app\node_modules\q\q.js:794:54)
at self.promiseDispatch.done (C:\Users\asdf\AppData\Local\atom\app-0.182.0\resources\app\node_modules\q\q.js:823:30)
at Promise.promise.promiseDispatch (C:\Users\asdf\AppData\Local\atom\app-0.182.0\resources\app\node_modules\q\q.js:756:13)
```
### Commands

```
-0:13.2 api-blueprint-preview:toggle (atom-text-editor.editor)
```
### Config

``` json
{
"core": {
"themes": [
"atom-dark-ui",
"atom-dark-syntax"
]
}
}
```
### Installed Packages

``` coffee
# User
api-blueprint-preview, v0.3.0

# Dev
No dev packages
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.