openwhisk-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [incubator-openwhisk-runtime-nodejs] jiangpengcheng opened a new issue #142: Shall we add requests to the default packages for nodejs:10?
Date Tue, 02 Jul 2019 05:21:53 GMT
jiangpengcheng opened a new issue #142: Shall we add requests to the default packages for nodejs:10?
URL: https://github.com/apache/incubator-openwhisk-runtime-nodejs/issues/142
 
 
   there are three official actions which use the `request` package in https://github.com/apache/incubator-openwhisk-catalog
   
   - packages/github/webhook.js
   - packages/slack/post.js
   - packages/weather/forecast.js
   
   but cannot found such package while invoke these actions:
   
   ```
       "response": {
           "result": {
               "error": "Initialization has failed due to: Error: Cannot find module 'request'\n
   at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15)\n    at Function.Module._load
(internal/modules/cjs/loader.js:508:25)\n    at Module.require (internal/modules/cjs/loader.js:637:17)\n
   at require (internal/modules/cjs/helpers.js:22:18)\n    at eval (eval at evalScript (/nodejsAction/runner.js:180:16),
<anonymous>:4:15)\n    at eval (eval at evalScript (/nodejsAction/runner.js:180:16),
<anonymous>:175:14)\n    at evalScript (/nodejsAction/runner.js:180:16)\n    at NodeActionRunner.init
(/nodejsAction/runner.js:67:35)\n    at doInit (/nodejsAction/src/service.js:166:14)\n   
at initCode (/nodejsAction/src/service.js:93:24)"
           },
           "status": "action developer error",
           "success": false
       }
   ```

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message