错误代码如下
解决方式:
1。到nodejs安装的bin目录下:
2。执行如下语句:
3。启动,
/home/git/agilenotes-code/node_modules/jquery/lib/node-jquery.js:10
window.XMLHttpRequest.prototype.withCredentials = false;
^
TypeError: Cannot read property 'prototype' of undefined
at create (/home/git/agilenotes-code/node_modules/jquery/lib/node-jquery.js:10:26)
at /home/git/agilenotes-code/node_modules/jquery/lib/node-jquery.js:9435:18
at Object.<anonymous> (/home/git/agilenotes-code/node_modules/jquery/lib/node-jquery.js:9437:2)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at /home/git/agilenotes-code/routes/index.js:93:34
解决方式:
1。到nodejs安装的bin目录下:
cd /usr/local/node-v0.8.7/bin/
2。执行如下语句:
npm rebuild
3。启动,