danielgtaylor / atom-api-blueprint-preview

Live preview API Blueprint in Atom
MIT License
43 stars 19 forks source link

Previewing ApiBlueprint Failed #42

Open stianborgesen opened 8 years ago

stianborgesen commented 8 years ago

I'm trying to preview my docs in atom, but I get the following message:

Command failed: /bin/sh -c aglio -i /tmp/atom.apib -t /Users/stianborgesen/.atom/packages/api-blueprint-preview/templates/api-blueprint-preview.jade -o -

My apm packages are: api-blueprint-preview@0.5.1

My npm packages are: ├─┬ aglio@2.0.4 │ ├─┬ aglio-theme-olio@1.2.1

Is there a way around this?

danielgtaylor commented 8 years ago

@stianborgesen can you run the above command manually? Is Aglio installed globally? Anything else you can tell me to help debug this?

gcoderre commented 8 years ago

I'm seeing a lot of of these errors too. They happen intermittently.

Previewing ApiBlueprint Failed

Command failed: /bin/sh -c aglio -i /tmp/atom.apib -t /Users/guillaume/.atom/packages/api-blueprint-preview/templates/api-blueprint-preview.jade -n /Users/guillaume/Workspaces/laok/api-schema -o - >> { [Error: Error reading input: ENOENT, open '/tmp/atom.apib'] errno: -2, code: 'ENOENT', path: '/tmp/atom.apib' }
notabeatle commented 8 years ago

A "me too" here. It happens when the preview auto-updates after typing. Same ENOENT error. Seems worse when I type quickly. Feels like a race condition.

lazlo-bonin commented 7 years ago

Still happening.

yangwao commented 7 years ago

I can confirm this.

knasim commented 6 years ago

yes still happening