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
i ran pnpm start:web after running pnpm build
solved by upgrading "react-joyride": "2.5.5", without ^
@Emil
Ohh so it's solved?
yes
Thank you so much for sharing!
I will tag it as resolved 🙂
@Emil do i need to raise a pr for this? did you also face this issue
?
@Pawan Jain could you answer this?