[GeoMoose-users] Errors building geomoose from source

Jim Klassen klassen.js at gmail.com
Tue Apr 7 06:31:15 PDT 2026


I presume when we upgraded the checker that it now has a default rule about line endings.

Do we need a .gitattributes file to with something like

     *.less text eol=lf

??

Are we doing sane things with normalizing line endings in the repo or is it a free-for-all?  (Either having git convert them for window or forcing everything to always be LF)?  I'd worry about converting them causing inconsistencies in the builds (in case we care), but not converting them causing notepad.exe to fail.

Off the top of my head, I think the git default is to auto-detect if it think a file is a text file, and if so it will convert line endings on Windows.

On 4/6/26 8:53 PM, Dan Little via GeoMoose-users wrote:
> Let me check on this in the morning. I suspect we got an errant formatting issue... I'm not having the problem locally but I've been juggling a lot of branches.
>
> On Mon, Apr 6, 2026 at 1:32 PM Christopher Hughes via GeoMoose-users <geomoose-users at lists.osgeo.org> wrote:
>
>     I've run into a recent issue building geomoose from source (following the process at Developer Quickstart for Windows — GeoMoose documentation <https://docs.geomoose.org/3.x/quickstarts/develop-on-windows.html>).
>
>     After cloning geomoose and running npm install, npm run build fails at the checking formatting part - it gives me formatting warnings for all the .less files with a comment to run Prettier to fix them, and then aborts. Running prettier on the files with warnings fixes the issues, and then npm run build succeeds. Looking at the changed files, it looks like it only changed the line endings.
>
>     This doesn't happen when building on 3.15, only when building on the 3.15-beta.
>
>     I was just curious if anyone else has run into this (it might be Windows specific). Running Prettier on the .less files fixes it, but it'd be nice to not have to do that each time.
>
>     Chris
>
>     --
>     Chris Hughes
>
>     GIS Analyst
>     Lincoln County GIS Department
>     880 NE 7th St. l Newport, OR 97365
>     Tel: (541) 574 1283
>
>     _______________________________________________
>     GeoMoose-users mailing list
>     GeoMoose-users at lists.osgeo.org
>     https://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
> _______________________________________________
> GeoMoose-users mailing list
> GeoMoose-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geomoose-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20260407/7ab24b92/attachment.htm>


More information about the GeoMoose-users mailing list