Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't work #43

Open
rokity opened this issue Nov 9, 2015 · 1 comment
Open

Doesn't work #43

rokity opened this issue Nov 9, 2015 · 1 comment

Comments

@rokity
Copy link

rokity commented Nov 9, 2015

I don't know why from command line this command doesn't work.
It's sample.
require("torrent");
torret ciccia.torrent

It doesn't work.
This is the error :
SyntaxError: Unexpected identifier
at Object.exports.createScript (vm.js:24:10)
at REPLServer.defaultEval (repl.js:221:25)
at bound (domain.js:280:14)
at REPLServer.runBound as eval
at REPLServer. (repl.js:412:12)
at emitOne (events.js:82:20)
at REPLServer.emit (events.js:169:7)
at REPLServer.Interface._onLine (readline.js:210:10)
at REPLServer.Interface._line (readline.js:549:8)
at REPLServer.Interface._ttyWrite (readline.js:826:14)

If you have more examples of this module , please post it.
Thanks

@LinusU
Copy link
Collaborator

LinusU commented Nov 10, 2015

It's complaining that torret ciccia.torrent isn't valid javascript, which it isn't.

Maybe you are trying to use this program from the command line?

npm install -g torrent
torrent ciccia.torrent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants