moribvndvs / ng2-idle

Responding to idle users in Angular (not AngularJS) applications.
https://moribvndvs.github.io/ng2-idle
Apache License 2.0
315 stars 128 forks source link

`npm run format` doesn't work #44

Closed nertzy closed 7 years ago

nertzy commented 7 years ago

I'm submitting a ... (check one with "x")

[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/HackedByChinese/ng2-idle/blob/master/CONTRIBUTING.md#getting-help

Current behavior $ npm run format

> ng-idle-src@2.0.0-beta.9 format /Users/pivotal/workspace/ng2-idle
> gulp clang:format

[10:11:55] No gulpfile found

npm ERR! Darwin 16.4.0
npm ERR! argv "/usr/local/Cellar/node/7.7.4/bin/node" "/usr/local/bin/npm" "run" "format"
npm ERR! node v7.7.4
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR! ng-idle-src@2.0.0-beta.9 format: `gulp clang:format`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ng-idle-src@2.0.0-beta.9 format script 'gulp clang:format'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ng-idle-src package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     gulp clang:format
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ng-idle-src
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls ng-idle-src
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/pivotal/workspace/ng2-idle/npm-debug.log

Expected behavior npm run format is supposed to use clang-format to clean up the source. Either this should fixed or it should be removed.

Minimal reproduction of the problem with instructions

moribvndvs commented 7 years ago

Thanks, forgot to remove the script and references to it in the documentation.