小编Shr*_*ree的帖子

dateformat npm 包在节点服务器重新启动时出现错误

我正在使用版本 4.5.1 的 dateformat npm 包,并在服务器重新启动时出现错误:

server must be sue import to load ES module
usr/src/app/nodemodules/dateformat/lib/dateformat.js | require() ES module is not supported
Run Code Online (Sandbox Code Playgroud)

node.js npm express npm-install

0
推荐指数
1
解决办法
1370
查看次数

标签 统计

express ×1

node.js ×1

npm ×1

npm-install ×1