争论列表对于一切都太长了

时间:2014-11-19 22:48:59

标签: macos command-line terminal

我正在使用OS X,而且我也开始获得#Argument list'渴望一切,发生了什么?

user $ node app.js
env: node: Argument list too long
user $ npm install node
env: node: Argument list too long
user $ npm
env: node: Argument list too long
user $ node
env: node: Argument list too long

另外

getconf ARG_MAX gives me 262144
ulimit -s gives me 8192

我的回音$ PATH是

/usr/local/heroku/bin:/Users/jo/perl5/perlbrew/bin:/Users/jo/perl5/perlbrew/perls/perl-5.16.0/bin:/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/3.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin

帮助将深表感谢。

head / usr / bin / node显示:

#!/usr/bin/env node
'use strict';
var cli = require('../lib/cli'),
    nodemon = require('../lib/'),
    updateNotifier = require('update-notifier'),
    // checks for available update and returns an instance
    notifier = updateNotifier({ packagePath: '../package' });

if (notifier.update) {
  // notify using the built-in convenience method

文件/ usr / bin / node显示:

/usr/bin/node: a node script text executable

哪个节点显示:

/usr/bin/node

0 个答案:

没有答案