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

fix(store): broadcast channel #3200

Merged
merged 2 commits into from
Jun 24, 2023
Merged

fix(store): broadcast channel #3200

merged 2 commits into from
Jun 24, 2023

Conversation

himself65
Copy link
Contributor

@himself65 himself65 commented Jun 24, 2023

(node:24310) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
/Users/himself65/Code/AFFiNE/node_modules/async-call-rpc/utils/web/broadcast.channel.js:6
export class BroadcastMessageChannel extends BroadcastChannel {
^^^^^^
SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1176:20)
    at Module._compile (node:internal/modules/cjs/loader:1218:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)
/Users/himself65/Code/AFFiNE/node_modules/async-call-rpc/utils/web/broadcast.channel.js:6
export class BroadcastMessageChannel extends BroadcastChannel {
^^^^^^
SyntaxError: Unexpected token 'export'
    at internalCompileFunction (node:internal/vm:73:18)
    at wrapSafe (node:internal/modules/cjs/loader:1176:20)
    at Module._compile (node:internal/modules/cjs/loader:1218:27)
    at Module._extensions..js (node:internal/modules/cjs/loader:1308:10)
    at Module.load (node:internal/modules/cjs/loader:1117:32)
    at Module._load (node:internal/modules/cjs/loader:958:12)
    at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:169:29)
    at ModuleJob.run (node:internal/modules/esm/module_job:194:25)

@codesandbox
Copy link

codesandbox bot commented Jun 24, 2023

This branch is running in CodeSandbox. Use the links below to review this PR faster.


CodeSandbox logoCodeSandbox logo  Open in CodeSandbox Web Editor | VS Code | VS Code Insiders | Preview

@vercel
Copy link

vercel bot commented Jun 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
blocksuite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2023 3:10pm
blocksuite-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2023 3:10pm

@himself65 himself65 changed the title fix: broadcast channel fix(store): broadcast channel Jun 24, 2023
@himself65 himself65 enabled auto-merge (squash) June 24, 2023 15:15
@himself65 himself65 merged commit 10e3e0b into master Jun 24, 2023
18 checks passed
@himself65 himself65 deleted the himself65/broadcast branch June 24, 2023 15:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

1 participant