Title: http service is not working in iOS when invoked from worker thread · Issue #5540 · NativeScript/NativeScript · GitHub
Open Graph Title: http service is not working in iOS when invoked from worker thread · Issue #5540 · NativeScript/NativeScript
X Title: http service is not working in iOS when invoked from worker thread · Issue #5540 · NativeScript/NativeScript
Description: Hi, I iOS build the http service is not working, throwing the below error. **TypeError: global.moduleMerge is not a function. (In 'global.moduleMerge(httpRequest, exports)', 'global.moduleMerge' is undefined)** I noticed this problem whe...
Open Graph Description: Hi, I iOS build the http service is not working, throwing the below error. **TypeError: global.moduleMerge is not a function. (In 'global.moduleMerge(httpRequest, exports)', 'global.moduleMerge' is...
X Description: Hi, I iOS build the http service is not working, throwing the below error. **TypeError: global.moduleMerge is not a function. (In 'global.moduleMerge(httpRequest, exports)', 'global.mod...
Opengraph URL: https://github.com/NativeScript/NativeScript/issues/5540
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"http service is not working in iOS when invoked from worker thread","articleBody":"Hi,\r\n\r\n I iOS build the http service is not working, throwing the below error.\r\n\r\n **TypeError: global.moduleMerge is not a function. (In 'global.moduleMerge(httpRequest, exports)', 'global.moduleMerge' is undefined)**\r\n\r\n I noticed this problem when we invoke http service in a worker thread.\r\n I guess the problem exists even when we run in main thread.\r\n\r\n The fix I did for this problem is.. include the below line in \r\n node_modules/tns-core-modules/http/http.js at the beginning of the file\r\n\r\n require('globals');\r\n\r\n ","author":{"url":"https://github.com/slsumathi","@type":"Person","name":"slsumathi"},"datePublished":"2018-03-15T08:55:13.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/5540/NativeScript/issues/5540"}
| 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:f35c3109-a0d9-4b01-bb03-387806f30cd7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A97E:3A13F7:446E3DE:5FBF2E4:6A5FB985 |
| html-safe-nonce | 039ce9fffb4965e88d47c71cf0455231a6335ad2ff39c702cad8d1bb397fe9eb |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTdFOjNBMTNGNzo0NDZFM0RFOjVGQkYyRTQ6NkE1RkI5ODUiLCJ2aXNpdG9yX2lkIjoiMzI1MzQzNDI2Njc2MTAxNzczMyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 033b566599adcdeb7339d761f3994e2946db63a5aef2dcc8c82fffebae2b8925 |
| hovercard-subject-tag | issue:305463095 |
| 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/NativeScript/NativeScript/5540/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8178ed70a965d964b71c5bd6603bd04f96979818b10fbe6eaed557da111b6d0d/NativeScript/NativeScript/issues/5540 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8178ed70a965d964b71c5bd6603bd04f96979818b10fbe6eaed557da111b6d0d/NativeScript/NativeScript/issues/5540 |
| og:image:alt | Hi, I iOS build the http service is not working, throwing the below error. **TypeError: global.moduleMerge is not a function. (In 'global.moduleMerge(httpRequest, exports)', 'global.moduleMerge' is... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | slsumathi |
| hostname | github.com |
| expected-hostname | github.com |
| None | e0cfc367faf9c4c774d2a903897aa214c786247c4f45ffcee48cda2b819fb0c8 |
| turbo-cache-control | no-preview |
| go-import | github.com/NativeScript/NativeScript git https://github.com/NativeScript/NativeScript.git |
| octolytics-dimension-user_id | 7392261 |
| octolytics-dimension-user_login | NativeScript |
| octolytics-dimension-repository_id | 31492490 |
| octolytics-dimension-repository_nwo | NativeScript/NativeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 31492490 |
| octolytics-dimension-repository_network_root_nwo | NativeScript/NativeScript |
| 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 | 94569c859bc88d6bf7de7e0ce3f2a11cd529a131 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width