2020-07-16 06:42:16 UTC - Ning yougang: I contributed a pr in openwhisk-deploy-kube(activation store backend: ElasticSearch): <https://github.com/apache/openwhisk-deploy-kube/pull/620> Welcome review partyparrot : Rodric Rabbah https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594881736111200 ---- 2020-07-16 20:59:25 UTC - James Kim: Hi folks. I'm trying to get openwhisk standalone to work on Windows 10 PowerShell/GitBash with the quick start instructions. However, after running this command `./gradlew core:standalone:build` , I get these errors:
`Build using Scala 2.12` `Scala sub-project 'gatling_tests' doesn't have Scoverage applied and will be ignored in parent project aggregation` `> Task :common:scala:compileScala` `Pruning sources from previous analysis, due to incompatible CompileSetup.` `> Task :core:invoker:compileScala` `Pruning sources from previous analysis, due to incompatible CompileSetup.` `> Task :core:controller:compileScala` `Pruning sources from previous analysis, due to incompatible CompileSetup.` `> Task :tools:admin:compileScala` `Pruning sources from previous analysis, due to incompatible CompileSetup.` `> Task :core:standalone:compileScala` `Pruning sources from previous analysis, due to incompatible CompileSetup.` `> Task :core:standalone:copyGWActions FAILED` `FAILURE: Build failed with an exception.` `* Where:` `Build file 'C:\Users\James_kim3\openwhisk\core\standalone\build.gradle' line: 64` `* What went wrong:` `Execution failed for task ':core:standalone:copyGWActions'.` `> Execute failed: <http://java.io|java.io>.IOException: Cannot run program "npm.cmd" (in directory "C:\Users\James_kim3\openwhisk\core\routemgmt\createApi"): CreateProcess error=2, The system cannot find the file specified` `* Try:` `Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.` `* Get more help at <https://help.gradle.org>` I understand that the problem is that the npm.cmd is not found in the directory but I'm not sure if I need to manually install that and if so, where would I need to visit to install that. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933165113500?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:04:24 UTC - Rodric Rabbah: you can also skip installation of the api gateway if you don’t need it (usually for local dev and testing you don’t) do you have `npm` installed? whisking : Upkar Lidder https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933464114100?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:05:00 UTC - James Kim: I'm trying to run locally just to test helloworld function and stuff. https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933500114300?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:05:11 UTC - James Kim: I don't think I have npm installed on windows https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933511114500?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:05:44 UTC - Rodric Rabbah: there’s a flag to skip the gateway installation https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933544114700?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:05:47 UTC - James Kim: how can I run ./gradlew core:standalone:build and skip installation for the api gateway? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933547114900?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:06:01 UTC - Rodric Rabbah: have to check i dont recall off the top https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933561115100?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:06:05 UTC - James Kim: may I ask for the documentation link https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933565115300?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:06:08 UTC - James Kim: ok https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933568115500?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:06:08 UTC - Rodric Rabbah: yes https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933568115700?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:06:24 UTC - Rodric Rabbah: <https://github.com/apache/openwhisk/blob/master/core/standalone/README.md> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933584115900?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:07:30 UTC - Rodric Rabbah: <https://github.com/apache/openwhisk/blob/165d9579764697d33919ce850c9613de2719b4cf/core/standalone/src/main/scala/org/apache/openwhisk/standalone/StandaloneOpenWhisk.scala#L137-L138> https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933650116100?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:07:36 UTC - Rodric Rabbah: looks like default is to run with `--all` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933656116300?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:08:35 UTC - James Kim: right but what would be the exact command to use to build and bootRun it? https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594933715116600?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:14:09 UTC - Rodric Rabbah: first build the jar ```./gradlew :core:standalone:build``` then run it ```java -jar bin/openwhisk-standalone.jar``` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594934049116900?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:18:34 UTC - James Kim: right but I'm getting the error from the building step https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594934314117200?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:21:08 UTC - Rodric Rabbah: oh wow i’m sorry i thought that was the run step https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594934468117500?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:22:27 UTC - James Kim: I installed npm for windows and I think it's working now https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594934547118000?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:22:34 UTC - Rodric Rabbah: comment out line 102 `processResources.dependsOn copyGWActions` in `core/standalone/build.gradle` https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594934554118200?thread_ts=1594933165.113500&cid=C3TPCAQG1 ---- 2020-07-16 21:22:41 UTC - Rodric Rabbah: oh good https://openwhisk-team.slack.com/archives/C3TPCAQG1/p1594934561118400?thread_ts=1594933165.113500&cid=C3TPCAQG1 ----
