Bonjour,
Lors de la compilation webpack je rencontre des multiples erreurs avec la librairie geoportal-extensions-leaflet
La compilation est effectuée sous Windows.
Avez-vous une solution pour résoudre ce problème ?
Merci par avance
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36 > npx webpack --mode=development --watch ERROR in ./node_modules/geoportal-extensions-leaflet/src/Common/CSS/GPgeneralWidget.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleParseError: Module parse failed: Unexpected character ' ' (1:7) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file) at handleParseError (C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:891:19) at C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:992:5 at processResult (C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:718:11) at C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:778:5 at C:\laragon\www\portail-ac\node_modules\loader-runner\lib\LoaderRunner.js:406:3 at iterateNormalLoaders (C:\laragon\www\portail-ac\node_modules\loader-runner\lib\LoaderRunner.js:232:10) at C:\laragon\www\portail-ac\node_modules\loader-runner\lib\LoaderRunner.js:223:4 at runCallbacks (C:\laragon\www\portail-ac\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:34:4) at C:\laragon\www\portail-ac\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:200:4 at C:\laragon\www\portail-ac\node_modules\graceful-fs\graceful-fs.js:123:16 @ ./node_modules/geoportal-extensions-leaflet/src/Common/Styles.js 4:0-35 @ ./node_modules/geoportal-extensions-leaflet/src/Leaflet/index.js 41:0-26 @ ./src/mainCarte.js 2:0-51 57:0-21 ERROR in ./node_modules/geoportal-extensions-leaflet/src/Common/CSS/GPwaiting.css Module build failed (from ./node_modules/mini-css-extract-plugin/dist/loader.js): ModuleParseError: Module parse failed: Unexpected character ' ' (1:7) You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders (Source code omitted for this binary file) at handleParseError (C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:891:19) at C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:992:5 at processResult (C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:718:11) at C:\laragon\www\portail-ac\node_modules\webpack\lib\NormalModule.js:778:5 at C:\laragon\www\portail-ac\node_modules\loader-runner\lib\LoaderRunner.js:406:3 at iterateNormalLoaders (C:\laragon\www\portail-ac\node_modules\loader-runner\lib\LoaderRunner.js:232:10) at C:\laragon\www\portail-ac\node_modules\loader-runner\lib\LoaderRunner.js:223:4 at runCallbacks (C:\laragon\www\portail-ac\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:34:4) at C:\laragon\www\portail-ac\node_modules\enhanced-resolve\lib\CachedInputFileSystem.js:200:4 at C:\laragon\www\portail-ac\node_modules\graceful-fs\graceful-fs.js:123:16 @ ./node_modules/geoportal-extensions-leaflet/src/Common/Styles.js 17:0-29 @ ./node_modules/geoportal-extensions-leaflet/src/Leaflet/index.js 41:0-26 @ ./src/mainCarte.js 2:0-51 57:0-21
Partager