Help to fix "Missing mandatory openwhisk configuration property: OW_APIHOST"

I’m trying to get started with Serverless using IBM Cloud OpenWhisk (aka Cloud Functions).

I did follow the instructions at

(BTW, I can’t find the .wskprops file anywhere on my hard drive)

I get this error message with SLS_DEBUG=*

Thanks in advance.

$ serverless deploy function -f hello
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command create
Serverless: Load command install
Serverless: Load command package
Serverless: Load command deploy
Serverless: Load command deploy:function
Serverless: Load command deploy:list
Serverless: Load command deploy:list:functions
Serverless: Load command invoke
Serverless: Load command invoke:local
Serverless: Load command info
Serverless: Load command logs
Serverless: Load command login
Serverless: Load command logout
Serverless: Load command metrics
Serverless: Load command print
Serverless: Load command remove
Serverless: Load command rollback
Serverless: Load command rollback:function
Serverless: Load command slstats
Serverless: Load command plugin
Serverless: Load command plugin
Serverless: Load command plugin:install
Serverless: Load command plugin
Serverless: Load command plugin:uninstall
Serverless: Load command plugin
Serverless: Load command plugin:list
Serverless: Load command plugin
Serverless: Load command plugin:search
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Load command config
Serverless: Load command config:credentials
Serverless: Invoke deploy:function
Serverless: Packaging function: hello…
Serverless: Excluding development dependencies…
Serverless: Deploying function: hello…

Error --------------------------------------------------

Missing mandatory openwhisk configuration property: OW_APIHOST. Check .wskprops file or set environment variable?

 For debugging logs, run again after setting the "SLS_DEBUG=*" environment variable.

Stack Trace --------------------------------------------

Error: Missing mandatory openwhisk configuration property: OW_APIHOST. Check .wskprops file or set environment variable?
at credentials.forEach.prop (C:\my_folder\Serverless_Projects\hello\node_modules\serverless-openwhisk\provider\openwhiskProvider.js:47:15)
at Array.forEach ()
at hasValidCreds (C:\my_folder\Serverless_Projects\hello\node_modules\serverless-openwhisk\provider\openwhiskProvider.js:45:17)
at
From previous event:
at PluginManager.invoke (C:\Users\Juan Esteban\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:390:22)
at PluginManager.run (C:\Users\Juan Esteban\AppData\Roaming\npm\node_modules\serverless\lib\classes\PluginManager.js:421:17)
at variables.populateService.then.then (C:\Users\Juan Esteban\AppData\Roaming\npm\node_modules\serverless\lib\Serverless.js:157:33)
at runCallback (timers.js:810:20)
at tryOnImmediate (timers.js:768:5)
at processImmediate [as _immediateCallback] (timers.js:745:5)
From previous event:
at Serverless.run (C:\Users\Juan Esteban\AppData\Roaming\npm\node_modules\serverless\lib\Serverless.js:144:8)
at serverless.init.then (C:\Users\Juan Esteban\AppData\Roaming\npm\node_modules\serverless\bin\serverless:43:50)
at

Your Environment Information -----------------------------
OS: win32
Node Version: 8.12.0
Serverless Version: 1.31.0

I found the solution.
In my case, I had to set the env. variable
WSK_CONFIG_FILE
to point to the .wskprops file.

WSK_CONFIG_FILE=C: \ myDirectory \ .wskprops
(no actual spaces necessary)

It is fixed now.