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

Issues with prosemirrorHtmlEditor breaks build locally, entirely on Vercel #221

Closed
skybird-dev opened this issue Dec 10, 2022 · 1 comment

Comments

@skybird-dev
Copy link

Describe the bug
multiple issues with prosemirror

To Reproduce
Uncommenting firebase modules and entering all firebase data in config.design.json & config.publish.json

Expected behavior
loading website for editing

Screenshots
Upon Compiling, errors show up in the browser:
Screen Shot 2022-12-10 at 6 28 28 AM

But you can click the X to ignore them.
Screen Shot 2022-12-10 at 6 28 40 AM


Compiled with problems gitpod.io with visual studio

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 103:39-46

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(103,40)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 257:29-36

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(257,30)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 257:82-89

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(257,83)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 276:127-134

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(276,128)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 349:44-51

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(349,45)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 350:63-70

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(350,64)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 402:55-62

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(402,56)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 438:55-62

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(438,56)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 515:12-47

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(515,13)
TS2322: Type 'boolean' is not assignable to type 'string'.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 534:43-48

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(534,44)
TS2740: Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 116 more.

ERROR in ./node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts) 551:8-43

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(551,9)
TS2322: Type 'boolean' is not assignable to type 'string'.

ERROR in ./node_modules/@paperbits/prosemirror/keymap.ts (/workspace/skybird.app/node_modules/@paperbits/prosemirror/keymap.ts) 87:20-27

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/keymap.ts(87,21)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 103:39-46

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(103,40)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 257:29-36

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(257,30)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 257:82-89

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(257,83)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 276:127-134

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(276,128)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 349:44-51

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(349,45)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 350:63-70

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(350,64)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 402:55-62

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(402,56)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 438:55-62

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(438,56)
TS2339: Property '$cursor' does not exist on type 'Selection'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 515:12-47

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(515,13)
TS2322: Type 'boolean' is not assignable to type 'string'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 534:43-48

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(534,44)
TS2740: Type 'Element' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 116 more.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts 551:8-43

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/prosemirrorHtmlEditor.ts(551,9)
TS2322: Type 'boolean' is not assignable to type 'string'.

ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/keymap.ts 87:20-27

[tsl] ERROR in /workspace/skybird.app/node_modules/@paperbits/prosemirror/keymap.ts(87,21)
TS2339: Property '$cursor' does not exist on type 'Selection'.

_________________________\

With Vercel, it will not even do that much:
Screen Shot 2022-12-10 at 6 29 11 AM
Screen Shot 2022-12-10 at 6 33 01 AM
Screen Shot 2022-12-10 at 6 33 07 AM
Screen Shot 2022-12-10 at 6 33 11 AM
Screen Shot 2022-12-10 at 6 33 17 AM
Screen Shot 2022-12-10 at 6 33 22 AM
Screen Shot 2022-12-10 at 6 33 27 AM
Screen Shot 2022-12-10 at 6 33 31 AM
Screen Shot 2022-12-10 at 6 33 38 AM

@azaslonov
Copy link
Member

Fixed in version 0.1.536.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants