qi created CB-5438: ---------------------- Summary: Can't buil/tes cordova-js on Windows Key: CB-5438 URL: https://issues.apache.org/jira/browse/CB-5438 Project: Apache Cordova Issue Type: Bug Components: CordovaJS Affects Versions: Master Environment: Windows 8 x64 Node v0.10.13 Reporter: qi Priority: Critical
Simply run 'grunt build', got, Running "jshint:src" (jshint) task Linting lib/test/androidexec.js ...ERROR [L1:C1] E030: Expected an identifier and instead saw '.'. ../android/exec.js [L1:C2] E033: Expected an operator and instead saw '.'. ../android/exec.js [L1:C3] E033: Expected an operator and instead saw '/'. ../android/exec.js [L1:C4] W033: Missing semicolon. ../android/exec.js [L1:C4] W015: Expected 'android' to have an indentation at 1 instead at 4. ../android/exec.js [L1:C19] W033: Missing semicolon. ../android/exec.js [L1:C4] W117: 'android' is not defined. ../android/exec.js [L1:C12] W117: 'exec' is not defined. ../android/exec.js Linting lib/test/iosexec.js ...ERROR [L1:C1] E030: Expected an identifier and instead saw '.'. ../ios/exec.js [L1:C2] E033: Expected an operator and instead saw '.'. ../ios/exec.js [L1:C3] E033: Expected an operator and instead saw '/'. ../ios/exec.js [L1:C4] W033: Missing semicolon. ../ios/exec.js [L1:C4] W015: Expected 'ios' to have an indentation at 1 instead at 4. ../ios/exec.js [L1:C15] W033: Missing semicolon. ../ios/exec.js [L1:C4] W117: 'ios' is not defined. ../ios/exec.js [L1:C8] W117: 'exec' is not defined. ../ios/exec.js Warning: Task "jshint:src" failed. Use --force to continue. -- This message was sent by Atlassian JIRA (v6.1#6144)