ysulyma / cm6-demo

CodeMirror 6 demo for Liqvid + Remotion
8 stars 0 forks source link

compilation error when first launched #1

Open remisharrock opened 2 years ago

remisharrock commented 2 years ago

I get this compilation error when I first launch the app , any help ? Thank you !

sharrock@spectre007:~/cm6-demo$ NODE_ENV=development webpack --watch asset bundle.js 887 KiB [compared for emit] (name: main) runtime modules 937 bytes 4 modules modules by path ./node_modules/ 793 KiB modules by path ./node_modules/@codemirror/ 579 KiB 23 modules modules by path ./node_modules/rp-codemirror/*.js 54.8 KiB 3 modules

ERROR in /home/sharrock/cm6-demo/src/development/HTMLBooth.tsx ./src/development/HTMLBooth.tsx 34:33-42 [tsl] ERROR in /home/sharrock/cm6-demo/src/development/HTMLBooth.tsx(34,34) TS2339: Property 'extension' does not exist on type 'Recorder'. ts-loader-default_e3b0c44298fc1c14 @ ./src/index.tsx 7:0-43 31:28-37

ERROR in /home/sharrock/cm6-demo/src/cm-views.tsx ./src/cm-views.tsx 38:28-41 [tsl] ERROR in /home/sharrock/cm6-demo/src/cm-views.tsx(38,29) TS2349: This expression is not callable. No constituent of type 'Extension' is callable. ts-loader-default_e3b0c44298fc1c14 @ ./src/development/HTMLBooth.tsx 7:0-37 24:28-34 @ ./src/index.tsx 7:0-43 31:28-37

webpack 5.72.0 compiled with 2 errors in 8765 ms

ysulyma commented 2 years ago

The types aren't fully correct in the recording package, the error message is ugly but harmless. Does it run ok?