-
Notifications
You must be signed in to change notification settings - Fork 85
Install on windows not working #149
Comments
At a glance, it looks as though the |
Lumo on Windows is not meant to work with Cygwin. #142 is actually open to address that. That said, I have no idea why this would be happening. Which version of Lumo are you trying to install? |
Installed lumo-cljs@1.4.1, and the full path method does work. Also reinstalled it and still get the same issue with reference to I dig a little digging and didn't come up with much, but did try installing a couple other global NPM libraries for comparison: > grunt.cmd
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\node_modules\grunt\bin\grunt" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\node_modules\grunt\bin\grunt" %*
)
> mocha.cmd
@IF EXIST "%~dp0\node.exe" (
"%~dp0\node.exe" "%~dp0\node_modules\mocha\bin\mocha" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
node "%~dp0\node_modules\mocha\bin\mocha" %*
)
> lumo.cmd
@IF EXIST "%~dp0\/bin/sh.exe" (
"%~dp0\/bin/sh.exe" "%~dp0\node_modules\lumo-cljs\bin\lumo" %*
) ELSE (
@SETLOCAL
@SET PATHEXT=%PATHEXT:;.JS;=;%
/bin/sh "%~dp0\node_modules\lumo-cljs\bin\lumo" %*
) If any of this makes any difference, I'm using:
|
Turned out to be a regression. Fixed now, will be in the next release |
I learned something today! I had no idea NPM lets you use non-Node scripts as your CLI and will adjust its proxy files accordingly. I wonder if there's a way to use NPM's lifecycle scripts to replace the placeholder file with the real one before NPM examines it to determine how to call it. But I guess as long as it's working, that's what counts, right? |
Yeah, I'm still not sure the current solution is the best. I'm leaning towards just having a That would probably fix #142 too. |
I did a:
on Windows 10, but invoking lumo at commandline results in file not found.
C:\Users%user%\AppData\Roaming\npm is in %PATH%
I can invoke lumo using the fully qualified path to:
The text was updated successfully, but these errors were encountered: