Build error (nodejs fs/promises module is missing)

Build fails because ‘Error: Cannot find module ‘node:fs/promises’’ error occurs.

Previously, this error did not occur, it appeared after turning the Fast Builds function on and off (I guess).

Build log: https://pastebin.com/raw/9rQbCB7n

Hey,

I see you’re using NodeJS 12, I would bet that’s the cause. You can change that with an environment variable called NODE_VERSION. For example for NodeJS 16 add NODE_VERSION = 16

1 Like

Yes, this was the solution to the problem (although it is a pity that it is not very obvious). Thanks!

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.