-
Notifications
You must be signed in to change notification settings - Fork 258
Description
Describe the bug
I get this error in stackblitz when compiling, but when i view the same code in VS code it compiles.
TypeError: Incompatible receiver, Promise required
at eval (file:///home/captainkiteboard/bolt.new/node_modules/core-js/internals/internal-state.js#cjs:24:13)
at Promise.then (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:230:17)
at Promise.then (https://boltnew-ps0w.w-credentialless-staticblitz.com/blitz.f565b097.js:40:22585)
at eval (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:265:11)
at new Promise (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:205:7)
at Promise.then (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:264:16)
at Promise.catch (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.catch.js#cjs:16:17)
at https://boltnew-ps0w.w-credentialless-staticblitz.com/blitz.f565b097.js:40:516293
TypeError: Incompatible receiver, Promise required
at eval (file:///home/captainkiteboard/bolt.new/node_modules/core-js/internals/internal-state.js#cjs:24:13)
at Promise.then (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:230:17)
at Promise.then (https://boltnew-ps0w.w-credentialless-staticblitz.com/blitz.f565b097.js:40:22585)
at eval (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:265:11)
at new Promise (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:205:7)
at Promise.then (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:264:16)
at Promise.catch (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.catch.js#cjs:16:17)
at https://boltnew-ps0w.w-credentialless-staticblitz.com/blitz.f565b097.js:40:516293
⨯ TypeError: Incompatible receiver, Promise required
at eval (file:///home/captainkiteboard/bolt.new/node_modules/core-js/internals/internal-state.js#cjs:24:13)
at Promise.then (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:230:17)
at Promise.then (https://boltnew-ps0w.w-credentialless-staticblitz.com/blitz.f565b097.js:40:22585)
at eval (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:265:11)
at new Promise (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:205:7)
at Promise.then (file:///home/captainkiteboard/bolt.new/node_modules/core-js/modules/es.promise.constructor.js#cjs:264:16)
at Object.then (https://boltnew-ps0w.w-credentialless-staticblitz.com/blitz.f565b097.js:40:21490) {
page: '/'
}
ii have clearred the cache, removed and reinstalled the with npm install, and also deleted the package lock file
Link to the blitz that caused the error
https://stackblitz.com/~/github.com/captainkiteboard/bolt.new
Steps to reproduce
run npm run dev on the code as it comes from github repo
Expected behavior
needs to build and run as in VS code
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
No response
Platform
Version = 1.84.0
Hash = 3b0b7194bc6b567c2eaf4c96a5759098469dcf59
WebContainer = f565b097
Browser name = Chrome
Full version = 130.0.0.0
Major version = 130
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36
performance.memory = {
"totalJSHeapSize": 71820109,
"usedJSHeapSize": 60949593,
"jsHeapSizeLimit": 4294705152
}
Additional context
n/a