Cannot import React Component [solved]

Cannot import React Component [solved]
0

#1

Hello.
I’m trying to set the rendering React components on the server and it’s required to have them required in the node server, but it does not get the component
not like this import CreateAccount from ‘app/components/CreateAccount’;
and not like this const CreateAccount = require ‘app/components/CreateAccount’;

And I cannot understand why?
May be I should reset the config of the webpack?

The project - https://glitch.com/edit/#!/voting-application?path=server.js:13:0

Ps I’ve noticed that file.JS I am able to get/import/require in node js server but file.JSX I cannot