nfischer / shelljs-transpiler

:shell: Easily transpile Bash to ShellJS
https://nfischer.github.io/shelljs-transpiler/
MIT License
74 stars 8 forks source link

Fix shjs bin path in package.json #22

Closed jhen0409 closed 8 years ago

jhen0409 commented 8 years ago

Currently install this package will throw following errors:

npm ERR! Darwin 16.0.0
npm ERR! argv "/Users/Jhen/.nvm/versions/node/v6.2.2/bin/node" "/Users/Jhen/.nvm/versions/node/v6.2.2/bin/npm" "i" "shelljs-transpiler"
npm ERR! node v6.2.2
npm ERR! npm  v3.10.5
npm ERR! path /Users/Jhen/test-shjs/node_modules/shelljs-transpiler/bin/shjs
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod

npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/Jhen/test-shjs/node_modules/shelljs-transpiler/bin/shjs'
npm ERR! enoent ENOENT: no such file or directory, chmod '/Users/Jhen/test-shjs/node_modules/shelljs-transpiler/bin/shjs'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent 

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/Jhen/test-shjs/npm-debug.log
codecov-io commented 8 years ago

Current coverage is 92.81% (diff: 100%)

Merging #22 into master will not change coverage

@@             master        #22   diff @@
==========================================
  Files             2          2          
  Lines           320        320          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            297        297          
  Misses           23         23          
  Partials          0          0          

Powered by Codecov. Last update 16ce69e...95a7006

nfischer commented 8 years ago

@jhen0409 Whoops! Thanks for the fix! I've been so focused on the web interface, I guess I forgot about the CLI.

nfischer commented 8 years ago

This should be available in v0.2.1. Look for the new sh2js CLI executable. Let me know if you have any issues, and I'll try to get those resolved quickly.