Hi everyone, i am new to NodeJS but I am trying to create something here...

But now i have this problem:

I want to install my node application globally, ok i did it but using my 
package.json I have this line:

"bin":{ "jspack":"./index.js" }

It creates the jspack.cmd but with this command:
"%~dp0\node_modules\js-packager\index.js"   %*

When I see other packages,they all do the same way, but exports the .cmd 
like this:

@IF EXIST "%~dp0\node.exe" (
  "%~dp0\node.exe"  "%~dp0\node_modules\ionic\bin\ionic" %*
) ELSE (
  node  "%~dp0\node_modules\ionic\bin\ionic" %*
)


Wha am I doing wrong??

-- 
-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to