From chughes at co.lincoln.or.us Mon Apr 6 11:31:58 2026 From: chughes at co.lincoln.or.us (Christopher Hughes) Date: Mon, 6 Apr 2026 18:31:58 +0000 Subject: [GeoMoose-users] Errors building geomoose from source Message-ID: I've run into a recent issue building geomoose from source (following the process at Developer Quickstart for Windows ? GeoMoose documentation). 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From theduckylittle at gmail.com Mon Apr 6 18:53:39 2026 From: theduckylittle at gmail.com (Dan Little) Date: Mon, 6 Apr 2026 20:53:39 -0500 Subject: [GeoMoose-users] Errors building geomoose from source In-Reply-To: References: Message-ID: 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 > ). > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: From klassen.js at gmail.com Tue Apr 7 06:31:15 2026 From: klassen.js at gmail.com (Jim Klassen) Date: Tue, 7 Apr 2026 08:31:15 -0500 Subject: [GeoMoose-users] Errors building geomoose from source In-Reply-To: References: Message-ID: <6d116822-d36a-4824-a968-54e23cb31971@gmail.com> 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 wrote: > > I've run into a recent issue building geomoose from source (following the process at Developer Quickstart for Windows ? GeoMoose documentation ). > > 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: From chughes at co.lincoln.or.us Tue Apr 7 07:15:06 2026 From: chughes at co.lincoln.or.us (Christopher Hughes) Date: Tue, 7 Apr 2026 14:15:06 +0000 Subject: [GeoMoose-users] Errors building geomoose from source In-Reply-To: <6d116822-d36a-4824-a968-54e23cb31971@gmail.com> References: <6d116822-d36a-4824-a968-54e23cb31971@gmail.com> Message-ID: I'm assuming it's just an issue on Windows, and that it's dependent on how you've set up git. On my latest installs of git I've just chosen the default options for line endings, which were to convert to CRLF on checkout, and back to LF on commit. On one of my other servers I had it setup to make no changes to line endings - this issue doesn't show up on that server. -- Chris Hughes GIS Analyst Lincoln County GIS Department 880 NE 7th St. l Newport, OR 97365 Tel: (541) 574 1283 ________________________________ From: GeoMoose-users on behalf of Jim Klassen via GeoMoose-users Sent: Tuesday, April 7, 2026 6:31 AM To: geomoose-users at lists.osgeo.org Subject: Re: [GeoMoose-users] Errors building geomoose from source 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 > wrote: I've run into a recent issue building geomoose from source (following the process at Developer Quickstart for Windows ? GeoMoose documentation). 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: