question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Breaking Error when Previewing

See original GitHub issue

When attempting to preview a draft from Prismic, this error is thrown:

WARN previewSession function is deprecated in favor of getPreviewResolver function.

As a result, the preview is aborted and Prismic’s master ref is used.

Environment:

  • nuxt 2.12.2
  • @nuxtjs/prismic 1.2.1

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
egstadcommented, May 19, 2020

Tried it, but the error persists and previews still aren’t working. 😢

1reaction
hypervillaincommented, Jun 9, 2020

Awesome. Expect it to be merged in the coming days ✌️

Read more comments on GitHub >

github_iconTop Results From Across the Web

Breaking Error when Previewing · Issue #74 - GitHub
When attempting to preview a draft from Prismic, this error is thrown: WARN previewSession function is deprecated in favor of ...
Read more >
Preview Pane Not Working in Windows 10? 8 Ways to Fix It
1. Ensure the Preview Pane Isn't Disabled · 2. Rule Out the File Specific Issues · 3. Restart Windows Explorer · 4. Tweak...
Read more >
Quickly Fix Preview Not Working (Slow) Errors in After Effects
Part 2: Cached Preview Error in After Effects · 1. Purge the RAM cache. · 2. Empty Disk Cache · 3. Clean Database...
Read more >
How to Fix Outlook PDF Preview Handler Error?
To do so, go to Outlook>File>Options>Trust Center>Trust Center Settings>Attachment Handling. To turn off attachment previewers, simply tap Turn off Attachment  ...
Read more >
How to Fix the 'Preview Could Not Be Loaded' Error - Elementor
If you receive the error message “the preview could not be loaded”, try the following: Enable Safe Mode. Follow the procedures outlined in...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found