How can I solve SyntaxError when import Mathjs in Node

后端 未结 0 381
借酒劲吻你
借酒劲吻你 2021-02-04 11:04

I require { add } method from number module like this:

const { add } = require(\'mathjs/number\')

then occur error with the following message

相关标签:
回答
  • 消灭零回复
提交回复
热议问题