On the other hand, a React app is a client-side application and runs in the browser.

You can't import feathers into a browser app because it is a library intended only for the server.

Note: Technically React apps can run on the server too but Create React App doesn't currently support server rendering. It also comes with many pitfalls so I recommend holding off using it until you are comfortable with React itself.

Normally, with Create React App, you are expected to run your API server (which may use Feathers) separately as a Node (or any other) app. The React client would access it via AJAX or other network APIs.

Your Node app would use feathers for the server, and React app would use feathers/client to communicate with it.

To read about setting up a Node and a client-side React app to talk to each other, check out this tutorial and its demo.

Email codedump link for create-react-app yields &#39;the request of a dependency is an expression&#39; in express/lib/view.js