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

Error when run yarn start:ui on Chrome - TypeError: Accessor not expected at intrinsics.%IteratorPrototype%.constructor at installSesLockdown.ts:7:1 #87

Open
rider-cantuaria-eng opened this issue Jun 6, 2024 · 2 comments

Comments

@rider-cantuaria-eng
Copy link

Hello guys, I got this error* TypeError: Accessor not expected at intrinsics.%IteratorPrototype%.constructor at installSesLockdown.ts:7:1 when I'm using the Chrome** browser. In Firefox, it works fine.

  1. SO: Ubuntu 23.04
  2. Chrome Version: Version 125.0.6422.60 (Official Build) (64-bit)

[*]
image
[**]
image

@dckc
Copy link
Member

dckc commented Jun 6, 2024

Hi. Thanks for sharing your experience.

Several of us are pretty surprised by those symptoms. They suggest an odd version of ses is involved somehow. It should be 1.3.0:

"ses": "1.3.0",

What does yarn why ses show?

Stepping back a bit... what happened just before these symptoms? Were you following the getting started tutorial? You got as far as yarn start:ui? Then when you opened your browser, you immediately saw these errors?

@samsiegart
Copy link
Contributor

For reference, this is my chrome version:

image

And yarn why ses:

=> Found "ses@1.3.0"
info Reasons this module exists
   - "_project_#offer-up-ui" depends on it
   - Hoisted from "_project_#offer-up-ui#ses"
   - Hoisted from "_project_#@agoric#swingset-vat#@endo#compartment-mapper#ses"
   - Hoisted from "_project_#@agoric#casting#@endo#lockdown#ses"
   - Hoisted from "_project_#@agoric#xsnap#@endo#netstring#ses"
   - Hoisted from "_project_#@agoric#notifier#@endo#promise-kit#ses"
   - Hoisted from "_project_#offer-up-contract#@endo#ses-ava#ses"
   - Hoisted from "_project_#@agoric#xsnap#@endo#stream-node#ses"
   - Hoisted from "_project_#@agoric#xsnap#@endo#stream#ses"
   - Hoisted from "_project_#@agoric#swingset-vat#@endo#compartment-mapper#@endo#static-module-record#ses"
info Disk size without dependencies: "3.27MB"
info Disk size with unique dependencies: "3.33MB"
info Disk size with transitive dependencies: "3.33MB"
info Number of shared dependencies: 1
Done in 0.42s.

I don't see such an error when I start the dapp from fresh clone of the repo.

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

3 participants