Closed joli530 closed 1 year ago
I was able to install by replacing the require statement with
const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
Hi Johan. Thank you for reporting. I have updated the package with your suggested fix. https://www.npmjs.com/package/@runnane/node-red-contrib-easee
Cannot install module on: Node-RED version: v3.0.2 Node.js version: v16.16.0 Linux 5.15.32-v7 arm LE Got the following errors: