这个错误是因为代码中使用了数字后直接接了一个标识符,即在第25行中的60_000。这种写法在ES6中是允许的,但是可能您的环境不支持。解决方法有两种:

  1. 将60_000改为60000

  2. 在webpack配置文件中增加对ES6语法的支持,具体可以在babel-loader中增加对ES6语法的转换。

error in srcutilsautoUpdatejsModule parse failed Identifier directly after number 2554File was processed with these loaders node_modulescache-loaderdistcjsjs node_modulesbabel-loaderlibindexjs nod

原文地址: https://www.cveoy.top/t/topic/b4MW 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录