gpt4 book ai didi

ruby-on-rails - 环境 : node\r: No such file or directory with browserify-rails

转载 作者:数据小太阳 更新时间:2023-10-29 08:03:10 27 4
gpt4 key购买 nike

一切顺利。想使用 ios 模拟器,但 xcode 想更新。为什么不?做过某事。一切都好。完成 git 添加、提交和 merge 。 merge 后:

Error while running /Users/sylar/Sites/rails/demo/node_modules/.bin/browserifyinc --transform reactify --extension=".jsx" --list --cachefile=/Users/sylar/Sites/rails/demo/tmp/cache/browserify-rails/browserifyinc-cache.json -o "/Users/sylar/Sites/rails/demo/tmp/cache/browserify-rails/output20160319-1425-142q6j7" -:

env: node\r: No such file or directory

我在 Mac 10.11.13

运行这些命令但没有任何改变:rake tmp:cache:clearrm -rf ./tmp

听说这个问题是由 git commit 引起的,但不确定它是如何工作的。我所做的只是更新了 xcode,然后是 git merge。检查最后一个工作分支但同样的问题。

最佳答案

您有一个以 shebang 结尾的 dos 行脚本的行(\r\n 而不是 \n,并且也可能已在其他行中复制);执行 fromdos在脚本文件上你可以使用tr like

tr -d '\015' < scriptfile > scriptfile.new

然后

mv scriptfile.new scriptfile

关于ruby-on-rails - 环境 : node\r: No such file or directory with browserify-rails,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36106525/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com