reactour
reactour copied to clipboard
ModuleNotFoundError: Module not found: Error: Can't resolve 'reactour' NextJs CI
Hi, I've installed reactour on my project in NextJs, everything works locally, but I don't know why I get this error on the CI : ModuleNotFoundError: Module not found: Error: Can't resolve 'reactour' To Reproduce : This is how I'm importing the library :
import dynamic from 'next/dynamic'
const Tour = dynamic(() => import('reactour'), {
ssr: false,
})
Expected behaviour I don't get what can causes that the CI doesn't find the module when everything builds perfectly locally.
Screenshots

Desktop (please complete the following information):
OS: linux for the CI, windows for the local Browser chrome Linux Version : 3.14.6 NodeJs Version : 14.19.3 Thank you.
This is happening also for the online demo version which is a NextJS app and works ok locally. Which version of @reactour/tour are you using?
Hi, I'm using reactour v 1.15.5. How do you do to make it working on the server then? Thank you.
Mind creating a minimal reproduction in a sandbox?
Is this still happening?
Sorry, I'm not using it with NextJs anymore, I use directly react. I Might use it with NextJs soon I will let you know.