Orange-OpenSource / Orange-OpenSource/IOT-Map-Component

Warnings while running test Angular project locally

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

Nobody has claimed this yet.

enhancement tests
Dominant language
TypeScript
Stars
24
Forks
8
PR merge metrics
No merged PRs in 30d

Description

Description

Running npm run start in /test/angular has some warnings that would need to be fixed:

Application bundle generation complete. [1.843 seconds]

▲ [WARNING] Expected the "strict" option to be nested inside a "compilerOptions" object [tsconfig.json]

    ../../src/iotMapManager/tsconfig.json:22:2:
      22 │   "strict": false, // Strict types, eg. prohibits `var x=0; x=null`
         ╵   ~~~~~~~~


▲ [WARNING] Expected the "strict" option to be nested inside a "compilerOptions" object [plugin angular-css-resource] [tsconfig.json]

    ../../src/iotMapManager/tsconfig.json:22:2:
      22 │   "strict": false, // Strict types, eg. prohibits `var x=0; x=null`
         ╵   ~~~~~~~~

  The plugin "angular-css-resource" was triggered by this import

    ../../src/iotMapManager/css/map.css:17:24:
      17 │   background-image: url('../img/Layers.png');

Contributor guide

Open the contributing guide

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.

Research direction

Start by running npm run start in /test/angular and inspect the warning locations, especially src/iotMapManager/tsconfig.json:22; also review the related CSS import in src/iotMapManager/css/map.css:17. Done means the Angular test project starts without the reported strict configuration warnings.

Written by the indexing model from the issue text.

Assessment

Tech stack
angular, typescript
Domain
build-system, frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.