[...truncated 258 lines...]
creating new undefined map with layer group from undefined and initial bbox undefined
console.warn src/components/commons/BasicMap.js:176
no study_area nor study_uuid submitted via query params, cannot set study area bbox
console.error src/components/commons/BasicMap.js:221
no study_uuid nor datapackage_uuid nor resource_uuid submitted via query params, cannot load addtional resource layers
console.warn src/components/commons/BasicMap.js:237
cannot load additional resource layers
Test Suites: 4 passed, 4 total
Tests: 4 skipped, 13 passed, 17 total
Snapshots: 0 total
Time: 2.98s
Ran all test suites.
Done in 3.71s.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Build)
[Pipeline] sh
+ yarn build
yarn run v1.21.1
warning Skipping preferred cache folder "/.cache/yarn" because it is not writable.
warning Selected the next writable cache folder in the list, will be "/tmp/.yarn-cache-2000".
$ react-scripts build
warning Cannot find a suitable global folder. Tried these: "/usr/local, /.yarn"
Creating an optimized production build...
Treating warnings as errors because process.env.CI = true.
Most CI servers set it automatically.
Failed to compile.
./src/components/commons/LeafletMap.js
Line 389:8: 'j' is assigned a value but never used no-unused-vars
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
[Pipeline] }
[Pipeline] // stage
[Pipeline] stage
[Pipeline] { (Declarative: Post Actions)
[Pipeline] script
[Pipeline] {
[Pipeline] properties
[Pipeline] }
[Pipeline] // script
[Pipeline] step
Build 'map-component' is failing!
Last 50 lines of build output:
Changes since last successful build:
[pascal.dihe] e80111d59675f396525558f61f9541722a9e6ccb - #98 implement getFeatureInfo
[pascal.dihe] 9d53403c972fad33928277f8ab60fcc4ca4b7246 - #89 fix legend component warning
[pascal.dihe] 27b5799c7c7fb67970c764d0520b46de88e509e9 - #89 prepare text/xml feature request
[pascal.dihe] 8c152ec74cf807c4178f2b5971608fa4b91f9d5b - #89 layer info from JSON
[pascal.dihe] 8119128e698361b93bfd93242044c16dc4af7369 - #89 getFeatureInfo improved
[pascal.dihe] f917890c8a8398c1cea3f3c8f2817b50892b64fb - #89 getFeatureInfo
[pascal.dihe] e44445d75cef822b354cec0618a7bdb3ac8afc74 - #89 force getFeatureInfo always to true since updates are not reflected
View full output