-
Notifications
You must be signed in to change notification settings - Fork 434
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Javascript Azure functions crash on azure-functions-core-tools@2.0.1-beta.18 #280
Comments
Getting the same issue running on Azure right now: Runtime version: 2.0.11276.0 (beta) Exception: Worker process with pid 5096 exited with code 1 AggregateException: One or more errors occurred. (Worker process with pid 5096 exited with code 1) (Worker process with pid 4912 exited with code 1) (Worker process with pid 3392 exited with code 1) FunctionInvocationException: Exception while executing function: Functions.CreateFormatFile System.AggregateException: One or more errors occurred. (Worker process with pid 5096 exited with code 1) (Worker process with pid 4912 exited with code 1) (Worker process with pid 3392 exited with code 1) ---> System.Exception: Worker process with pid 5096 exited with code 1 ---> (Inner Exception #1) System.Exception: Worker process with pid 4912 exited with code 1<--- ---> (Inner Exception #2) System.Exception: Worker process with pid 3392 exited with code 1<--- |
Same. I created a new JavaScript I switched the version to
|
This is likely because you're not using the right Node.js version. I'll be adding some support to help detect this soon. Could you confirm which Node.js version you're using? |
I believe ~1.x runtime has Node.JS version 6.5 as the locked choice?
v
…On Thu, Nov 16, 2017 at 5:29 PM, Christopher Anderson < ***@***.***> wrote:
This is likely because you're not using the right Node.js version. I'll be
adding some support to help detect this soon. Could you confirm which
Node.js version you're using?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#280 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AEOYmPbfD59onKdTd6klTGwKPonQASW2ks5s3LcygaJpZM4P8VGZ>
.
|
It is. For BETA, please make sure it's set to 8.4.0 or above. If you use the toggle in the Function App Settings menu it should do this for you, but there could be a bug. |
@christopheranderson I was using node 8.5.0 at the moment. |
For your issue, @nelak if you're using 8.5.0, do you get the same exit code error? You should be getting a 500 error because we don't support "raw" in v2 yet. (See this PR: Azure/azure-functions-host#2064) |
I was able to solve my problem by updating my Node to latest version. All good here. @christopheranderson |
@christopheranderson It seems some kind of bug made it into It's highly likely the bad build made it to Azure causing the issues I was seeing in Azure/azure-functions-host#2126 but completely unrelated to the Still it makes me wonder why |
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. |
I am using beta.23 with node 8.4.0 and I also tried 8.9.4. The issue still persists. So it is not possible to run any node.js function whatsoever right now? |
i'm using 2.0.1-beta.24 , node 9.8.0 & npm 5.7.1 with the same issue. (Javascript HttpTrigger function) |
Facing the same issue here. |
@IamNguele Apparently, deleting your function and copy-pasting the code into an identical new function sometimes helps. It helped me once or twice. Also, make sure your code is not simply throwing an exception due to missing packages, bug or anything else, because that will also cause an identical error message. |
Hey @catcher-in-the-try didn't work for me but deleted the whole code and rewrote everything then it worked. Still no idea why it wasn't working. Probably a bug I didn't catch. |
Seems like it is still not resolved |
Issue still persists in using 2.0.1-beta.28. :( |
Closing this, please reopen if it still the case in the latest version |
This issue is also reproducible on Azure.
This seems to fail on Ubuntu and WSL, but works on OSX
Running azure-functions-core-tools@2.0.1-beta.17 still works.
Let me know if you need more information
The text was updated successfully, but these errors were encountered: