studio
studio copied to clipboard
When trying to copy the example app and install mathigon studio, getting an error.
Copied the example folder.
Installed mathigon studio 0.1.26. When I do npm run dev, get the following error.
docs/example/node_modules/@mathigon/studio/server/app.ts:7 import crypto from 'crypto'; ^^^^^^
SyntaxError: Cannot use import statement outside a module
at Object.compileFunction (node:vm:352:18)
at wrapSafe (node:internal/modules/cjs/loader:1031:15)
at Module._compile (node:internal/modules/cjs/loader:1065:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Object.require.extensions.
I am having the same issue