Comments (5)
Yes, I have noticed the same problem. The documentation for how to set this up seems a bit outdated / incorrect.
I asked about this on Stackoverflow:
https://stackoverflow.com/questions/77570688/how-to-get-vs-code-devcontainer-to-execute-bash-command
I think the documentation / and or the initializeCommand should be improved to avoid everyone getting into the same issue.
from connectedhomeip.
@olavt can you think of any work arounds for this? I've tried all sorts of things to no avail. I guess it could be a problem with VSCode but I'd be ok with editing a config file and trying things out. Is there anyone on the CHIP team who would like to spend some time with me via zoom and work this out? I can document if needed
from connectedhomeip.
Editing the devcontainer.json file and change this line of code:
"initializeCommand": ".devcontainer/build.sh --tag matter-dev-environment:local --version 22"
to
"initializeCommand": "bash .devcontainer/build.sh --tag matter-dev-environment:local --version 22"
worked for me.
from connectedhomeip.
Thx olavt.
hmmm.
when I tried that I got a similar error message but now with "bash" passed as another argument to cmd.exe. Let me see if I can clear everything out and try again. I wonder if something is cached inside VS Code that needs to be cleared out.
from connectedhomeip.
I'm redoing this on my linux box and it appears successful. Still not sure why everyone can reset VSCode DevContainer windows to use bash vs. cmd and not me :-)
from connectedhomeip.
Related Issues (20)
- Dependabot fails with `there was not enough disk space available`
- [TC-RR-1.1] INFO Step 14: Setting group key map on fabric 6 Error . HOT 5
- Few follow ups on top of #32516
- [BUG] RVC app missing in SDK Docker image
- Basic Info cluster: add DeviceLocation attribute
- Do not set up subscription for remote controllers when delegate is set
- [Documentation] Linux dishwasher-app example README wrongly refers to lighting app
- [Documentation] Linux refrigerator-app example README wrongly refers to lighting app
- Add HomeLoc struct to chip-types.xml
- Add a location attribute to the Basic Information cluster
- [BUG] [Python] Read returns ReadResponse when subscription setup did not complete
- Address followup comments from https://github.com/project-chip/connectedhomeip/pull/33559
- [Feature] Add a metric when a ReadClient resubscribe is triggered.
- [Test Failed] TestAccessControlCluster.yaml is expecting wrong error on "too many subjects/targets" HOT 1
- [Documentation] Matter Linux Microwave Oven Example refers to Lighting app
- operate a light 32-bit.
- RVC Mode clusters: Remove Idle constraints.
- Write the test plan for Direct Mode Change feature HOT 1
- [Feature] Add Fabric RPC service to Fabric Admin
- [Feature] Add Fabric Bridge RPC service to Fabric Bridge
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 connectedhomeip.