Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./scripts/create-example.sh: line 74: open: command not found #254

Closed
tohidplus opened this issue Jun 3, 2021 · 1 comment
Closed

./scripts/create-example.sh: line 74: open: command not found #254

tohidplus opened this issue Jun 3, 2021 · 1 comment
Labels
bug Something isn't working

Comments

@tohidplus
Copy link

I followed the steps in the documentation one by one. But when I run the command npm run create-example and give it the name abc, I get the error below:

Successfully created the new Spec abc!

Start editing it at dev/abc.ts... We're opening it for you now!

./scripts/create-example.sh: line 74: open: command not found
npm ERR! code 127
npm ERR! path /home/myname/fig-autocomplete
npm ERR! command failed
npm ERR! command sh -c ./scripts/create-example.sh

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/myname/.npm/_logs/2021-06-03T15_43_09_533Z-debug.log

My OS is ubuntu 20.04.2 LTS

@tohidplus tohidplus added the bug Something isn't working label Jun 3, 2021
@tohidplus tohidplus changed the title command sh -c "$npm_execpath" run build && source scripts/dev.sh ./scripts/create-example.sh: line 74: open: command not found Jun 3, 2021
@mschrage
Copy link
Member

mschrage commented Jun 4, 2021

It seems like the open command does not exist on linux.

As a heads up, the bigger issues you'll run into when developer completion specs is that currently Fig only supports macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants