Code Monkey home page Code Monkey logo

Comments (1)

jiey2016 avatar jiey2016 commented on July 1, 2024

出现这个错误的原因很简单,就是我在把玩cloud shell时启用了在线代码编辑器功能,并且把里面的文件全部删掉的后果。
好在有人已经碰到了这个问题,这里贴上链接:https://code.google.com/p/google-cloud-platform/issues/detail?id=139
由于邮件地址是匿名的,所以就不知道具体的提问和回答者了,不便提及,一并表示感谢。
看不懂的同学,我这里贴上答案,
直接在cloud shell命令界面输入如下两段代码:
第一段:
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi
第二段:
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi
然后重新使用作者提供的一键脚本就不会出错了~

from kindleear-uploader.

Related Issues (6)

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.