This repository was archived by the owner on Jul 24, 2024. It is now read-only.

Description
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.
- NPM version : 6.4.1
- Node version : 12.0.0
- Node Platform : win32
- Node architecture : x64
- node-sass version : 4.12.0
- npm node-sass versions : [email protected]

