Open wangfei0001 opened 2 years ago
I use redux-persist module in nextjs project, but when I compile in the docker container, always be failed in compiling. Does anyone have any ideas?
info - Creating an optimized production build Failed to compile.
./node_modules/redux-persist/es/integration/react.js Attempted import error: 'PureComponent' is not exported from 'react'.
Build error occurred Error: > Build failed because of webpack errors
@wangfei0001 Can you send through your Dockerfile and some example code? This is hard to answer without it.
I use redux-persist module in nextjs project, but when I compile in the docker container, always be failed in compiling. Does anyone have any ideas?
info - Creating an optimized production build Failed to compile.
./node_modules/redux-persist/es/integration/react.js Attempted import error: 'PureComponent' is not exported from 'react'.