'require' keyword doesn't work within Node Red Function node

后端 未结 2 428
清歌不尽
清歌不尽 2021-02-10 02:34

first line in a Node red Function Node is

var moment = require(\'moment-timezone\');

...

I am trying to establish a timezone correct date/time stamp

2条回答
  •  醉酒成梦
    2021-02-10 03:25

    Settings file:/Users/aiquantong/.node-red/settings

    Please do configure in this file, it will be working.

提交回复
热议问题