qi0523 commented on issue #704:
URL: 
https://github.com/apache/openwhisk-deploy-kube/issues/704#issuecomment-1165262384

   
   
   
   
   > I have the same error, but adding `apiHostProto: "https"` didn't work
   > 
   > ```
   > [lyuze@storage-2 openwhisk-deploy-kube]$ kubectl get pods -n openwhisk 
--watch
   > NAME                                                         READY   
STATUS      RESTARTS   AGE
   > owdev-alarmprovider-5d57d4b879-hdn5r                         1/1     
Running     0          3m38s
   > owdev-apigateway-d6d756db8-74bmn                             1/1     
Running     0          3m38s
   > owdev-controller-0                                           1/1     
Running     0          3m38s
   > owdev-couchdb-89b8469bc-xzpls                                1/1     
Running     0          3m38s
   > owdev-gen-certs-42q94                                        0/1     
Completed   0          3m38s
   > owdev-init-couchdb-czsg7                                     0/1     
Completed   0          3m38s
   > owdev-install-packages-6nzjt                                 0/1     Error 
      0          88s
   > owdev-install-packages-jdrs8                                 0/1     Error 
      0          3m38s
   > owdev-install-packages-sr66x                                 0/1     Error 
      0          118s
   > owdev-install-packages-vpb9q                                 0/1     Error 
      0          68s
   > owdev-invoker-0                                              1/1     
Running     0          3m38s
   > owdev-kafka-0                                                1/1     
Running     0          3m38s
   > owdev-kafkaprovider-7867778f74-j8z82                         1/1     
Running     0          3m38s
   > owdev-nginx-67b8974c77-775kd                                 1/1     
Running     0          3m38s
   > owdev-redis-74d7479464-xw4q8                                 1/1     
Running     0          3m38s
   > owdev-wskadmin                                               1/1     
Running     0          3m38s
   > owdev-zookeeper-0                                            1/1     
Running     0          3m38s
   > wskowdev-invoker-00-1-prewarm-nodejs14                       1/1     
Running     0          2m22s
   > wskowdev-invoker-00-2-prewarm-nodejs14                       1/1     
Running     0          2m22s
   > wskowdev-invoker-00-3-whisksystem-invokerhealthtestaction0   1/1     
Running     0          2m22s
   > [lyuze@storage-2 openwhisk-deploy-kube]$ kubectl logs -n openwhisk 
owdev-install-packages-6nzjt
   > ...
   > npm WARN [email protected] No description
   > npm WARN [email protected] No repository field.
   > npm WARN [email protected] No license field.
   > npm ERR! Linux 4.18.0-365.el8.x86_64
   > npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install"
   > npm ERR! node v8.10.0
   > npm ERR! npm  v3.5.2
   > npm ERR! path 
/openwhisk-package-alarms/action/node_modules/.staging/@types/node-7154234c/package.json
   > npm ERR! code ENOTDIR
   > npm ERR! errno -20
   > npm ERR! syscall open
   > 
   > npm ERR! ENOTDIR: not a directory, open 
'/openwhisk-package-alarms/action/node_modules/.staging/@types/node-7154234c/package.json'
   > npm ERR! 
   > npm ERR! If you need help, you may report this error at:
   > npm ERR!     <https://github.com/npm/npm/issues>
   > 
   > npm ERR! Please include the following file with any support request:
   > npm ERR!     /openwhisk-package-alarms/action/npm-debug.log
   > ```
   > 
   > I found no similar issue related to npm error on github. Does anyone now 
how to fix this?
   > 
   > PS: Previously I installed openwhisk successfully but some other issue 
occurred that required to restart docker, after which `wsk action xxx `did not 
work, so I tried to reinstall openwhisk, then comes to this issue.
   
   I have the same error with you. 
[installPackages/myTask.sh](https://github.com/apache/openwhisk-deploy-kube/blob/952fb0df07949dda32d9c5de76efcbf73671cb0c/helm/openwhisk/configMapFiles/installPackages/myTask.sh#L104),
 leds to the error. Howerver, I don't know nodejs and npm, and don't know how 
to solve this error.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to