rasantiago commented on issue #138: Change in global scope eval causes `main` 
to not be found in bundled action (typescript + webpack)
URL: 
https://github.com/apache/incubator-openwhisk-runtime-nodejs/issues/138#issuecomment-507143313
 
 
   Just to add some more confirmation of the bug:
   
   If I take the bundled function above along with the latest image (`afc93ba`) 
and test with:
   
   ```
   wsk action update test test.js --docker openwhisk/action-nodejs-v10:afc93ba
   wsk action invoke test
   ```
   
   I get `"error": "Initialization has failed due to: Action entrypoint 'main' 
is not a function."`
   
   But if I use the commit right prior (`8f705d1`):
   
   ```
   wsk action update test test.js --docker openwhisk/action-nodejs-v10:8f705d1
   wsk action invoke test
   ```
   I get `"status": "ok"`
   
   Also just helped a colleague through this error.  This might be a serious 
bug.  
   
   
   

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to