Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I get this error in stackblitz when compiling, but when i view the same code in VS code it compiles. #1602

Open
1 task done
captainkiteboard opened this issue Nov 13, 2024 · 0 comments

Comments

@captainkiteboard
Copy link

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

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant