N
Novu•8mo 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/react-joyride@2.6.2@types+react@17.0.62_react-dom@17.0.2_react@17.0.2/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/react-joyride@2.6.2@types+react@17.0.62_react-dom@17.0.2_react@17.0.2/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/react-joyride@2.6.2@types+react@17.0.62_react-dom@17.0.2_react@17.0.2/node_modules/react-joyride/dist' Did you mean 'jsx-runtime.js'?
6 Replies
User15
User15•8mo ago
i ran pnpm start:web after running pnpm build solved by upgrading "react-joyride": "2.5.5", without ^ @Emil
empe
empe•8mo ago
Ohh so it's solved?
User15
User15•8mo ago
yes
empe
empe•8mo ago
Thank you so much for sharing! I will tag it as resolved 🙂
User15
User15•8mo ago
@Emil do i need to raise a pr for this? did you also face this issue ?
empe
empe•8mo ago
@Pawan Jain could you answer this?
Want results from more Discord servers?
Add your server
More Posts