javascript - Karma "not found" in NetBeans after upgrading to Yosemite -



javascript - Karma "not found" in NetBeans after upgrading to Yosemite -

i have war project in netbeans uses karma jasmine unit-test javascript files. platform mac os x. things worked should under mavericks, after upgraded yosemite, no longer works, error message :

failed execute goal com.kelveden:maven-karma-plugin:1.8:start (default) on project insight-war: there error executing karma. cannot run programme "karma" (in directory "/users/thja/documents/projects/kpi2010_core/webgis/insight-war"): error=2, no such file or directory -> [help 1]

it tries execute next command, printed in log:

karma start /users/thja/documents/projects/kpi2010_core/webgis/insight-war/src/main/webapp/config/karma.conf.js --browsers phantomjs --reporters dots,junit --single-run --no-auto-watch --colors true

i can run exact same command in terminal without problem - executes , give test results. which karma gives result /usr/local/bin/karma, , /usr/local/bin part of global path.

is there prepare 1 can this, or have post issue @ maven karma plugin page?

platform:

mac os x 10.10 yosemite. netbeans 8.0.1 maven-karma-plugin 1.8 java 1.7.0_45

it seems related yosemite turning off /etc/launchd.conf, netbeans doesn't right path variable - not straight related karma.

i fixed setting path=${path}:/usr/local/bin in netbeans.conf (within netbeans app package). karma part of build script runs within netbeans.

javascript netbeans karma-runner osx-yosemite

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -