Tag: web component tester

SyntaxError:使用Web组件testing程序注释时出现意外的标记ILLEGAL

我使用Codeship来testing基于聚合物入门套件v1.1的项目 。 当我在testingpipe道内运行npm test ,看到以下错误: > @ test /home/rof/src/github.com/TFarla/night-live > gulp test:local /home/rof/src/github.com/TFarla/night-live/node_modules/browser-sync/node_modules/lodash/index.js:8404 /** ^^^ SyntaxError: Unexpected token ILLEGAL at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:413:25) at Object.Module._extensions..js (module.js:452:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) at Object.<anonymous> (/home/rof/src/github.com/TFarla/night-live/node_modules/browser-sync/lib/hooks.js:3:20) at Module._compile (module.js:434:26) at Object.Module._extensions..js (module.js:452:10) npm ERR! Test failed. See above […]