sintaxi / harp

Static Web Server/Generator/Bundler
http://harpjs.com
5k stars 342 forks source link

Less -> Css (Error evaluating function `percentage`: argument must be a number) css/responsive.less #675

Open SystemTheory opened 2 years ago

SystemTheory commented 2 years ago

I am trying to migrate Harp development tools from Windows 7 Native to Windows 11 WSL2 Debian.

The goal is to maintain and modify my old site and perhaps develop new sites with modern tools on Windows 11 WSL2.

The old site based on Harp 0.21.0 and hb-docs boilerplate works fine on Windows 7 but I cannot import new boilerplate to Windows 11 and the bootstrap format for the old site fails when I tranfer files to WSL2 on Windows 11.

  1. Is there current documentation for Harp 0.42.0? All documentation seems to be old.
  2. Are there any new bootstrap boilerplate projects? All the boilerplate seems obsolete.
  3. Harp 0.21.0 on Windows 7 works to edit my hb_docs based site view in Firefox browser.
  4. Harp 0.42.0 on Windows 11 produces layout error for hb_docs site view in Edge browser.
  5. How should I upgrade to new bootstrap development tools?
  6. Should I install Harp 0.21.0 on Windows 11 alongside 0.42.0 and how can I use both versions?
  7. Markdown tables work on Windows 7 and Windows 11 but without line borders. Is the solution to style css?

My old site uses layout modification of hb-docs boilerplate and worked fine for years still working on Windows 7:

hb-docs: https://github.com/harp-boilerplates/hb-docs/tree/master/public

The old site does not show bootstrap layout in Edge browser on Windows 11. Harp 0.42.0 on Windows 11 - yellow header box shows error message in Edge browser:

Less -> Css (Error evaluating function `percentage`: argument must be a number) css/responsive.less
Package Windows 7 Windows 11 WSL2 Debian - npm -g
node v4.6.0 v16.17.0
npm 2.15.9 8.15.0
bower 1.7.9 1.8.14
harp 0.21.0 0.42.0
less 4.1.3
browser Firefox Edge

Although I asked a bunch of questions the short answer would provide the simplest solution to be able to edit the old site on Windows 11 with markdown tables. Thanks for any help anyone may offer.