mapbox-gl-draw-circle
mapbox-gl-draw-circle copied to clipboard
Issue when using mapbox-gl-draw-circle with Angular 9
Hi,
When using the package with angular 9, it doesn't work, I have this error :
ERROR in ./node_modules/jsonlint-lines/lib/jsonlint.js Module not found: Error: Can't resolve 'fs' in 'C:\Workspace\COVAL-web\node_modules\jsonlint-lines\lib'
Any help please?
Hello,
try adding this entry in package.json
"browser": {
"fs": false,
"os": false,
"path": false
},
At topmost level.
For me it worked ;)
i
Hello, try adding this entry in
package.json
"browser": { "fs": false, "os": false, "path": false },
At topmost level.
For me it worked ;)
it doesn't work
Is there another way ?
add node in webpack.config.js