-
Notifications
You must be signed in to change notification settings - Fork 591
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
jsonlint breaks angular apps, replace it. #844
Comments
Is there a workaround? |
I have encountered the same problem |
I was in the same situation. This worked for me:
|
Up until yesterday, I was able to use the workaround detailed here in which you add this bit of code to your package.json file (at the same level as name, version, scripts, etc.): Worked up until I did a git rebase on my code today. The above solution |
Using a deep import like Ivy starts to complain about them already. It would be way better to either fork jsonlint-lines or use something else |
Facing a similar issue in the Nuxt based Vue App + import * as MapboxDraw from '@mapbox/mapbox-gl-draw/dist/mapbox-gl-draw';
- import * as MapboxDraw from '@mapbox/mapbox-gl-draw'; This hack works successfully though. |
You should use the packaged version in the |
@kkaefer: If we should use the version from the |
Stuck on this right now 😆 |
This is not working as well getting error
|
mapbox-gl-js version: 0.51.0
mapbox-gl-draw version: ^1.1.1
Steps to Trigger Behavior
import * as MapboxDraw from '@mapbox/mapbox-gl-draw';
Expected Behavior
Webpack / Angular should be able to build package
Actual Behavior
Please remove the dependecy on
jsonlint
, it is no longer supported or maintained and will not work for people using angular-cli. We do not have an option to specifynode
property since webpack.config is abstracted.The text was updated successfully, but these errors were encountered: