Skip to content

Known issues and how to resolve them

Igor Balos edited this page May 25, 2021 · 15 revisions

Installation fails

When trying to install Postmark in my development environment, the install fails with the following message:

error [email protected]: The engine "node" is incompatible with this module. Expected version ">=4 <=9".

possible resolution:

check out:

Removing lock files might solve the problem above.

PostmarkError: The string did not match the expected pattern

Can happen when running tests with jest and using postmark client. Jest runs by default in jsdom mode so it has a window. When changed jest to run in node, this error went away. Apparently, Axios is doing something funny in a browser context.

Axios details. More details about this can be found here.