Updating from 1.12 2.0 -> error: dispatch:phantomjs-tests is not compatible with architecture 'os'

I’m currently updating our project step by step from meteor 1.6.0.1 to 2.3.2

I go along the changelog and update every version with breaking changes or a migration strategy one by one.

When updating 1.12 to 2.0 I get the following error starting the application:

While building for os.osx.x86_64:
   error: dispatch:phantomjs-tests is not compatible with architecture 'os'

I found nothing in Google or this forum.

The mentioned dispatch:phantomjs-tests is on version @0.0.5 in .meteor/packages.

What does “architectur ‘os’” means in the error message? The OS? It is macOs 11.14.

I tried to update to a higher version, hoping the error disapears. I choose 2.2. But I get the same error plus “Unexpected mongo exit code 14. Restarting”:

Unexpected mongo exit code 14. Restarting.
=> Errors prevented startup:

   While building for os.osx.x86_64:
   error: dispatch:phantomjs-tests is not compatible with architecture 'os'

Have not encountered the error but there are multiple things that you can try

  1. Remove and add the erring package

Or

  1. Delete your .meteor/local folder

Or

  1. Fork the erring package to your packages folder and adjust the dependency version to include Meteor 2.0

Thanks for your help. What is the “erring package”? I do not find it neither in my projects package.json nor in the meteor packages. Maybe a typo?

The package with the error i.e. dispatch:phantomjs-tests