添加矩时区相关性会导致错误:意外的令牌非法

时间:2018-10-21 05:54:19

标签: node.js webpack moment-timezone

添加了矩时区相关性之后,我的关注度降低了

[exec] Running "webpack:build" (webpack) task
Version: webpack 1.12.14          
     [exec] ERROR in /local/home/bajoria/brazil-pkg-cache/packages/NodeJS-json-loader/NodeJS-json-loader-0.5.x.200853.0/RHEL5_64/DEV.STD.PTHREAD/build/lib/commonjs/json-loader/index.js:10
     [exec]   return `module.exports = ${value}`;
     [exec]          ^
     [exec] Unexpected token ILLEGAL
     [exec]  @ /local/home/bajoria/brazil-pkg-cache/packages/NodeJS-moment-timezone/NodeJS-moment-timezone-0.5.x.200436.0/RHEL5_64/DEV.STD.PTHREAD/build/lib/commonjs/moment-timezone/index.js 2:15-51

由于NodeJS版本(与stackoverflow相关),似乎发生了错误。还有其他人遇到过类似的问题吗?

0 个答案:

没有答案