You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
When attempting to perform the deployment using "npm run deploy" I was receiving this error message: "Library cannot function without fetch. So, please provide polyfill for it."
Steps to reproduce
Follow the standard deployment steps
Expected behavior
No errors
Current behavior
Error: Library cannot function without fetch. So, please provide polyfill for it.
Known workarounds
None
Possible solution
Add "import "isomorphic-fetch";" to the top of the \deployment\src\utils.ts
Context and Environment
Operating System: Windows 10
GitHub branch: Master
.NET Runtime: N/A
The text was updated successfully, but these errors were encountered:
Alright this worked for me, even though I don't know the details: add the line "require('isomorphic-fetch');" to the beginning of the files "deployment\src\utils.ts" and "deployment\src\deploy.ts" and use "npm install isomorphic-fetch" instead of "npm install"
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Type of issue
Description
When attempting to perform the deployment using "npm run deploy" I was receiving this error message: "Library cannot function without fetch. So, please provide polyfill for it."
Steps to reproduce
Expected behavior
No errors
Current behavior
Error: Library cannot function without fetch. So, please provide polyfill for it.
Known workarounds
None
Possible solution
Add "import "isomorphic-fetch";" to the top of the \deployment\src\utils.ts
Context and Environment
The text was updated successfully, but these errors were encountered: