Skip to content

execvp(): No such file or directory #1

Description

@pavelsenko

Установка прошла с предупреждениями, ../deps/libexpat/lib/xmltok.c:471:1: warning: missing field 'isName2' initializer [-Wmissing-field-initializers]
};), сообщений об ошибках не было, хотя npm ls показывает, что не все в порядке.

Код:
office.parse('/Users/psenko/Documents/testjs.xlsx',function(err,data) {
// console.log(data.sheets);
return 'testing xls!';
});

при вызове на консоли появляется ошибка
execvp(): No such file or directory


Mac OS X 10.7.5

psenko-mac:p psenko$ npm ls
npm WARN package.json project@0.0.1 No README.md file found!
project@0.0.1 /private/var/www/p
├─┬ hapi@0.7.1
│ ├── async@0.1.22
│ ├─┬ handlebars@1.0.7
│ │ ├─┬ optimist@0.3.5
│ │ │ └── wordwrap@0.0.2
│ │ └── uglify-js@1.2.6
│ ├── hoek@0.0.10
│ ├── joi@0.0.4
│ ├── mac@0.1.0
│ ├── redis@0.8.1
│ ├─┬ request@2.11.4
│ │ ├─┬ form-data@0.0.4
│ │ │ ├── async@0.1.22
│ │ │ └─┬ combined-stream@0.0.3
│ │ │ └── delayed-stream@0.0.5
│ │ └── mime@1.2.7
│ ├── shot@0.0.4
│ └─┬ ws@0.4.22
│ ├── commander@0.6.1
│ ├── options@0.0.3
│ └── tinycolor@0.0.1
├─┬ mocha@1.1.0
│ ├── commander@0.5.2
│ ├── debug@0.7.0
│ ├── diff@1.0.2
│ ├── growl@1.5.1
│ └─┬ jade@0.20.3
│ └── mkdirp@0.3.4
├─┬ nconf@0.5.1
│ ├── async@0.1.22
│ ├── ini@1.0.5
│ ├─┬ optimist@0.3.5
│ │ └── wordwrap@0.0.2
│ └── pkginfo@0.2.3
├─┬ office@0.0.5 extraneous
│ ├── temp@0.4.0
│ └─┬ xml2json@0.3.2
│ └── node-expat@2.0.0
├─┬ optimist@0.3.4
│ └── wordwrap@0.0.2
├── request@2.9.203
└── should@0.5.1

npm ERR! extraneous: office@0.0.5 /private/var/www/p/node_modules/office
npm ERR! not ok code 0

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions