mailerlite API error code 422 for subscribers endpoint

Today, I was implementing the interfacing between PiCockpit.com and the Mailerlite API (which we use aus our newsletter software). https://api.mailerlite.com/api/v2/subscribers I got the following error message: The POST request was returning 422 as status code. Unfortunately there is little documentation about that on Mailerlite. My implementation was correct (this is Crystal Lang by the way):…

Weiterlesen

npm Webpack code ELIFECYCLE errno 1

When building the PiCockpit frontend code (which is packaged using Webpack) on a different computer, I ran into the following issue: cross-env NODE_ENV=production webpack –progress –hide-modules –mode=productiontype: ‘object’,additionalProperties: true,properties: {apply: {description: ‘The run point of the plugin, required method.’,instanceof: ‘Function’,tsType: “(compiler: import(‘../lib/Compiler’)) => void”}},required: [ ‘apply’ ]}},title: ‘WebpackOptions’,description: ‘Options object as provided by the user.’,type:…

Weiterlesen