On Sat, 28 Nov 2020 12:11:35 +0000
Peter Aarhus <pimplep...@protonmail.com>:

> Hey!
> 
> I'm trying to get my Ruby on Rails app up and running but keep getting 
> `core-js: Command failed` and `node-sass: Command failed`:
> 
> I see a lot of other people having the same problem, so with you guys' help, 
> I'd love to pass on a solution to them as well.
> 
> Thank you!
> 
> -P
> 
> --
> 
> Sometimes I get:
> 
> [4/4] Building fresh packages...
> [1/3] ⠂ node-sass
> [2/3] ⠂ core-js
> error /home/dev/myapp/node_modules/node-sass: Command failed.
> Exit code: 127
> Command: node scripts/install.js
> Arguments:
> Directory: /home/dev/myapp/node_modules/node-sass
> Output:
> /tmp/yarn--1588753582434-0.8689804385745683/node[3]: 
> /tmp/yarn--1588753582434-0.8689804385745683/../node: not found
> 

I already had this error with yarn, the fix is

ln -s /usr/local/bin/node /tmp/node

I can't explain why.

Reply via email to