一样的问题。
npm安装 jieba 后,构建npm报错报错如下: SyntaxError: Unexpected character '#' (1:0)SyntaxError: Unexpected character '#' (1:0) at Parser.pp$4.raise (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/acorn/dist/acorn.js:2610:13) at Parser.pp$8.getTokenFromCode (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/acorn/dist/acorn.js:3252:8) at Parser.pp$8.readToken (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/acorn/dist/acorn.js:2975:15) at Parser.pp$8.nextToken (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/acorn/dist/acorn.js:2966:15) at Parser.parse (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/acorn/dist/acorn.js:542:8) at Proxy.parse (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/node_modules/acorn/dist/acorn.js:3669:37) at i (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/bc2b895ee57942c71d19191b1e204b79.js:1:1191) at j (/Applications/wechatwebdevtools.app/Contents/Resources/package.nw/js/bc2b895ee57942c71d19191b1e204b79.js:1:5691) at <anonymous>
2018-09-24