Moment.js module included by function node gets deleted when importing is-date-object

Hi all!

I have discovered a strange behaviour in Node Red. I got this error from function node

image

I am running several insatnces and i did not have this error in other instances. Upon looking into it I was able to reproduce the same issue when imported moment.js and then is-date-object.js. For some reason importing is-date-object.js removed moment.js.

image

Installing this modules using npm install does not create any issue or conflict

Hi. Can you recover and repeat this at will?

If so, I would be great if you can raise an issue on the node-red repository detailing the steps you take to achieve this problem.

Created it here Moment.js module included by function node gets deleted when importing is-date-object · Issue #3937 · node-red/node-red · GitHub

1 Like