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

add-from-bower not working on Windows #110

Closed
stkb opened this issue May 25, 2018 · 6 comments
Closed

add-from-bower not working on Windows #110

stkb opened this issue May 25, 2018 · 6 comments

Comments

@stkb
Copy link

stkb commented May 25, 2018

$ psc-package add-from-bower whatever
psc-package.exe: bower: createProcess: does not exist (No such file or directory)

I guess this is the same thing as other commands not working on Windows, though there isn't really a workaround for this as there's no bower.exe file.

@justinwoo
Copy link
Collaborator

Do you have bower installed? I haven't heard of anyone not being able to use this from Windows before.

Rembane pushed a commit to Rembane/psc-package that referenced this issue May 26, 2018
@stkb
Copy link
Author

stkb commented May 27, 2018

For sure :) (installed from npm)

$ bower --version
1.8.4

$ where bower
C:\Users\Steve\Apps\nodejs\bower
C:\Users\Steve\Apps\nodejs\bower.cmd

It's the same in Bash (from Git for Windows) or CMD. I did try removing the first (shell script) file just leaving the .cmd, but still no luck in either shell.

However I did work around it by manually creating a bower.exe shim that calls the bower.cmd file (and putting it in the same folder). Then it works.

Is this not the same problem as with purs? (#34)

@stkb stkb closed this as completed May 27, 2018
@stkb stkb reopened this May 27, 2018
@stkb
Copy link
Author

stkb commented May 27, 2018

Hit the wrong button :)

@justinwoo
Copy link
Collaborator

justinwoo commented May 27, 2018

I wouldn't know (I don't use Windows anymore), but there are other major contributors and users who use Windows so you might ask this on slack/discourse.

@nwolverson
Copy link
Contributor

Given add-from-bower is removed, I think this can be closed?

@justinwoo
Copy link
Collaborator

Yup😃

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

3 participants