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

CLI crash on Mac #129

Closed
elsassph opened this issue Jul 4, 2020 · 3 comments · Fixed by #130
Closed

CLI crash on Mac #129

elsassph opened this issue Jul 4, 2020 · 3 comments · Fixed by #130
Labels
bug Something isn't working

Comments

@elsassph
Copy link
Contributor

elsassph commented Jul 4, 2020

I've picked a random Roku sample, which works nicely in VSCode and is following the default organisation, but I can't get it to work as .bs (on Mac):

  • command line bsc (no bsconfig.json) fails with some [Error: EACCES: permission denied, mkdir '/source'], which possibly means some config defaults don't work,
  • VSCode "Debug" doesn't automatically transpile; did I miss maybe an argument in the launch configuration?
@TwitchBronBron
Copy link
Member

I was just made aware of a yesterday relating to the back command line not working on certain operating systems. To get around this for now, try specifying outDir and stagingFolderPath...for some reason that fixes it for some people. This is on my list to fix early next week.

And no, the extension does not yet currently transpile brighterscript, that's on the road map.

@elsassph
Copy link
Contributor Author

elsassph commented Jul 4, 2020

Ok, can confirm that setting "stagingFolderPath": "out/staging" solves the CLI issue on Mac at least.

@elsassph elsassph changed the title VSCode configuration instructions CLI crash on Mac Jul 4, 2020
@TwitchBronBron TwitchBronBron added the bug Something isn't working label Jul 6, 2020
@TwitchBronBron
Copy link
Member

This has been fixed in v0.10.11

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

Successfully merging a pull request may close this issue.

2 participants