Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bdwilliams/edbf74bc2b98da9f88a8534e86c8d27f to your computer and use it in GitHub Desktop.
Save bdwilliams/edbf74bc2b98da9f88a8534e86c8d27f to your computer and use it in GitHub Desktop.
assets by status 43 MiB [cached] 14 assets
cached modules 14.6 MiB (javascript) 306 KiB (runtime) [cached] 2028 modules
javascript modules 313 KiB
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/performance_dashboard/styles/styles.css 85 KiB [built]
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/global/styles/tailwind.css 85 KiB [built]
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/order_history/styles/index.css 71.6 KiB [built]
./node_modules/css-loader/dist/cjs.js!./node_modules/postcss-loader/dist/cjs.js!./src/hello/styles/index.css 71.6 KiB [built]
ERROR in src/shopify_app/extensions/lcly-web-pixel/src/index.ts:1:24
TS2307: Cannot find module '@shopify/web-pixels-extension' or its corresponding type declarations.
> 1 | import {register} from "@shopify/web-pixels-extension";
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2 |
3 | register(({ analytics }) => {
4 | // Bootstrap and insert pixel script tag here
ERROR in src/shopify_app/extensions/lcly-web-pixel/src/index.ts:3:13
TS7031: Binding element 'analytics' implicitly has an 'any' type.
1 | import {register} from "@shopify/web-pixels-extension";
2 |
> 3 | register(({ analytics }) => {
| ^^^^^^^^^
4 | // Bootstrap and insert pixel script tag here
5 | const pixelEndpoint = 'https://www.locally.test/shopify/channel/web_pixel_webhook';
6 |
ERROR in src/shopify_app/extensions/lcly-web-pixel/src/index.ts:8:40
TS7006: Parameter 'event' implicitly has an 'any' type.
6 |
7 | // Sample subscribe to page view
> 8 | analytics.subscribe('all_events', (event) => {
| ^^^^^
9 |
10 | fetch(pixelEndpoint, {
11 | method: 'POST',
webpack 5.90.3 compiled with 3 errors in 2887 ms
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment