-e Fetching dependencies
-e Building Inspector
Creating bundle directory...
Fetching Inspector dependencies...
npm WARN web-driver-inspector@1.0.0 No repository field.
Validating Inspector
Launching Flow server for /usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector
Spawned flow server (pid=565)
Logs will go to /private/tmp/flow/zSusrzSlocalzSlibzSnode_moduleszSappiumzSnode_moduleszS_appium-xcuitest-driver@2.30.0@appium-xcuitest-driverzSWebDriverAgentzSInspector.log
No errors!

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/app.js
12:18 error Unable to resolve path to module 'js/http' import/no-unresolved
13:20 error Unable to resolve path to module 'js/screen' import/no-unresolved
14:31 error Unable to resolve path to module 'js/screenshot_factory' import/no-unresolved
15:18 error Unable to resolve path to module 'js/tree' import/no-unresolved
16:22 error Unable to resolve path to module 'js/tree_node' import/no-unresolved
17:25 error Unable to resolve path to module 'js/tree_context' import/no-unresolved
18:23 error Unable to resolve path to module 'js/inspector' import/no-unresolved
27:14 error Missing space before function parentheses space-before-function-paren
32:13 error Missing space before function parentheses space-before-function-paren
37:20 error Missing space before function parentheses space-before-function-paren
41:18 error Missing space before function parentheses space-before-function-paren
48:13 error Expected property shorthand object-shorthand
55:12 error Missing space before function parentheses space-before-function-paren
64:9 error Missing space before function parentheses space-before-function-paren

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/http.js
13:13 error Missing space before function parentheses space-before-function-paren
13:20 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
19:7 error Unexpected var, use let or const instead no-var
20:7 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
25:14 error Missing space before function parentheses space-before-function-paren
25:27 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
29:7 error Expected property shorthand object-shorthand
32:7 error Unexpected var, use let or const instead no-var
33:7 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/image_utils.js
11:34 error Missing space before function parentheses space-before-function-paren
11:55 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
15:40 error Missing space before function parentheses space-before-function-paren
15:69 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
16:5 error Unexpected var, use let or const instead no-var
20:5 error Unexpected var, use let or const instead no-var
28:45 error Missing space before function parentheses space-before-function-paren
28:79 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
29:5 error Unexpected var, use let or const instead no-var
33:5 error Unexpected var, use let or const instead no-var
41:22 error Missing space before function parentheses space-before-function-paren
41:31 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
42:5 error Unexpected var, use let or const instead no-var
44:28 error Missing space before function parentheses space-before-function-paren
45:7 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/inspector.js
13:18 error Unable to resolve path to module 'js/http' import/no-unresolved
14:1 error Unexpected var, use let or const instead no-var
18:22 error Missing space before function parentheses space-before-function-paren
23:9 error Missing space before function parentheses space-before-function-paren
38:18 error Missing space before function parentheses space-before-function-paren
64:14 error Missing space before function parentheses space-before-function-paren
68:5 error Unexpected var, use let or const instead no-var
86:6 error Missing space before function parentheses space-before-function-paren
89:9 error Unexpected var, use let or const instead no-var
97:13 error Unexpected var, use let or const instead no-var
98:13 error Unexpected var, use let or const instead no-var

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/screen.js
13:18 error Unable to resolve path to module 'js/http' import/no-unresolved
15:1 error Unexpected var, use let or const instead no-var
20:9 error Missing space before function parentheses space-before-function-paren
45:22 error Missing space before function parentheses space-before-function-paren
46:5 error Unexpected var, use let or const instead no-var
53:13 error Missing space before function parentheses space-before-function-paren
57:20 error Missing space before function parentheses space-before-function-paren
58:5 error Unexpected var, use let or const instead no-var
59:5 error Unexpected var, use let or const instead no-var
61:5 error Unexpected var, use let or const instead no-var
63:5 error Unexpected var, use let or const instead no-var
73:9 error Unexpected var, use let or const instead no-var
77:13 error Expected property shorthand object-shorthand
78:13 error Expected property shorthand object-shorthand
88:7 error Missing space before function parentheses space-before-function-paren
98:19 error Missing space before function parentheses space-before-function-paren
111:24 error Missing space before function parentheses space-before-function-paren
124:34 error Missing space before function parentheses space-before-function-paren
125:5 error Unexpected var, use let or const instead no-var
130:5 error Unexpected var, use let or const instead no-var
133:5 error Unexpected var, use let or const instead no-var
137:75 error Missing space before opening brace space-before-blocks
138:9 error Expected indentation of 6 spaces but found 8 indent

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/screenshot_factory.js
10:24 error Unable to resolve path to module 'js/image_utils' import/no-unresolved
12:30 error Missing space before function parentheses space-before-function-paren
13:3 error Unexpected var, use let or const instead no-var
23:26 error Missing space before function parentheses space-before-function-paren
23:60 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
33:28 error Missing space before function parentheses space-before-function-paren
37:22 error Missing space before function parentheses space-before-function-paren
37:43 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
51:34 error Missing space before function parentheses space-before-function-paren
51:42 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks
52:5 error Unexpected var, use let or const instead no-var
58:5 warning Avoid callbacks. Prefer Async/Await promise/prefer-await-to-callbacks

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/tree.js
84:5 error Unexpected var, use let or const instead no-var

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/tree_context.js
11:14 error Missing space before function parentheses space-before-function-paren

/usr/local/lib/node_modules/appium/node_modules/_appium-xcuitest-driver@2.30.0@appium-xcuitest-driver/WebDriverAgent/Inspector/js/tree_node.js
11:19 error Missing space before function parentheses space-before-function-paren
19:5 error Unexpected var, use let or const instead no-var
106 problems (93 errors, 13 warnings)


↙↙↙阅读原文可查看相关链接,并与作者交流