Relative Content

Tag Archive for reactjsnode.jsnode-modulesreinstall

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

After I tried a refresh reinstall of node_modules in team’s project (I wanted to switch from v18.15.0 to v16.20.2 – NodeJS), when I type npm start, I got like 42 errors like:
Can’t import the named export (COMPONENT) from non EcmaScript module (only default export is available).
exemple
Any ideas to solve it? I have to mention that
my teammates can run the project without any error, so I don’t think my problem is related to some piece of code. Something’s wrong with some changes on my laptop.
Thanks!

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

After I tried a refresh reinstall of node_modules in team’s project (I wanted to switch from v18.15.0 to v16.20.2 – NodeJS), when I type npm start, I got like 42 errors like:
Can’t import the named export (COMPONENT) from non EcmaScript module (only default export is available).
exemple
Any ideas to solve it? I have to mention that
my teammates can run the project without any error, so I don’t think my problem is related to some piece of code. Something’s wrong with some changes on my laptop.
Thanks!

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

After I tried a refresh reinstall of node_modules in team’s project (I wanted to switch from v18.15.0 to v16.20.2 – NodeJS), when I type npm start, I got like 42 errors like:
Can’t import the named export (COMPONENT) from non EcmaScript module (only default export is available).
exemple
Any ideas to solve it? I have to mention that
my teammates can run the project without any error, so I don’t think my problem is related to some piece of code. Something’s wrong with some changes on my laptop.
Thanks!