-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't resolve '%23clip' in '...\node_modules\mapbox-gl\dist' #12164
Comments
Same! |
Referencing the |
Same! x2 |
Yep, me too. :-( |
The CSS file itself is perfectly fine (and even passes the CSS Validator). This appears to be an Angular CLI bug which has already been fixed on their side in angular/angular-cli#23691, and the fix will be included in the next release (v14.2). |
It looks like this was broken i Angular 14.1.2. I just locked all angular packages in angular.json to 14.1.1. Remember to remove ^ or ~ before version number, remove package-lock.json and reinstall node-modules. Now everything is working fine. |
This wasn't fixed by angular/angular-cli#23691 as that fix seems to be included in |
Thanks for the clarification @snocorp! This appears to be fixed by angular/angular-cli#23774 now. |
This is still affecting me using a create-react-app with webpack. I'm really not sure what can be done about it... |
After updating angular from 13 to 14 I got failed build with the next error:
./node_modules/mapbox-gl/dist/mapbox-gl.css - Error: Module Error (from ./node_modules/postcss-loader/dist/cjs.js):
...\node_modules\mapbox-gl\dist\mapbox-gl.css:1:21755: Can't resolve '%23clip' in '...\node_modules\mapbox-gl\dist'
mapbox-gl-js version: 2.9.2
The text was updated successfully, but these errors were encountered: