Error: Watchman error: std::__1::system_error: open: /Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp: Operation not permitted. Make sure watchman is running for this project. See Troubleshooting | Watchman.
/Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/metro-hermes-compiler/src/emhermesc.js:77
throw ex;
^
Error: std::__1::system_error: open: /Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp: Operation not permitted
at BunserBuf. (/Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/fb-watchman/index.js:99:23)
at BunserBuf.emit (node:events:513:28)
at BunserBuf.process (/Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/bser/index.js:292:10)
at /Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/bser/index.js:247:12
at processTicksAndRejections (node:internal/process/task_queues:78:11)
Emitted ‘error’ event on WatchmanWatcher instance at:
at Client. (/Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/jest-haste-map/build/lib/WatchmanWatcher.js:172:10)
at Client.emit (node:events:513:28)
at BunserBuf. (/Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/fb-watchman/index.js:111:12)
at BunserBuf.emit (node:events:513:28)
at /Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp/node_modules/bser/index.js:249:12
at processTicksAndRejections (node:internal/process/task_queues:78:11) {
watchmanResponse: {
error: ‘std::__1::system_error: open: /Users/xxxxx/Documents/myDocs/workspace_Amazon_Kepler_SDK/KeplerTestApp/KeplerTestApp: Operation not permitted’,
version: ‘2023.08.28.00’
}
}
Thanks this helped and I moved the KeplerVideoApp project. It worked from the CLI but not from the VS Extension. This is the log:
set -x +H # turn off history substitution
grep_result=$(vpm list packages | grep -w “com.amazon.keplervideoapp”)
if [[ “$?” -eq 0 && -n “${grep_result}” ]]; then
exit 0
else
exit 1
fi
Last login: Wed Sep 27 13:10:12 2023 from 10.0.2.2
root@amazon-f23a093ff01e1845:~# set -x +H # turn off history substitution
<5:~# grep_result=$(vpm list packages | grep -w “com.amazon.keplervideoapp”)
++ vpm list packages
++ grep -w com.amazon.keplervideoapp
grep_result=
<5:~# if [[ “$?” -eq 0 && -n “${grep_result}” ]]; then
exit 0
else
exit 1
fi
[[ 1 -eq 0 ]]
exit 1
logout
Connection to localhost closed.
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @
@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ED25519 key sent by the remote host is
SHA256:QC0Ab3dqQnWeqtGeiHHorrs4ZiB3J/4Hq+ppG/82Qj0.
Please contact your system administrator.
Add correct host key in /Users/xxxx/.ssh/known_hosts to get rid of this message.
Offending ED25519 key in /Users/xxxx/.ssh/known_hosts:6
Password authentication is disabled to avoid man-in-the-middle attacks.
Keyboard-interactive authentication is disabled to avoid man-in-the-middle attacks.
UpdateHostkeys is disabled because the host key is not trusted.
Last login: Wed Sep 27 15:55:15 2023 from 10.0.2.2
set -x +H # turn off history substitution
if [[ -e “/data/KeplerVideoApp_x86_64.vpkg” ]]; then
vpm install “/data/KeplerVideoApp_x86_64.vpkg”
exit $?
else
echo -e “\n/data/KeplerVideoApp_x86_64.vpkg does not exist on simulator file system!”
fi
root@amazon-f23a093ff01e1845:~# set -x +H # turn off history substitution
<5:~# if [[ -e “/data/KeplerVideoApp_x86_64.vpkg” ]]; then
vpm install “/data/KeplerVideoApp_x86_64.vpkg”
exit $?
else
<VideoApp_x86_64.vpkg does not exist on simulator file system!"
fi
Hi Anisha,
I have re-installed the Kepler SDK and now trying to build the KeplerVideoApp from VSCode. I followed the instructions provided in the documentation and set the source. But the ‘kepler’ command does not work from VSCode. Do you have any documentation for the VSCode setup to build and run the sample KeplerVideoApp?
From the terminal in VS code. I ran the ‘chsh -s /bin/zsh’ command from the terminal in VScode and also the 'source /Users/sockam03/.kepler/kntools/environment-setup-sdk.sh ’
But when I run ‘kepler build’ from the VSCode terminal I get ‘bash: kepler: command not found’
I ran the source command again in the VSCode terminal again - echo ‘source ~/.kepler/kntools/environment-setup-sdk.sh’ >> ~/.zshrc
But the kepler command from the KeplerVideoApp does not work.
If this would help - All of this worked through the Mac terminal but not in VSCode. This is the output from the kepler platform doctor on the Mac terminal.