在Mac OS X 10.12.1上使用Brew for Node,NPM,Bower等进行冲突

时间:2016-12-08 22:44:19

标签: python node.js macos npm homebrew

我真的很抱歉,如果已经在另一个帖子中回答了这个问题,但我搜索了其他Brew-Node(Mac)问题,并且无法真正找到我收到的错误。我已经使用Brew安装了node / npm,但是通过安装&的过程。玩不同的套餐/模块,我似乎搞砸了一切...

我不确定如何解释错误,但我只是展示CLI,看看你们是否可以提供帮助。请非常具体,我是Brew&的新手。节点一般,所以请考虑到这一点。感谢任何有解决方案或建议的人!

<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/>
<button class="search-popup btn" id="annual-revenue-button" type="button"></button>


<form class="form-inline revenue">
  <div class="form-group">
    <label>Annual Revenue</label>
    <select name="revenueFrom" class="form-control" id="revenueFrom">
      <option value="" selected disabled>From:</option>
      <option value="0">$0</option>
      <option value="1">$500,000</option>
      <option value="2">$1 Million</option>
      <option value="3">$2.5 Million</option>
      <option value="4">$5 Million</option>
    </select>
    <select name="revenueTo" class="form-control to" id="revenueTo">
      <option value="" selected disabled>To:</option>
      <option value="0">$0</option>
      <option value="1">$500,000</option>
      <option value="2">$1 Million</option>
      <option value="3">$2.5 Million</option>
      <option value="4">$5 Million</option>
    </select>
  </div>
</form>

这是我运行Please note that these warnings are just used to help the Homebrew maintainers with debugging if you file an issue. If everything you use Homebrew for is working fine: please don't worry and just ignore them. Thanks! Warning: "config" scripts exist outside your system or Homebrew directories. `./configure` scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking. Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. We found the following "config" scripts: /Library/Frameworks/Python.framework/Versions/2.7/bin/python-config /Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config Warning: Python is installed at /Library/Frameworks/Python.framework Homebrew only supports building against the System-provided Python or a brewed Python. In particular, Pythons installed to /Library can interfere with other software installs. Warning: You have unlinked kegs in your Cellar Leaving kegs unlinked can lead to build-trouble and cause brews that depend on those kegs to fail to run properly once built. Run `brew link` on these: node 时显示的内容。

然后,当我尝试brew doctorbrew install node

时就会出现这种情况
brew link --overwrite node

我甚至不知道从哪里开始,我知道它与顶部的Python冲突,但当我查看PythonFramework(Mac Frameworks)文件夹时,有3个不同的版本,我不知道如何清除冲突的文件,因为OS X不允许我删除任何,即使有管理员权限。

令人难以置信的令人沮丧,我真的需要Node / NPM正常运行才能处理我的编码训练营项目。谢谢!

0 个答案:

没有答案