MMM-Fuel icon indicating copy to clipboard operation
MMM-Fuel copied to clipboard

Install MM 2.21 (oct 1) user find module not found fs/promises

Open sdetweil opened this issue 3 years ago • 3 comments

should that be ?

 const fs = require('fs').promises

sdetweil avatar Oct 02 '22 14:10 sdetweil

https://forum.magicmirror.builders/topic/17246/mmm-fuel-black-screen

the suggestion above worked

sdetweil avatar Oct 02 '22 15:10 sdetweil

@sdetweil it should be compatible with the node version (16.15.1) of the user, it was introduced in node 14.

https://nodejs.org/dist/latest-v16.x/docs/api/fs.html#promises-api

image

fewieden avatar Oct 16 '22 14:10 fewieden

I understand, but user had node 14, so it 'should' have worked, but didnt

sdetweil avatar Oct 16 '22 15:10 sdetweil