johnpapa / ng-demos

variety of angular demos
MIT License
1.7k stars 961 forks source link

Getting error while doing ''npm i'' in cc-bmean. #102

Open sitaramyadav opened 6 years ago

sitaramyadav commented 6 years ago

gifsicle@0.1.7 postinstall /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/gifsicle node index.js

path.js:39 throw new ERR_INVALID_ARG_TYPE('path', 'string', path); ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object at assertPath (path.js:39:11) at Object.basename (path.js:1299:5) at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/download/index.js:35:43 at each (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/each-async/each-async.js:63:4) at module.exports (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/download/index.js:33:5) at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-wrapper/index.js:108:20 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-wrapper/index.js:141:24 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-check/index.js:30:20 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/executable/index.js:39:20 at FSReqWrap.oncomplete (fs.js:165:21)

optipng-bin@0.3.11 postinstall /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/optipng-bin node index.js

path.js:39 throw new ERR_INVALID_ARG_TYPE('path', 'string', path); ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object at assertPath (path.js:39:11) at Object.basename (path.js:1299:5) at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/download/index.js:35:43 at each (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/each-async/each-async.js:63:4) at module.exports (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/download/index.js:33:5) at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-wrapper/index.js:108:20 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-wrapper/index.js:141:24 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-check/index.js:30:20 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/executable/index.js:39:20 at FSReqWrap.oncomplete (fs.js:165:21)

pngquant-bin@0.3.5 postinstall /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/pngquant-bin node index.js

path.js:39 throw new ERR_INVALID_ARG_TYPE('path', 'string', path); ^

TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type object at assertPath (path.js:39:11) at Object.basename (path.js:1299:5) at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/download/index.js:35:43 at each (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/each-async/each-async.js:63:4) at module.exports (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/download/index.js:33:5) at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-wrapper/index.js:108:20 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-wrapper/index.js:141:24 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/bin-check/index.js:30:20 at /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/executable/index.js:39:20 at FSReqWrap.oncomplete (fs.js:165:21)

cc-bmean@0.0.0 install /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean bower install; gulp clean

bower invalid-meta for:/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/bower.json bower invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/socket.io/lib/store.js:35 Store.prototype.proto = EventEmitter.prototype; ^

TypeError: Cannot read property 'prototype' of undefined at Object. (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/socket.io/lib/store.js:35:42) at Module._compile (internal/modules/cjs/loader.js:678:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10) at Module.load (internal/modules/cjs/loader.js:589:32) at tryModuleLoad (internal/modules/cjs/loader.js:528:12) at Function.Module._load (internal/modules/cjs/loader.js:520:3) at Module.require (internal/modules/cjs/loader.js:626:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/socket.io/lib/manager.js:16:13) at Module._compile (internal/modules/cjs/loader.js:678:30) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! cc-bmean@0.0.0 install: bower install; gulp clean npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the cc-bmean@0.0.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/seetaram/.npm/_logs/2018-07-10T06_47_53_215Z-debug.log

When I did bower install; gulp clean. I am getting below error

bower invalid-meta for:/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/bower.json bower invalid-meta The "name" is recommended to be lowercase, can contain digits, dots, dashes /Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/socket.io/lib/store.js:35 Store.prototype.proto = EventEmitter.prototype; ^

TypeError: Cannot read property 'prototype' of undefined at Object. (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/socket.io/lib/store.js:35:42) at Module._compile (internal/modules/cjs/loader.js:678:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10) at Module.load (internal/modules/cjs/loader.js:589:32) at tryModuleLoad (internal/modules/cjs/loader.js:528:12) at Function.Module._load (internal/modules/cjs/loader.js:520:3) at Module.require (internal/modules/cjs/loader.js:626:17) at require (internal/modules/cjs/helpers.js:20:18) at Object. (/Users/seetaram/Projects/learningAngularjs/July2018/ng-demos/cc-bmean/node_modules/socket.io/lib/manager.js:16:13) at Module._compile (internal/modules/cjs/loader.js:678:30)