close

[Solved] Can’t import the named export ‘Children’ from non EcmaScript module (only default export is available)

Hello Guys, How are you all? Hope You all Are Fine. Today I am trying to use simple animation with framer-motion in my reactjs But I am facing following error Can’t import the named export ‘Children’ from non EcmaScript module (only default export is available) in react. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Can’t import the named export ‘Children’ from non EcmaScript module (only default export is available) Error Occurs ?

I am trying to use simple animation with framer-motion in my reactjs But I am facing following error.

Can't import the named export 'Children' from non EcmaScript module (only default export is available)

How To Solve Can’t import the named export ‘Children’ from non EcmaScript module (only default export is available) Error ?

  1. How To Solve Can't import the named export 'Children' from non EcmaScript module (only default export is available) Error ?

    To Solve Can't import the named export 'Children' from non EcmaScript module (only default export is available) Error You Just need to Downgrade Framer motion version to “4.1.17” And Now, Your error must be solved.

  2. Can't import the named export 'Children' from non EcmaScript module (only default export is available)

    To Solve Can't import the named export 'Children' from non EcmaScript module (only default export is available) Error You Just need to Downgrade Framer motion version to “4.1.17” And Now, Your error must be solved.

Solution 1: Downgrade Framer motion

You Just need to Downgrade Framer motion version to “4.1.17” And Now, Your error must be solved.

Summary

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you?

Also, Read

Please Rate Our Solution to Motivate Us For Give Our Best

Leave a Comment