I have this error spawn keytool

spawn keytool ENOENT
Error: spawn keytool ENOENT
at notFoundError (C:\Users\saman\AppData\Roaming\npm\node_modules\expo-cli\node_modules\cross-spawn\lib\enoent.js:6:26)
at verifyENOENT (C:\Users\saman\AppData\Roaming\npm\node_modules\expo-cli\node_modules\cross-spawn\lib\enoent.js:40:16)
at ChildProcess.cp.emit (C:\Users\saman\AppData\Roaming\npm\node_modules\expo-cli\node_modules\cross-spawn\lib\enoent.js:27:25)
at Process.ChildProcess._handle.onexit (internal/child_process.js:248:12)

How to solve?

Depends what you are doing, some of the operations require keytool and some of them have an alternative. `keytool needs to be in your PATH, normally it’s included with java installation (JDK).

1 Like

This topic was automatically closed 20 days after the last reply. New replies are no longer allowed.