Warning when building images

Open
#399 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
58/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
javascript

Research direction

Start in src/app/store/modules/service-status.service.ts and inspect how lodash is imported or used, then run the image build to reproduce the warning. Done means the build no longer reports the lodash CommonJS or AMD optimization warning while preserving the service behavior.

Written by the indexing model from the issue text.

Description

bug CRIT-4 test finding

During image build the anms-ui causes this warning:

▲ [WARNING] Module 'lodash' used by 'src/app/store/modules/service-status.service.ts' is not ESM
  CommonJS or AMD dependencies can cause optimization bailouts.
Dominant language
JavaScript
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NASA-AMMOS/anms

All issues in NASA-AMMOS/anms

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.