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

don't work after update #133

Open
drosan-dev opened this issue Sep 16, 2019 · 14 comments
Open

don't work after update #133

drosan-dev opened this issue Sep 16, 2019 · 14 comments

Comments

@drosan-dev
Copy link

No description provided.

@drosan-dev
Copy link
Author

help

@drosan-dev
Copy link
Author

image

@icewind1991
Copy link
Owner

Can you see if there is anything in the browsers console log

@phiL0co
Copy link

phiL0co commented Sep 18, 2019

I can affirm this!
I'm using NC 15.0.11. After updating to Markdown Editor 2.1.0 the preview does not work.

@icewind1991
Copy link
Owner

You can try updating to nc16 if possible and see if that makes a difference

@phiL0co
Copy link

phiL0co commented Sep 18, 2019

Unfortunately I can't because my Ubuntu version doesn't meet the requirements and I don't want to dist-upgrade yet.
It would be great if it would work on NC15, too!

@jordanbray
Copy link

I can confirm the same problem on NC 16.0.3 with Markdown 2.1.0.

@jordanbray
Copy link

Since you asked for the console log, I got the following error which looks like the source to me:

Unhandled promise rejection TypeError: "n is not a constructor"
    initPromise PreviewPlugin.ts:24
    o main.js:230
    H main.js:230
    u main.js:235
main.js:230:27763
    t https://xxx/core/js/dist/main.js:230
    exports https://xxx/core/js/dist/main.js:235
    O https://xxx/core/js/dist/main.js:230
    exports https://xxx/core/js/dist/main.js:230
    <anonymous> https://xxx/core/js/dist/main.js:181
    v https://xxx/core/js/dist/main.js:181
    y https://xxx/core/js/dist/main.js:181

@jordanbray
Copy link

It magically fixed itself after refreshing a few times. I was attempting to open a console and see if I could catch the exception, but it vanished as soon as I started looking for it.

@phiL0co
Copy link

phiL0co commented Sep 19, 2019

It magically fixed itself after refreshing a few times.

What do you mean with that? Is the preview working again for you?

@jordanbray
Copy link

Yes. It just started working after a few refreshes. I didn't change anything server or client side.

@phiL0co
Copy link

phiL0co commented Sep 19, 2019

That does not work for me, unfortunately.
My console log gives me:

TypeError: r.renderer is undefined PreviewPlugin.ts:71:12

@phiL0co
Copy link

phiL0co commented Sep 29, 2019

Don't ask me why (I didn't update the markdown app), but all of a sudden, the preview is working!

@datenimperator
Copy link

The preview worked for me, before I upgraded NC 16.0.4 to 16.0.5. After that it did not show the preview anymore (like on OPs screenshot). After clearing the cache and reloading the page, it worked again.

Seems like an issue with stale JS files.

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

5 participants