Open finedays opened 8 years ago
Can you provide more context? Which command are you executing?
Hi,
I am trying to execute powerbi from the shell. https://www.dropbox.com/s/zrgt2xxu7k7q9ux/Screenshot%202016-05-04%2020.50.23.png?dl=0
Did you install the module globally? npm install -g powerbi-cli
??
yes, I did.. it is exactly the same reaction when I try to run the cli from the /bin directory..
Thanks for submitting this. We'll get a fix out soon.
Thanks, looking forward the solution.
FYI - Appears to be an issue with line endings between Windows and OSX. http://stackoverflow.com/questions/18492897/env-node-r-no-such-file-or-directory-with-cordova-cli
Hm, that might work out. Thanks! I will try it in an hour or so and will message again.
Actually, I tried it now and it is working! Thanks!
I'm going to keep this open for now till we can put a permanent fix that doesn't require this workaround.
Reopening do to issue executing sub commands.
Same issue here (not able to execute any command, resulting in "{command}(0) does not exist" error, in case of OS X.
Does this mean that PowerBI-Cli does not work on OS X, currently?
@karolkulesza - Yes - there is currently a bug that we are working through.
Same bug here under Ubuntu Linux 14.04 LTS with nodejs 4.5.0
Any update on a release on this?
FWIW, the hack around this (based on bad line endings) should be:
$ brew install dos2unix
$ find /usr/local/lib/node_modules/powerbi-cli -name "*.js" | xargs -n 1 sudo dos2unix
But even that doesn't seem to work. ¯_(ツ)_/¯
It appears the line-ending issue has been resolved, but there's now a new issue, as mentioned in #18.
$ powerbi config
powerbi-config(1) does not exist, try --help
This seem to be an issue with the names of the files in the bin
directory. The parent binary bin/cli
has been symlinked to powerbi
. But when calling $ powerbi config
, for example, it tries to execute another binary named powerbi-config
. That binary doesn't exist b/c it's actually named cli-config
. Also, those binaries aren't marked as executable.
A hack which does "work..."
$ pushd /usr/local/lib/node_modules/powerbi-cli/bin
$ for f in cli-*; do mv "$f" "`echo $f | sed s/cli-/powerbi-/`"; done
$ chmod +x powerbi-*
$ popd
$ powerbi config
Any update on this?
Running v1.0.8 (just re-installed this morning) on Bash on Ubuntu on Windows:
$ powerbi --version
1.0.8
$ powerbi config
powerbi-config(1) does not exist, try --help
This task is in our backlog. no ETA. Thanks for understanding.
@ali-hamud I really like and appreciate to see that Microsoft is doing node. But why is there no ETA? The installation is basically not working at all / broken on OSX (and maybe other distros).
FYI. This is also an issue within the Windows bash shell aka Ubuntu 14.04.4 LTS.
The previous dos2unix workaround did not work.
`~$ powerbi config execvp(): No such file or directory
powerbi-config(1) does not exist, try --help`
FYI also broken on Ubuntu 16.04 LTS
Heys guys, any update or fix on this issue ? 😞
I can confirm that the workaround involving dos2unix does not work under Ubuntu 16.04 LTS.
Hi guys, I am getting this error:
env: node\r: No such file or directory
Using Iterm2, using zsh. Does anyone has any suggestions how to fix it? Thanks