Open MariusBongarts opened 4 years ago
odd. I don't see node-sass at the dependencies tab, and newer versions of the compiler have "node-sass": "^4.7.2"
.
My suggestion is not to edit things under the /bit/ directory, bit stores it's models in mysterious and cached ways.
You can always bit import
the compiler and export a modified version to your own scope, which gives you maximum control. It's not very nice to debug, but I did that for a custom babel compiler, and it's at least stable.
cheers!
@MariusBongarts , I'm unable to reproduce the issue. I tried also on a Windows machine and I don't get any error. I do see that it installs the 4.13.1 version. What happens if you only install node-sass?
(I'm moving the task to the envs repo).
@MariusBongarts - also, can you try the newer Vue compiler: $bit import bit.envs/compilers/vue --compiler
I was following the tutorial to set up the vue compiler for my project. (https://docs.bit.dev/docs/tutorials/bit-vue-tutorial )
When installing the compiler with:
$bit import bit.envs/bundlers/vue --compiler
I am getting the error during the ensuring of package depencies: Failed at the node-sass@4.13.1 postinstall script.
I attached the complete log of this run.
It seems that the version of node-sass has to be reduced to 4.12.0. I tried to set the version in the package.json under .git\bit\components\bundlers\vue\bit.envs\2.6.11 but it seems that bit is overwriting the package.json after executing the command
2020-02-21T17_09_46_579Z-debug.log