question

SimonEdwards-1377 avatar image
SimonEdwards-1377 asked ·

After deploying my Web App on Linux and browsing to the site I get To import Sass files, you first need to install node-sass.

When I deploy my React App which was created using Create-React-App to Azure Web App on Linux I get the following when I browse to the website?

To import Sass files, you first need to install node-sass.

When I run this locally everything is fine (Running from a Mac). I have checked the DevOps deployment log and that reports it installed node-sass without issue. I have also tried to delete the node-sass folder in node_modules and npm install. This added node-sass again without issue but still I get the error?

Has anyone come across this before or have any suggestions?

azure-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SimonEdwards-1377 avatar image
SimonEdwards-1377 answered ·

Hi,

No longer interested. I switched using the Live Sass Compiler in VSCode and linking the CSS directly to each React Component.

1 comment Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@SimonEdwards-1377 Glad to hear that you got it working. Appreciate for sharing the steps which helped you, this would certainly benefit other community members.

0 Votes 0 · ·