Questions tagged [node-sass-chokidar]
8 questions
6
votes
2 answers
npm run build does not update the react components
i have a react project with the following package.json :
{
"name": "commonsensev2.0",
"version": "0.1.0",
"private": true,
"homepage": "http://localhost:9080/server/react",
"dependencies": {
"all": "0.0.0",
"axios":…

hamzan
- 121
- 1
- 2
- 6
4
votes
2 answers
sass not working in create-react-app
Sass does not compiling in create-react-app. The current package.json structure is
{
"name": "create-app",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^16.3.1",
"react-dom": "^16.3.1",
"react-scripts":…

Mo.
- 26,306
- 36
- 159
- 225
3
votes
1 answer
Importing CSS from node_modules into a Create React App
I've found loads of questions on this, but none of the answers are working..
I'm trying to import a font from node modules from this package into a Create React app
I've managed to get it compile with
@import…

beek
- 3,522
- 8
- 33
- 86
2
votes
2 answers
node-sass-chokidar will only output a folder instead of just a file into my src directory
Simple question here, and probably a stupid one. I'm trying to get node-sass-chokidar to output a main.css file into src in my react application but I can only get it to output a main.css directory with the main.css file in it.
"build-css":…

Brian Patrick
- 333
- 5
- 18
1
vote
0 answers
Sass: Is there a way to watch files recursively?
I am new to Sass and I was updating dependencies of a NodeJS project in which it used Node-Sass and Node-Sass-Chokidar. I've switched it to Sass and while translating the old scripts to Sass it successfully compiled but I get the following…

T H
- 365
- 1
- 2
- 9
0
votes
1 answer
replacing node-sass-chokidar with sass, Error: Can't find stylesheet to import
Using the answer from this post Replace options of node-sass-chokidar to dart-sass to update our build-css and watch-css scripts in our react app. However, we are getting a new error that it is unable to find stylesheets:
nicholas@MacBook-Pro-4…

Canovice
- 9,012
- 22
- 93
- 211
0
votes
1 answer
Why am I getting this error - Failed to compile. Can't resolve 'modules/App' and "Error from chokidar (E:\): Error: EBUSY: resource busy or locked"?
My react js application was running fine till today, and suddenly a strange error started showing up when try to start my application.
Failed to compile.
./src/index.js
Module not found: Can't resolve 'modules/App' in…

Sri
- 568
- 1
- 6
- 18
0
votes
0 answers
How to replace selectors in scss file while compilatioon
This is my scss file - https://github.com/syncfusion/ej2-javascript-ui-controls/blob/master/controls/buttons/styles/button/_layout.scss#L3
In above i have used {#{&} but i want to replace that with empty string while compiling to css [ based on…

Kumaresan Sd
- 1,399
- 4
- 16
- 34