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

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

Open
SystemTheory opened this issue Sep 6, 2022 · 0 comments

Comments

@SystemTheory
Copy link

SystemTheory commented Sep 6, 2022

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.

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

1 participant