Open mrburrito opened 8 years ago
try download and copy from https://github.com/karma-runner/karma-phantomjs-launcher to ./node_modules and, vi package.json delete the line include the 'phantomjs-prebuilt'. then 'npm install' at ./node_modules/karma-phantomjs-launcher/
I was trying to get jslab up and running this morning and kept running into this error when running
node install
. I tried uninstalling/reinstalling node (5.6.0) and PhantomJS; both the olderphantomjs
name and newerphantomjs-prebuilt
. Looks like it might be version conflicts or something like that. Thenpm install -g gulp phantomjs karma
completes successfully, but installs version 2.1.3 of PhantomJS instead of 1.9.19, which is what jslab is looking for. Output fromnpm install
below: