mink

nodejs cannot find module 'zombie' with PHP mink

戏子无情 提交于 2019-11-26 22:10:39
问题 I'm trying out Mink (PHP) on Ubuntu 14.04; I basically did the following: $ apt-show-versions nodejs nodejs:amd64/trusty 0.10.45-1nodesource1~trusty1 uptodate $ npm -v 2.15.1 $ sudo npm install -g zombie npm WARN engine zombie@4.2.1: wanted: {"node":"^4.0.0"} (current: {"node":"0.10.45","npm":"2.15.1"}) ... zombie@4.2.1 /usr/lib/node_modules/zombie ├── ms@0.7.1 ├── debug@2.2.0 ... $ ls /usr/lib/node_modules/zombie/node_modules/ babel-runtime bluebird debug eventsource iconv-lite jsdom lodash