automerge-demo icon indicating copy to clipboard operation
automerge-demo copied to clipboard

Browser console error: "import call expects exactly one argument"

Open aaaidan opened this issue 3 years ago • 4 comments

Hey, thanks for the automerge demo code! Already super helpful as a reference to see how someone else expects it to work. 🙏

When I try to install and run this app, I just get a console error in the browser:

[Error] SyntaxError: Unexpected token '{'. import call expects exactly one argument. (worker.002369dd.js, line 1)

My steps until here have been roughly:

git clone [email protected]:pvh/automerge-demo.git
cd automerge-demo
yarn
yarn build
yarn preview

... then opening the localhost link.

image

Is there anything obvious I'm missing here?

yarn version 1.22.10 Using main branch (specifically baebf196)

aaaidan avatar Aug 02 '21 05:08 aaaidan