Skip to content

Multiple build warnings: missing files, deprecated Hugo features, and npm vulnerability #102

@wreiske

Description

@wreiske

Summary

During the build process, several warnings and issues were reported:

npm

  • 78 packages are looking for funding (run npm fund for details)
  • 1 low severity vulnerability (run npm audit fix to address)

navigation.md menu warnings

  • [Legacy AI Chat Box](functions/artificial-intelligence/ai-chat-box.md) has a missing file: functions/artificial-intelligence/ai-chat-box.md
  • "EHR Certification" is listed without a URL near: [System Specifications](resources/system-specifications.md)
  • "NEW Interface Specifications" is listed without a URL near: [Default](resources/system-specifications/system-email-templates/email-templates-from-scheduler/default.md)

Hugo warnings

  • resources.ToCSS and resources.PostCSS are deprecated as of Hugo v0.128.0. Use css.Sass and css.PostCSS instead. These will be removed in a future release.

Steps to Reproduce

  1. Run the build: ./build.sh --baseURL "https://docs-qa.med-web.com/master/wc/" --minify wc

Expected Behavior

  • No missing files or menu URL warnings
  • No usage of deprecated Hugo features
  • No npm vulnerabilities

Actual Behavior

  • Multiple warnings as described above

Suggested Actions

  • Update or remove references to missing files in navigation.md
  • Correct menu items without URLs
  • Refactor Hugo build to use supported CSS resources
  • Run npm audit fix to resolve vulnerabilities

Build log for reference:

added 254 packages, and audited 255 packages in 7s
78 packages are looking for funding
  run `npm fund` for details
1 low severity vulnerability
To address all issues, run:
  npm audit fix
Run `npm audit` for details.
Warning: navigation.md menu has "[Legacy AI Chat Box](functions/artificial-intelligence/ai-chat-box.md)" without file: "functions/artificial-intelligence/ai-chat-box.md"
Warning: navigation.md menu has "EHR Certification" without url near: "[System Specifications](resources/system-specifications.md)"
Warning: navigation.md menu has "NEW Interface Specifications" without url near: "[Default](resources/system-specifications/system-email-templates/email-templates-from-scheduler/default.md)"
WARN  deprecated: resources.ToCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.Sass instead.
WARN  deprecated: resources.PostCSS was deprecated in Hugo v0.128.0 and will be removed in a future release. Use css.PostCSS instead.

Let me know if more build details are needed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingdocumentationImprovements or additions to documentation

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions