收藏
回答

npm组件构建报错?




发生错误
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)

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

回答关注问题邀请回答
收藏
登录 后发表内容
问题标签