Tag: polymer 1.0

找不到Python可执行文件“/path/to/executable/python2.7”,可以设置PYTHON envvariables

bufferutil@1.2.1 install /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/bufferutil> node- gyp rebuild gyp ERR! configuration错误gyp ERR! 堆栈错误:找不到Python可执行文件“/path/to/executable/python2.7”,可以设置PYTHON envvariables 。 gyp ERR! 堆栈在failNoPython(/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:401:14)gyp ERR! 堆栈在/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:330:11 gyp ERR! 在F堆栈(/usr/lib/node_modules/npm/node_modules/which/which.js:78:16)gyp ERR! 在E堆栈(/usr/lib/node_modules/npm/node_modules/which/which.js:82:29)gyp ERR! 堆栈在/usr/lib/node_modules/npm/node_modules/which/which.js:93:16 gyp ERR! 堆栈在FSReqWrap.oncomplete(fs.js:82:15)gyp ERR! 系统Linux 3.13.0-74-generic gyp ERR! 命令“/ usr / bin / nodejs”“/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js”“rebuild”gyp ERR! cwd /home/sudthenerd/polymer-starter-kit-1.2.1/node_modules/bufferutil gyp ERR! node -v v5.3.0 gyp ERR! node-gyp -v v3.2.1 gyp ERR! 不行npm […]

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 […]