0

I have migrated my app from Angular 14 to 15 using Nx (nx migrate). Npm i works well but then I have several errors when trying to nx serve.

`Error: Module parse failed: Unexpected token (3:24) 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 | /* SEARCH ENGINE */ |

[id^="GPsearchEngine-"] { | top: 8px; | left: 46px;`

It looks like the issue occurs because of OpenLayer, the css files.

I tried to reinstall the style loader and css loader but nothing works so far.

Do you have any idea what is going wrong ?

2
  • Could you share which package do you use for OpenLayer? Commented Jan 16, 2024 at 14:03
  • "geoportal-extensions-openlayers": "^3.2.8", "ol": "6.9.0", Commented Jan 19, 2024 at 15:07

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.