Authored by 郭成尧

'php-eg'

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'i' ]
2 info using npm@2.14.12
3 info using node@v4.3.1
4 verbose readDependencies loading dependencies from E:\yohobuywap\package.json
5 error install Couldn't read dependencies
6 verbose stack Error: ENOENT: no such file or directory, open 'E:\yohobuywap\package.json'
6 verbose stack at Error (native)
7 verbose cwd E:\yohobuywap
8 error Windows_NT 6.1.7601
9 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "i"
10 error node v4.3.1
11 error npm v2.14.12
12 error path E:\yohobuywap\package.json
13 error code ENOPACKAGEJSON
14 error errno -4058
15 error syscall open
16 error package.json ENOENT: no such file or directory, open 'E:\yohobuywap\package.json'
16 error package.json This is most likely not a problem with npm itself.
16 error package.json npm can't find a package.json file in your current directory.
17 verbose exit [ -4058, true ]
... ... @@ -604,6 +604,22 @@ class IndexController extends AbstractAction
*/
public function orderSubAction()
{
/* TODO TAR DELETE THIS !!! */
/* $this->echoJson(array(
'code' => 400,
'msg' => array('XXX 商品已被抢光,', '继续结算剩余商品。'),
'btns' => array(
// array(
// 'href' => '/',
// 'text' => '重新选择商品',
// 'color' => '',
// ),
array(
'href' => '#',
'text' => '知道了',
'class' => 'order-tip-btnred'
)),
));exit;*/
if ($this->isAjax()) {
$uid = $this->getUid(true);
$addressId = $this->post('addressId', null);
... ...