Giter VIP home page Giter VIP logo

Comments (5)

Makr91 avatar Makr91 commented on August 17, 2024

I am getting similar when trying the same with

root@ha:/home/pi/Alexa-Chromecast-Skill-2.0# ./start.sh
./start.sh: line 7: .env: No such file or directory

With or without sudo, bash start.sh , sh start.sh etc

from alexa-chromecast-skill-2.0.

waxhell avatar waxhell commented on August 17, 2024

I had to use the following workaround, but note that I am not running on a RPi, but rather a Pogoplug_E02 running Arch Linux. I figured it was because my environment was different.

Updated the first line of all of the scripts to use the following:

#!/usr/bin/bash -e

rather than the default

#!/usr/bin/env bash -e

from alexa-chromecast-skill-2.0.

CoryPulm avatar CoryPulm commented on August 17, 2024

Confirmed, even on raspi this error occurs, switching to
#!/bin/bash -e
instead works on latest Raspbian (Stretch) as well

from alexa-chromecast-skill-2.0.

rafiahmad80 avatar rafiahmad80 commented on August 17, 2024

I faced the issue and had to replace "#!/usr/bin/env bash -e" with "#!/bin/bash -e" in all .sh files while installing on my Raspberry pi 3. There should be a better fix of this issue which can switch bash depending upon the OS.

from alexa-chromecast-skill-2.0.

jinxo13 avatar jinxo13 commented on August 17, 2024

Changed in the latest release to use #!/bin/bash.

Recommend closing.

from alexa-chromecast-skill-2.0.

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.