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.

Not able to use the addon due to build error

See original GitHub issue

I’m trying to install and use the addon since one of my components uses the next router and its query parameters. Unfortunately, I can’t get the add-on to work. I followed the instructions but I get when starting storybook

ERR! Addon value should end in /register OR it should be a valid preset https://storybook.js.org/docs/react/addons/writing-presets/                                                                               
ERR! storybook-addon-next-router 

and

Can't resolve 'next/dist/next-server/lib/router-context'

Maybe this is because it’s a monorepo?

I’d be very happy if there is a solution to use this addon. Cheers

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
kiliwcommented, Dec 10, 2021

@lifeiscontent sorry for getting back so late. Now everything works fine, thank you very much 😃

0reactions
lifeiscontentcommented, Nov 30, 2021

@kiliw can you try with the latest release?

Read more comments on GitHub >

github_iconTop Results From Across the Web

FIX: Failed to Install Addon from Zip File on Kodi
In this guide, you will find the instructions to fix the error Failed to Install Addon from Zip File during the installation of...
Read more >
How to Fix Failed to Install Addon from ZIP File Error on Kodi
The causes of Failed to Install Addon from ZIP File error on Kodi vary. We've round up the most possible causes and corresponding...
Read more >
Fix Kodi Error Failed to install Addon From Zip File - Bollyinside
Install Zip File Locally and Try the Build Installation Again · Open the Settings menu. · Go to System Settings > Logging. ·...
Read more >
How to fix “Failed to install a dependency” error In Kodi
The most common reason for this error is that the addon you're trying to use relies on tools that are either missing, out...
Read more >
Can't Install Kodi Addons; Could Not Connect to Repository Help
You are using an old version of addon or of Kodi that is unable to read the installation files; You have connected to...
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