npm组件构建报错?
发布于 6 年前 作者 yefang 7966 次浏览 来自 官方Issues

发生错误


SyntaxError: Octal literal in strict mode (3:13)SyntaxError: Octal literal in strict mode (3:13)


at Parser.pp$4.raise (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:2844:13)


at Parser.pp$8.invalidStringToken (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4766:10)


at Parser.pp$8.readEscapedChar (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4872:14)


at Parser.pp$8.readString (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4732:21)


at Parser.pp$8.getTokenFromCode (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4560:17)


at Parser.pp$8.readToken (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4314:15)


at Parser.pp$8.nextToken (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4305:15)


at Parser.pp$8.next (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:4262:8)


at Parser.pp.eat (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:620:10)


at Parser.pp$1.parseVar (C:\Users\xuronghuan\AppData\Roaming\Tencent\微信开发者工具\package.nw\node_modules.wxvpkg\acorn\dist\acorn.js:1222:16)

报错如上,小白一枚求助貌似没见过直接抛错的

回到顶部