You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using a Heroku pipeline for my app, and this issue error occurs only on apps that exist for some time (mainly on staging and on production ); it never happens in the review apps, where the same worker starts without any problem. I guess it might have something to do with staging and production migrating from node v10 to v12 some months ago.
Npm: 6.12.0
Node: v12.13.0
Stack: heroku-18
I have removed almost everything from my worker, and it still happens.
For anyone that encounters this problem - make sure to disable both "Enhanced Language Metrics" and "Node Language Metrics" in metrics settings in Heroku. The current implementation of the metrics system in Heroku is incompatible with some worker_threads scenarios.
Spoke with @jan-osch and we discovered that this was the issue. We will hopefully come up with a solution, but this unfortunately won't be a quick fix.
To ensure the feature is turned off, run heroku labs -a APP_NAME and confirm that under App Features that the nodejs-language-metrics feature is disabled.
@jan-osch I opened a new issue (heroku/heroku-nodejs-plugin#13) to keep track of the issue, so I'm going to close this one. Thanks for bringing this to our attention!
I I am repeatedly running into this issue. I am getting an error like this, and my worker fails to start:
I am using a Heroku pipeline for my app, and this issue error occurs only on apps that exist for some time (mainly on
staging
and onproduction
); it never happens in the review apps, where the same worker starts without any problem. I guess it might have something to do withstaging
andproduction
migrating from node v10 to v12 some months ago.Npm: 6.12.0
Node: v12.13.0
Stack: heroku-18
I have removed almost everything from my worker, and it still happens.
The text was updated successfully, but these errors were encountered: