René's URL Explorer Experiment


Title: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory · Issue #16165 · microsoft/TypeScript · GitHub

Open Graph Title: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory · Issue #16165 · microsoft/TypeScript

X Title: FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory · Issue #16165 · microsoft/TypeScript

Description: TypeScript Version: 2.3.3 AND 2.3.4. I am trying to create a definition file for promise-throttle, it has the following API: var PromiseThrottle = require('promise-throttle'); var promiseThrottle = new PromiseThrottle({}); ... Here is th...

Open Graph Description: TypeScript Version: 2.3.3 AND 2.3.4. I am trying to create a definition file for promise-throttle, it has the following API: var PromiseThrottle = require('promise-throttle'); var promiseThrottle =...

X Description: TypeScript Version: 2.3.3 AND 2.3.4. I am trying to create a definition file for promise-throttle, it has the following API: var PromiseThrottle = require('promise-throttle'); var promiseTh...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/16165

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory","articleBody":"**TypeScript Version:**  2.3.3 AND 2.3.4.\r\n\r\nI am trying to create a definition file for [promise-throttle](https://www.npmjs.com/package/promise-throttle), it has the following API:\r\n```js\r\nvar PromiseThrottle = require('promise-throttle');\r\n\r\nvar promiseThrottle = new PromiseThrottle({});\r\n...\r\n```\r\n\r\nHere is the setup:\r\n\r\n`src/test.ts`\r\n```ts\r\nimport PromiseThrottle from 'promise-throttle';\r\n\r\n...\r\n```\r\n\r\n`types/promise-throttle/index.d.ts`\r\n```ts\r\ninterface PromiseThrottleOptions {\r\n\trequestsPerSecond: number;\r\n\tpromiseImplementation?: any;\r\n}\r\n\r\nexport default class PromiseThrottle {\r\n\tconstructor(options: PromiseThrottleOptions);\r\n\tadd\u003cT>(promise: () => Promise\u003cT>): Promise\u003cT>;\r\n\taddAll\u003cT>(promises: ReadonlyArray\u003c() => Promise\u003cT>>): Promise\u003cT>;\r\n\tdequeue(): void;\r\n}\r\n```\r\n\r\n`tsconfig.json`\r\n```json\r\n{\r\n\t\"compilerOptions\": {\r\n\t\t\"module\": \"commonjs\",\r\n\t\t\"target\": \"es2016\",\t\r\n\t\t\"outDir\": \"dist\",\r\n\t\t\"baseUrl\": \"./\",\r\n\t\t\"paths\": {\r\n\t\t\t\"*\": [\"types/*/index.d.ts\"]\r\n\t\t},\r\n\t\t\"alwaysStrict\": true,\r\n\t\t\"forceConsistentCasingInFileNames\": true,\r\n\t\t\"noFallthroughCasesInSwitch\": true,\r\n\t\t\"noImplicitAny\": false,\r\n\t\t\"noImplicitReturns\": true,\r\n\t\t\"noImplicitThis\": true,\r\n\t\t\"noUnusedParameters\": false,\r\n\t\t\"noUnusedLocals\": true,\r\n\t\t\"skipLibCheck\": false,\r\n\t\t\"sourceMap\": true,\r\n\t\t\"strictNullChecks\": true,\r\n\t\t\"allowSyntheticDefaultImports\": true\r\n\t},\r\n\t\"include\": [\r\n\t\t\"src/**/*.ts\"\r\n\t]\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\nTSC to compile the code fine.\r\n\r\n**Actual behavior:**\r\n\r\n`\r\nFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\r\nnpm ERR! Windows_NT 10.0.15063\r\nnpm ERR! argv \"C:\\\\Program Files\\\\nodejs\\\\node.exe\" \"C:\\\\Program Files\\\\nodejs\\\\node_modules\\\\npm\\\\bin\\\\npm-cli.js\" \"run\" \"build\"\r\nnpm ERR! node v7.10.0\r\nnpm ERR! npm  v4.2.0\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! errno 3\r\nnpm ERR! \u003c>@1.0.0 build: `tsc`\r\nnpm ERR! Exit status 3\r\nnpm ERR! \r\nnpm ERR! Failed at the \u003c>@1.0.0 build script 'tsc'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the \u003c> package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     tsc\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs \u003c>\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls \u003c>\r\nnpm ERR! There is likely additional logging output above.\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!    %AppData%\\Roaming\\npm-cache\\_logs\\2017-05-31T08_01_13_818Z-debug.log\r\n`\r\n\r\nSeems to be similar to [this](https://github.com/Microsoft/TypeScript/issues/15864) issue?","author":{"url":"https://github.com/SeanSobey","@type":"Person","name":"SeanSobey"},"datePublished":"2017-05-31T08:03:02Z","url":"https://github.com/microsoft/TypeScript/issues/16165"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0ef217a7-f658-13b0-5a76-7536db47a52a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F86:2C4BED:2AEAE8B:36849ED:6B01ABA7
html-safe-nonce820654aca4f36788b2db719af191f22719131e31853968ad884bb6f905c3e327
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Rjg2OjJDNEJFRDoyQUVBRThCOjM2ODQ5RUQ6NkIwMUFCQTciLCJ2aXNpdG9yX2lkIjoiNjQ4MTQ0MTQwNjIzMjY2OTA5NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3b0e586185d4055c04bf907e0ac7dbc6ea1fd9c8e130fa68a34b8f71b01b7482
hovercard-subject-tagissue:232485261
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/16165/issue_layout
twitter:imagehttps://opengraph.githubassets.com/1683c7976b00de5fee243ba115eef87c29747a560c1b2785b89d52e484c5160c/microsoft/TypeScript/issues/16165
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/1683c7976b00de5fee243ba115eef87c29747a560c1b2785b89d52e484c5160c/microsoft/TypeScript/issues/16165
og:image:altTypeScript Version: 2.3.3 AND 2.3.4. I am trying to create a definition file for promise-throttle, it has the following API: var PromiseThrottle = require('promise-throttle'); var promiseThrottle =...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSeanSobey
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/16165#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F16165
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F16165
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/16165
Reloadhttps://github.com/microsoft/TypeScript/issues/16165
Reloadhttps://github.com/microsoft/TypeScript/issues/16165
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/16165
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/16165
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memoryhttps://github.com/microsoft/TypeScript/issues/16165#top
https://github.com/sandersn
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
TypeScript 2.5https://github.com/microsoft/TypeScript/milestone/49
https://github.com/SeanSobey
Sean Sobey (SeanSobey)https://github.com/SeanSobey
on May 31, 2017https://github.com/microsoft/TypeScript/issues/16165#issue-232485261
promise-throttlehttps://www.npmjs.com/package/promise-throttle
thishttps://github.com/Microsoft/TypeScript/issues/15864
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on May 31, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1104534763
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on May 31, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1104534832
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.4https://github.com/microsoft/TypeScript/milestone/43
on May 31, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1104534871
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.4https://github.com/microsoft/TypeScript/milestone/43
TypeScript 2.4.1https://github.com/microsoft/TypeScript/milestone/50
on Jun 8, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1114871626
Ron Buckton (rbuckton)https://github.com/rbuckton
TypeScript 2.4.2https://github.com/microsoft/TypeScript/milestone/52
TypeScript 2.4.1https://github.com/microsoft/TypeScript/milestone/50
on Jun 21, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1133755128
https://github.com/JoshuaKGoldberg
Josh Ghoulberg 👻 (JoshuaKGoldberg)https://github.com/JoshuaKGoldberg
on Jun 27, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-311246016
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312014661
Josh Ghoulberg 👻 (@JoshuaKGoldberg)https://github.com/JoshuaKGoldberg
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312018773
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1144546181
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1144548988
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312019621
#16234https://github.com/microsoft/TypeScript/issues/16234
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312022882
Sean Sobey (@SeanSobey)https://github.com/SeanSobey
Ron Buckton (rbuckton)https://github.com/rbuckton
TypeScript 2.5https://github.com/microsoft/TypeScript/milestone/49
TypeScript 2.4.2https://github.com/microsoft/TypeScript/milestone/52
on Jun 29, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1145014793
https://github.com/SeanSobey
Sean Sobey (SeanSobey)https://github.com/SeanSobey
on Jun 30, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312200547
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jun 30, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312303954
https://github.com/SeanSobey
Sean Sobey (SeanSobey)https://github.com/SeanSobey
on Jul 3, 2017https://github.com/microsoft/TypeScript/issues/16165#issuecomment-312559779
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Jul 6, 2017https://github.com/microsoft/TypeScript/issues/16165#event-1152891183
microsofthttps://github.com/microsoft
on Jun 14, 2018https://github.com/microsoft/TypeScript/issues/16165#event-1682150785
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/16165
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/16165
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
TypeScript 2.5https://github.com/microsoft/TypeScript/milestone/49
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.