如何使用带有角度飞镖的花生包在github页面上部署项目?

时间:2019-05-29 17:04:57

标签: dart angular-dart

它抛出一个错误     客栈全球激活花生

Pub将可执行文件安装到$ HOME / .pub-cache / bin中,该文件不在路径中。 您可以通过将其添加到Shell的配置文件(.bashrc,.bash_profile等)中来解决此问题:

export PATH =“ $ PATH”:“ $ HOME / .pub-cache / bin”

活化花生3.2.1

我已将以下路径添加到 .bash_profle

export PATH="$PATH:/Users/tusharrai/development/flutter/bin"
export PATH="$PATH:/Users/tusharrai/development/flutter/.pub-cache/bin"
export PATH="$PATH:/Users/tusharrai/development/flutter/bin/cache/dart-sdk/bin"
export PATH="$PATH:/Users/tusharrai/development/flutter/bin/cache/dart-sdk.pub-cache/bin"

1 个答案:

答案 0 :(得分:0)

我会避免将所有过去都添加到您的@contextmanager def acquire_lock(self, path, identifier): lock = zk.Lock(path, identifier) def my_listener(state): if state == KazooState.LOST: lock.release() elif state == KazooState.SUSPENDED: ... try: retry = KazooRetry() # etc 中。

相反,只需运行.bash_profile