enricostara / telegram-mt-node

Telegram MTProto library (javascript, node.js)
MIT License
77 stars 25 forks source link

Task 'example' is not in your gulpfile #8

Closed mamal72 closed 9 years ago

mamal72 commented 9 years ago

Hi. I'm getting this error for running npm run-script example command as mentioned in readme file.

[01:24:13] Using gulpfile ~/Projects/Others/telegram-mt-node/gulpfile.js
[01:24:13] Task 'example' is not in your gulpfile
[01:24:13] Please check the documentation for proper gulpfile formatting

npm ERR! Linux 3.19.0-22-generic
npm ERR! argv "/home/mamal/.nvm/versions/node/v0.12.4/bin/node" "/home/mamal/.nvm/versions/node/v0.12.4/bin/npm" "run-script" "example"
npm ERR! node v0.12.4
npm ERR! npm  v2.10.1
npm ERR! code ELIFECYCLE
npm ERR! telegram-mt-node@0.8.4 example: `DEBUG=-mocha*,-TypeBuilder,* ./node_modules/gulp/bin/gulp.js example`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the telegram-mt-node@0.8.4 example script 'DEBUG=-mocha*,-TypeBuilder,* ./node_modules/gulp/bin/gulp.js example'.
npm ERR! This is most likely a problem with the telegram-mt-node package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     DEBUG=-mocha*,-TypeBuilder,* ./node_modules/gulp/bin/gulp.js example
npm ERR! You can get their info via:
npm ERR!     npm owner ls telegram-mt-node
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/mamal/Projects/Others/telegram-mt-node/npm-debug.log

It seems the task example is missed. I didn't find it in gulpfile. Is there any simple example of using this module at all?

badoualy commented 9 years ago

Check the telegram-link repo sources for an example

enricostara commented 9 years ago

You can also have a look at the termgram project