[SDK] "package-plugin" and "submit-plugin" missing tests
I'm trying to get a new developer set up and running with our SDK - it's been smooth sailing so far, but whenever he tries to run li package-plugin or li submit-plugin, it fails during the plugin-verify task with the output seen below.
He's using Cygwin for his terminal on a Windows 7, 64-bit PC.
The output from li package-plugin is:
$ li package-plugin [14:18:46] Loaded gulp tasks in: 1.66 s [14:18:46] Using gulpfile C:\stash\comm-outreach\swa-sdk-plugin\gulpfile.js [14:18:46] Starting 'plugin-build'... [14:18:46] Starting 'clean-tmp'... [14:18:46] Starting 'clean-plugin'... [14:18:46] Starting 'clean-plugin-zip'... [14:18:46] Finished 'clean-tmp' after 67 ms [14:18:46] Finished 'clean-plugin-zip' after 19 ms [14:18:46] Finished 'clean-plugin' after 84 ms [14:18:46] Starting 'clean'... [14:18:46] Finished 'clean' after 19 μs [14:18:46] Starting 'plugin-build-res'... [14:18:46] Starting 'plugin-build-web'... [14:18:46] Starting 'plugin-git-version'... [14:18:46] Finished 'plugin-git-version' after 45 μs [14:18:46] Failed to sync files [14:18:46] Finished 'plugin-build-res' after 63 ms [14:18:46] Failed to sync files [14:18:46] Finished 'plugin-build-web' after 49 ms [14:18:46] Finished 'plugin-build' after 199 ms [14:18:46] Starting 'plugin-verify'... [14:18:46] Tested 0 tests, 0 passes, 0 failures: PASS [14:18:46] Tested 0 tests, 0 passes, 0 failures: PASS [14:18:46] ✗ FAIL: Missing 2 expected files: res, res/** [14:18:46] Tested 1 tests, 0 passes, 1 failures: FAIL [14:18:46] 'plugin-verify' errored after 22 ms [14:18:46] [gulp] Error in plugin 'stream-sync': Errors Error in plugin 'gulp-expect-file' Failed 1 expectations [14:18:46] Done compiling plugin: C:\stash\comm-outreach\swa-sdk-plugin\plugin
The permissions, as seen via ls -la are:
$ ls -la total 650 drwxr-xr-x 1 e104142 1050513 0 May 22 14:18 . drwxr-xr-x 1 e104142 1050513 0 May 15 15:49 .. drwxr-xr-x 1 e104142 1050513 0 May 22 14:01 .git -rw-r--r-- 1 e104142 1050513 68 May 15 14:39 .gitignore -rw-r--r-- 1 e104142 1050513 1114 May 15 14:39 .stylelintrc drwxr-xr-x 1 e104142 1050513 0 May 22 13:39 .vscode -rw-r--r-- 1 e104142 1050513 60 May 15 14:39 gulpfile.js drwxr-xr-x 1 e104142 1050513 0 May 15 15:58 node_modules -rw-r--r-- 1 e104142 1050513 396 May 16 10:34 package.json drwxr-xr-x 1 e104142 1050513 0 May 22 14:18 plugin -rw-r--r-- 1 e104142 1050513 1541 May 15 14:39 README.md drwxr-xr-x 1 e104142 1050513 0 May 15 14:39 res -rw-r--r-- 1 e104142 1050513 43 May 15 14:39 sdk.conf.json -rw-r--r-- 1 e104142 1050513 228 May 15 15:59 server.conf.json -rw-r--r-- 1 e104142 1050513 192 May 15 14:39 template.server.conf.json drwxr-xr-x 1 e104142 1050513 0 May 15 14:39 web -rw-r--r-- 1 e104142 1050513 302091 May 16 10:34 yarn.lock
Any ideas on what might be missing that would cause his verify tasks to fail?
Can you please verify that rsync is installed?
If rsync is already installed, does it work if you run with sudo (or I guess the Cygwin equivalent)? If so, this would likely point to some kind of user permissions issue (not necessarily with the directory structure that's been checked out, but perhaps with the scripts that are being run).