You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2020/03/25 13:22:56 UTC

[GitHub] [openwhisk] beraybentesen opened a new issue #4866: Cannot find module Error

beraybentesen opened a new issue #4866: Cannot find module Error
URL: https://github.com/apache/openwhisk/issues/4866
 
 
   After successfully deploying with zip file receiving this when I invoke action :
   
    "error": "Error: Cannot find module '/nodejsAction/nrx2Fj84'\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 <anonymous> (/nodejsAction/runner.js:55:49), <anonymous>:1:1)\n    at /nodejsAction/runner.js:55:49\n    at process._tickCallback (internal/process/next_tick.js:68:7)"
   }

----------------------------------------------------------------
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

[GitHub] [openwhisk] rabbah closed issue #4866: Cannot find module Error

Posted by GitBox <gi...@apache.org>.
rabbah closed issue #4866: Cannot find module Error
URL: https://github.com/apache/openwhisk/issues/4866
 
 
   

----------------------------------------------------------------
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

[GitHub] [openwhisk] rabbah commented on issue #4866: Cannot find module Error

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4866: Cannot find module Error
URL: https://github.com/apache/openwhisk/issues/4866#issuecomment-604095205
 
 
   currently there is only one zip file which contains the code and dependencies.

----------------------------------------------------------------
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

[GitHub] [openwhisk] beraybentesen commented on issue #4866: Cannot find module Error

Posted by GitBox <gi...@apache.org>.
beraybentesen commented on issue #4866: Cannot find module Error
URL: https://github.com/apache/openwhisk/issues/4866#issuecomment-603986260
 
 
   @rabbah You're right. I fixed with the correct configuration. And quick question, is there a way to update action without uploading zip again ? Let's say you just need to update the code itself instead of dependencies etc.

----------------------------------------------------------------
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

[GitHub] [openwhisk] rabbah commented on issue #4866: Cannot find module Error

Posted by GitBox <gi...@apache.org>.
rabbah commented on issue #4866: Cannot find module Error
URL: https://github.com/apache/openwhisk/issues/4866#issuecomment-603984859
 
 
   hi @beraybentesen - this isn't very helpful/actionable. Usually this error means your function isn't package properly (your zip file is empty or missing index.js, package.json or similar). You'll need to share more details so someone can help you.

----------------------------------------------------------------
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