Open ghost opened 3 years ago
Hi, thanks for the bug report. I think this is probably an issue with the standard yarn
installation on Ubuntu. It looks like you have to manually add the output of yarn global bin
to your PATH directory and ensure you are using the actual path to your sfb-cli directory rather than the example path.
e.g.
$> yarn global bin
/home/ubuntu/.yarn/bin
$> export PATH="$PATH:/home/ubuntu/.yarn/bin"
$> yarn global add /home/ubuntu/scripts/alexa/skill-flow-builder/skill-flow-builder/packages/sfb-cli
$> alexa-sfb new test
Good catch! Seems to be OK in spite of warning about "invalid vscode engine"
[1/4] Resolving packages...
[2/4] Fetching packages...
warning @alexa-games/sfb-vscode-extension@2.1.0: The engine "vscode" appears to be invalid.
warning @alexa-games/sfb-vscode-extension@2.1.0: The engine "vscode" appears to be invalid.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Installed "@alexa-games/sfb-cli@2.1.0" with binaries:
- alexa-sfb
Done in 2.63s.
[tvDev :~/scripts/alexa/skill-flow-builder]$ alexa-sfb new test
Copying /home/ubuntu/.config/yarn/global/node_modules/@alexa-games/sfb-cli/samples/example_story/* to /home/ubuntu/scripts/alexa/skill-flow-builder/test...
✔ New story test is ready.
Perhaps a note to add to the docs? Thanks again!
@digitaltoast here is the same.
✘ sfb-vscode-extension: Build failed.
OS: Mac OS Big Sur
Maybe's a problem with the vscode directory.
Bug Report
Skill Flow Builder Version
2.0.0
ASK CLI Version
2.22.0
Current Behavior
SFB won't install
Expected Behavior
Should install
Steps to Reproduce
Follow exact steps on https://github.com/alexa-games/skill-flow-builder
Additional Information
Operating System
Ubuntu 20.04
Node Version
v14.15.3
Output
Note in particular "The engine "vscode" appears to be invalid."