azure-functions-core-tools: Javascript Azure functions crash on azure-functions-core-tools@2.0.1-beta.18

This issue is also reproducible on Azure.

This seems to fail on Ubuntu and WSL, but works on OSX

[10/17/17 3:10:16 PM] A ScriptHost error has occurred
[10/17/17 3:10:16 PM] Exception while executing function: Functions.myTimer. System.Private.CoreLib: One or more errors occurred. (Worker process with pid 6507 exited with code 1) (Worker process with pid 6520 exited with code 1) (Worker process with pid 6529 exited with code 1). Worker process with pid 6507 exited with code 1.

Running azure-functions-core-tools@2.0.1-beta.17 still works.

Let me know if you need more information

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Reactions: 3
  • Comments: 18 (3 by maintainers)

Most upvoted comments

This bug is still happening. Even blank functions throw that exception. No matter with node version is being used (I tried 8.9.4, 8.5.0 and 8.4.0). Happen with beta.18 but also with last version (beta.22)

Repair this should have hightest priority.

Same. I created a new JavaScript timerTrigger. Ran it on version `~1~ and it executed fine.

I switched the version to BETA and ran it again and got:

2017-10-26T14:17:55  Welcome, you are now connected to log-streaming service.
2017-10-26T14:17:57.938 Function started (Id=b196bcc3-c8ae-493e-84c7-9e037dba7141)
2017-10-26T14:17:58.565 Exception while executing function: Functions.Wrike. System.Private.CoreLib: One or more errors occurred. (Worker process with pid 7820 exited with code 1) (Worker process with pid 6964 exited with code 1) (Worker process with pid 6436 exited with code 1). Worker process with pid 7820 exited with code 1.
2017-10-26T14:17:58.907 Function completed (Failure, Id=b196bcc3-c8ae-493e-84c7-9e037dba7141, Duration=957ms)