react-spotify icon indicating copy to clipboard operation
react-spotify copied to clipboard

Invalid element type

Open MartijnMillecamp opened this issue 4 years ago β€’ 3 comments

Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.

Check the render method of MainView.

./src/index.js src/index.js:16 13 | applyMiddleware(thunk) 14 | ); 15 |

16 | ReactDOM.render( 17 | <Provider store={store}> 18 | <App /> 19 | </Provider>,

MartijnMillecamp avatar Jul 07 '20 08:07 MartijnMillecamp

Hey @MartijnMillecamp it could be the version of node that you are using.

See this issue.

Pau1fitz avatar Jul 07 '20 08:07 Pau1fitz

The node version seems not to be the problem :(

MartijnMillecamp avatar Jul 07 '20 09:07 MartijnMillecamp

The node version seems not to be the problem :(

see this issue solution. Try copy and paste I have same issue, but now it working

cuttleman avatar Mar 23 '21 08:03 cuttleman