react
react copied to clipboard
./node_modules/@phosphor-icons/react/dist/lib/context.mjs Can't import the named export 'createContext' from non EcmaScript module (only default export is available)
Describe the bug
Unable to build the project after doing npm install with latest build v2.1.4
Steps to Reproduce
Install v2.1.4 and try to run react project you will find the issue in console
./node_modules/@phosphor-icons/react/dist/lib/context.mjs Can't import the named export 'createContext' from non EcmaScript module (only default export is available)
Expected behavior
No error should be reported in console or in browser. It should work as normal.
Screenshots
Context (please complete the following information):
- OS: Windows 11 Home
- Browser: Chrome
- Library: @phosphor-icons/react
- Version: v2.1.4