Open domdomegg opened 3 months ago
Installing the VSCode extension and creating a very simple example:
example.squiggle:
example.squiggle
a = normal(0, 1)
Previewing it results in a blank screen. The debug console outputs the error:
Uncaught SyntaxError: Cannot use 'import.meta' outside a module (at index.js:16046:14691)
Shows a preview of the squiggle file
Blank page
VS Code details: Version: 1.91.0 Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286 Date: 2024-07-01T18:53:23.353Z (1 wk ago) Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 23.5.0
Squiggle details: Extension version v0.9.5
I'm getting this also, on 2 Macbook M1 devices, same software versions as reported above.
I wonder if this is a build issue or one of local configuration not being as expected?
Description
Installing the VSCode extension and creating a very simple example:
example.squiggle
:Previewing it results in a blank screen. The debug console outputs the error:
Steps to reproduce:
Expected behavior:
Shows a preview of the squiggle file
What I got instead:
Blank page
Debugging details
VS Code details: Version: 1.91.0 Commit: ea1445cc7016315d0f5728f8e8b12a45dc0a7286 Date: 2024-07-01T18:53:23.353Z (1 wk ago) Electron: 29.4.0 ElectronBuildId: 9728852 Chromium: 122.0.6261.156 Node.js: 20.9.0 V8: 12.2.281.27-electron.0 OS: Darwin arm64 23.5.0
Squiggle details: Extension version v0.9.5