You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 24, 2024. It is now read-only.
The dependency chalk is outdated (using ^1.1.1 while the available version is 2.4.2.)
I am using node-sass in a create-react-app, which is using react-scripts v.3.0.0, which is also using chalk but in the advanced version (2.4.2). This versions conflict led to the following console error when running webpack-dev-server (using react-scripts): TypeError: Cannot read property 'close' of undefined
(see pic attached)
The conflict was not solved by a clean npm install.
The workaround was to add ansi-styles as a dependency in my app's package.json.
I suggest to update chalk to the latest version so there will be no conflict.