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 has been archived by the owner on Jul 24, 2024. It is now read-only.
npm node-sass versions (npm ls node-sass): node-sass@4.12.0 deduped , node-sass@4.12.0
I've been having issues with compiling assets for the past two days. It completes with a Warning shown below
WARNING in ./node_modules/node-sass/lib/binding.js
19:9-37 Critical dependency: the request of a dependency is an expression
@ ./node_modules/node-sass/lib/binding.js
@ ./node_modules/node-sass/lib/index.js
@ ./resources/assets/js/style.js
@ ./resources/assets/js/main.js
@ multi ./resources/assets/js/main.js ./resources/assets/sass/main.scss
I tried a number of things, and most recently I downgraded my version of node-sass to 4.12.0 to match the expected version of node seen in the README file. I'm still having the error. Here's my package.json file below showing the project dependencies
You're not going to be able to "pack" node-sass as it is a native C++ dependency. You might look at dart-sass if you're trying to run something in the browser
npm -v
): 6.14.7node -v
): v12.16.2node -p process.versions
):node -p process.platform
): linuxnode -p process.arch
): x64node -p "require('node-sass').info"
):node-sass 4.12.0 (Wrapper) [JavaScript] libsass 3.5.4 (Sass Compiler) [C/C++]
npm ls node-sass
): node-sass@4.12.0 deduped , node-sass@4.12.0I've been having issues with compiling assets for the past two days. It completes with a Warning shown below
I tried a number of things, and most recently I downgraded my version of node-sass to 4.12.0 to match the expected version of node seen in the README file. I'm still having the error. Here's my package.json file below showing the project dependencies
The text was updated successfully, but these errors were encountered: