Replies: 2 comments 1 reply
|
I think the issue is that when you do an export as your regular user, then use sudo to run the script, it does not preserve your user's exports. There's two ways to get around that from what I remember.
Of these options I believe the first one is best (using -E for sudo exposes ALL user variables, and may expose unexpected/undersired varibles, whereas the first option exposes only the specific one(s) you are setting in the command). |
0 replies
|
Thank you @nikito this was exactly it. Really appreciate your help. |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
First of all, I'm excited to get this going, and have been following along in the community.
I'm at the point of the README.MD where I am finally ready to flash the build. I'm a bit of a newbie here, but after identifying where the USB is located on my Linux box, running the export command, I'm having trouble setting the PORT environment variable when trying to erase the factory flash. Receiving the error:
You need to define the PORT environment variable to do serial stuff - exitingHelp on what I'm missing? Thanks
All reactions