Title: Errors with WMR · Issue #193 · developit/unistore · GitHub
Open Graph Title: Errors with WMR · Issue #193 · developit/unistore
X Title: Errors with WMR · Issue #193 · developit/unistore
Description: Build: $ npm run build > build > wmr build --prerender Error when using sourcemap for reporting an error: Can't resolve original location of error. 'Provider' is not exported by npm/unistore@3.5.2/preact.js, imported by public/index.js a...
Open Graph Description: Build: $ npm run build > build > wmr build --prerender Error when using sourcemap for reporting an error: Can't resolve original location of error. 'Provider' is not exported by npm/unistore@3.5.2/...
X Description: Build: $ npm run build > build > wmr build --prerender Error when using sourcemap for reporting an error: Can't resolve original location of error. 'Provider' is not exported by n...
Opengraph URL: https://github.com/developit/unistore/issues/193
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Errors with WMR","articleBody":"Build:\r\n\r\n```console\r\n$ npm run build\r\n\r\n\u003e build\r\n\u003e wmr build --prerender\r\n\r\nError when using sourcemap for reporting an error: Can't resolve original location of error.\r\n\r\n'Provider' is not exported by npm/unistore@3.5.2/preact.js, imported by public/index.js\r\n at si (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:88033)\r\n at Ia.error (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:171300)\r\n at Ia.traceVariable (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:179030)\r\n at Ho.findVariable (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:157247)\r\n at En.findVariable (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:43076)\r\n at Bn.findVariable (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:43076)\r\n at Kn.bind (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:63816)\r\n at Go.bind (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:44364)\r\n at Fo.bind (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:44378)\r\n at Fo.bind (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:155881)\r\n```\r\n\r\nIn dev (excerpt):\r\n\r\n```console\r\nError bundling unistore/preact.js.map: Error: Unexpected token (Note that you need plugins to import files that are not JavaScript)\r\n at si (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:88033)\r\n at Ia.error (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:171300)\r\n at Ia.tryParse (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:179404)\r\n at Ia.setSource (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:176750)\r\n at uu.addModuleSource (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:328734)\r\n at async uu.fetchModule (/home/jazg/work/micro/beercounter/node_modules/wmr/wmr.cjs:2:329907)\r\n at async Promise.all (index 0) {\r\n code: 'PARSE_ERROR',\r\n parserError: SyntaxError: Unexpected token (1:10)\r\n```\r\n\r\nIt seems incompatible with WMR (or vice-versa).","author":{"url":"https://github.com/zgoda","@type":"Person","name":"zgoda"},"datePublished":"2021-04-28T20:17:38.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/193/unistore/issues/193"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:54dda622-984e-b4b8-bc91-ff8477a32f58 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8A2A:25ED5A:11FD0D:16C1D8:6990F0C4 |
| html-safe-nonce | 8787cd5bdf6c0774055b8c5460ce1b0b9959aee007f6f02626228892fae13081 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QTJBOjI1RUQ1QToxMUZEMEQ6MTZDMUQ4OjY5OTBGMEM0IiwidmlzaXRvcl9pZCI6IjUzMTk2MDU1NTUyNDQ4ODgyNjAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 83210071d45164ce0c61d01378270d66a7aa95cfaedb7f32251eccf51a05f66e |
| hovercard-subject-tag | issue:870332152 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/developit/unistore/193/issue_layout |
| twitter:image | https://opengraph.githubassets.com/bf1bdcd0feeb1c620ca6562bf05f7ccd04d4144d675000a06ae7db68d93479b3/developit/unistore/issues/193 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/bf1bdcd0feeb1c620ca6562bf05f7ccd04d4144d675000a06ae7db68d93479b3/developit/unistore/issues/193 |
| og:image:alt | Build: $ npm run build > build > wmr build --prerender Error when using sourcemap for reporting an error: Can't resolve original location of error. 'Provider' is not exported by npm/unistore@3.5.2/... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zgoda |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/developit/unistore git https://github.com/developit/unistore.git |
| octolytics-dimension-user_id | 105127 |
| octolytics-dimension-user_login | developit |
| octolytics-dimension-repository_id | 113351554 |
| octolytics-dimension-repository_nwo | developit/unistore |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 113351554 |
| octolytics-dimension-repository_network_root_nwo | developit/unistore |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width