Basic

ERROR vue-template-compiler must be installed as a peer dependency

Hello Friends! 🙏, today while I was working on How to setup a Vue JS v3 project from scratch (without Vue CLI) (Including SFC’s & Vue Router v4), When I compiled the App, I got below error ❗. As error has already pointed the issue is at vue-loader, I went through the documentation and every thing …

ERROR vue-template-compiler must be installed as a peer dependency Read More »

WARN export ‘default’ (imported as ‘Vue’) was not found in ‘vue’

Hello Friends! 🙏, today while I was working on How to setup a Vue JS v3 project from scratch (without Vue CLI) (Including SFC’s & Vue Router v4), When I compiled the App, I got below warning ⚠. So checked the way I have imported the Vue, it’s like: Now after doing some research 🔍😁, …

WARN export ‘default’ (imported as ‘Vue’) was not found in ‘vue’ Read More »

WARN export ‘Switch’ (imported as ‘Switch’) was not found in ‘react-router-dom’

Hello Friends 🙏, today I was setting up a new React project from scratch without using create-react-app and after doing all the required steps when I compiled the React App, I got below warning😮: So basically it is complaining for the Switch here, below is the code: Then I did a search on this error …

WARN export ‘Switch’ (imported as ‘Switch’) was not found in ‘react-router-dom’ Read More »

ERROR TypeError: parentInstance.children.indexOf is not a function – React Testing Library

Hello friends 🙏, today someone came to me with this issue, it was a React v16 project and facing issue while trying to match the snapshots using React Testing Library. This error was pointing to .create method of the renderer: So after bit some research 🔍😅, found that error is happening due to some compatibility …

ERROR TypeError: parentInstance.children.indexOf is not a function – React Testing Library Read More »