我试图在第7章“学习AngularJS”Ken Williamson的早期版本中,在Windows 7上运行Netbeans 8中的Karma。
以下是IDE日志部分:
java.io.IOException: CreateProcess error=193, %1 is not a valid Win32 application
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:385)
at java.lang.ProcessImpl.start(ProcessImpl.java:136)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1022)
Caused: java.io.IOException: Cannot run program "C:\Users\...\AppData\Roaming\npm\node_modules\karma-cli\bin\karma" (in directory "C:\Users\...\jee6withNetbeans7\AngularJsHelloWorld_chapter4"): CreateProcess error=193, %1 is not a valid Win32 application
提前感谢您的帮助