Comments (3)
It would be helpful to see the error message from stagehand
.
from stagehand.
If the error is coming from VS Code, the issue is that the PATH
that VS Code has does not include the path shown at the top. The log prints the full environment PATH
as:
[8:37:48 PM] [General] [Info] Environment PATH:
[8:37:48 PM] [General] [Info] /usr/local/sbin
[8:37:48 PM] [General] [Info] /usr/local/bin
[8:37:48 PM] [General] [Info] /usr/sbin
[8:37:48 PM] [General] [Info] /usr/bin
[8:37:48 PM] [General] [Info] /sbin
[8:37:48 PM] [General] [Info] /bin
[8:37:48 PM] [General] [Info] /usr/games
[8:37:48 PM] [General] [Info] /usr/local/games
[8:37:48 PM] [General] [Info] /snap/bin
My guess is that this is because you're setting the path in .bashrc
and that you're not launching VS Code from bash, so it's not inheriting that.
Unfortunately I don't know a reliable way to set PATH
on Linux that applies to all processes (it may vary between distributions) - although if you know of one it would be good to update this page with instructions.
from stagehand.
Closing as external
from stagehand.
Related Issues (20)
- Release stagehand HOT 1
- add a 'console-simple' template HOT 2
- Templates don't follow dart.dev guidance for pubspec.lock HOT 1
- remove the 'web-stagexl' template HOT 1
- Release 3.3.9 HOT 1
- Code Generator Project Scaffold HOT 6
- Deprecate & discontinue package HOT 18
- Instructions say "run your app using `dart bin/__projectName__.dart`" HOT 1
- Can't upgrade to 3.3.9 HOT 2
- stagehand --web-simple Target of URI doesn't exist HOT 1
- "Can't load Kernel binary: Invalid SDK hash" HOT 1
- Provide a template for Readme.md HOT 8
- Could not find a file named "pubspec.yaml" in example folder HOT 20
- Migrate CI to Github Actions HOT 2
- "stagehand" command not found in Git Bash on Windows 10 HOT 2
- .pub-cache/bin/stagehand: 8: dart: not found HOT 8
- [Feature] Support create null-safety package HOT 6
- pub: command not found HOT 2
- Scaffold a file with build rules on project creation?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stagehand.