@muescha
Nothing here yet.
Nothing here yet.
No blogs yet.
i hate PHP - every similar command comes with different order of parameters, and for methods where you should use paramters there was a new method PS: i only know the early versions of PHP but still i refuse to use it again
you can checkout how it is done with Google Analytics: https://www.gatsbyjs.org/docs/adding-analytics/ https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-analytics/src/gatsby-ssr.js https://github.com/gatsbyjs/gatsby/blob/master/packages/gatsby-plugin-google-analytics/src/gatsby-browser.js
you should include into the article that: A) audit error this error would not be fixed: issues serialize-to-js $ npm audit === npm audit security report === ┌──────────────────────────────────────────────────────────────────────────────┐ │ Manual Review │ │ Some vulnerabilities require your attention to resolve │ │ │ │ Visit https: //g o. npm .me/audit-guide for additional guidance │ └──────────────────────────────────────────────────────────────────────────────┘ ┌───────────────┬──────────────────────────────────────────────────────────────┐ │ High │ Denial of Service │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Package │ serialize-to-js │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Patched in │ >= 2.0 .0 │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Dependency of │ parcel-bundler [dev] │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ Path │ parcel-bundler > serialize-to-js │ ├───────────────┼──────────────────────────────────────────────────────────────┤ │ More info │ https: // npmjs.com/advisories/ 790 │ └───────────────┴──────────────────────────────────────────────────────────────┘ found 1 high severity vulnerability in 10336 scanned packages 1 vulnerability requires manual review. See the full report for details. B) can not find 'json5' i fixed it with an additional npm install /Users/muescha/Work/react/parcel-project/index.js: Cannot find module 'json5' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (/Users/muescha/Work/react/parcel-project/node_modules/v8-compile- cache /v8-compile- cache .js: 161 : 20 ) at Object .<anonymous> (/ Users /muescha/ Work /react/parcel- project /node_modules/babel-core/lib/transformation/ file /options/ build -config- chain .js: 19 : 13 ) at Module ._compile (/ Users /muescha/ Work /react/parcel- project /node_modules/v8-compile- cache /v8-compile- cache .js: 194 : 30 ) at Object . Module ._extensions..js (internal/modules/cjs/loader.js: 712 : 10 ) at Module . load (internal/modules/cjs/loader.js: 600 : 32 ) at tryModuleLoad (internal/modules/cjs/loader.js: 539 : 12 ) at Function . Module ._load (internal/modules/cjs/loader.js: 531 : 3 )