Open AminRafaey opened 1 year ago
Same issue.
Do you have a solutiion?
I've looked into this, and found that this is an outstanding issue with Facebook Pixel. I recommend we remove the react pixel package, and leverage the scripts with helmet instead.
This what we were doing with the LinkedIn pixel script.
This would do the following
-solve our source map issue -remove the warring from development -remove a third party package we do not need -match our code and keep our scripts uniform.
I'm currently working on our angular site. I believe Nazar Ozarko is working on our NSP React project right now.
I have mentioned these recommendations to him before.
On Wed, Sep 20, 2023, 8:27 AM György Lantos @.***> wrote:
Do you have a solutiion?
— Reply to this email directly, view it on GitHub https://github.com/zsajjad/react-facebook-pixel/issues/109#issuecomment-1727845567, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARGAXOR7JO6Y6ZQY3LV7Y3DX3L4ORANCNFSM6AAAAAAZ5LXEKA . You are receiving this because you commented.Message ID: @.***>
thanks for the recommendation!
any solution so far?
Any updates ?
I encountered a warning while using the react-facebook-pixel package in my React project. The warning message indicates a failure to parse the source map for the fb-pixel.js file. This warning persists even after updating dependencies and performing a clean reinstallation of the package.
WARNING in ./node_modules/react-facebook-pixel/dist/fb-pixel.js Module Warning (from ./node_modules/source-map-loader/dist/cjs.js): Failed to parse source map: 'webpack://ReactPixel/fb-pixel.js' URL is not supported