N
Novu•13mo ago
User15

Error on running yarn start:web.

Hi i am running the setup for the first time . I got the following error .How do i resolve it?I tried to create a alias in webpack config but that did not help Failed to compile. Module not found: Error: Can't resolve 'react/jsx-runtime' in '/Users/smohindra/projects2/novu/nodemodules/.pnpm/[email protected]@[email protected][email protected][email protected]/node_modules/react-joyride/dist' Did you mean 'jsx-runtime.js'? BREAKING CHANGE: The request 'react/jsx-runtime' failed to resolve only because it was resolved as fully specified (probably because the origin is strict EcmaScript Module, e. g. a module with javascript mimetype, a '.mjs' file, or a '.js' file where the package.json contains '"type": "module"'). The extension in the request is mandatory for it to be fully specified. Add the extension to the request. ERROR in ../../nodemodules/.pnpm/[email protected]@[email protected][email protected][email protected]/node_modules/react-joyride/dist/index.mjs 1015:0-46 Module not found: Error: Can't resolve 'react/jsx-runtime' in '/Users/smohindra/projects2/novu/nodemodules/.pnpm/[email protected]@[email protected][email protected][email protected]/node_modules/react-joyride/dist' Did you mean 'jsx-runtime.js'?
6 Replies
User15
User15OP•13mo ago
i ran pnpm start:web after running pnpm build solved by upgrading "react-joyride": "2.5.5", without ^ @Emil
empe
empe•13mo ago
Ohh so it's solved?
User15
User15OP•13mo ago
yes
empe
empe•13mo ago
Thank you so much for sharing! I will tag it as resolved 🙂
User15
User15OP•13mo ago
@Emil do i need to raise a pr for this? did you also face this issue ?
empe
empe•13mo ago
@Pawan Jain could you answer this?
Want results from more Discord servers?
Add your server