Giter Site home page Giter Site logo

[BUG] I'm sorry to stir the pot for something that may not be a Documentation bug, but the VSCODE Readme doesn' about connectedhomeip HOT 5 OPEN

kencottrell avatar kencottrell commented on May 26, 2024
[BUG] I'm sorry to stir the pot for something that may not be a Documentation bug, but the VSCODE Readme doesn'

from connectedhomeip.

Comments (5)

olavt avatar olavt commented on May 26, 2024

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.

kencottrell avatar kencottrell commented on May 26, 2024

@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.

olavt avatar olavt commented on May 26, 2024

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.

kencottrell avatar kencottrell commented on May 26, 2024

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.

kencottrell avatar kencottrell commented on May 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.