Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues getting SASS to compile #3

Open
cruelmelody opened this issue Feb 16, 2018 · 3 comments
Open

Issues getting SASS to compile #3

cruelmelody opened this issue Feb 16, 2018 · 3 comments

Comments

@cruelmelody
Copy link

cruelmelody commented Feb 16, 2018

Hey there,

I'm trying to get this framework up and running because it looks awesome and I really want to use it, however, I can't for the life of me figure out why my SASS isn't compiling. What I've done:

  1. npm install bulma
  2. npm install bulma-start
  3. cd to node_modules/bulma-start to run commands
  4. JS seems to build ok in the watch command, but the SASS compiling throws errors.
  5. Here's what happens when I try to run 'npm run css-deploy':

npm run css-deploy

[email protected] css-deploy /Users/mkemp/Sites/procurement-intranet/wp-content/themes/taronga-intranet/node_modules/bulma-start
npm run css-build && npm run css-postcss

[email protected] css-build /Users/mkemp/Sites/procurement-intranet/wp-content/themes/taronga-intranet/node_modules/bulma-start
node-sass _sass/main.scss css/main.css

sh: node-sass: command not found
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! [email protected] css-build: node-sass _sass/main.scss css/main.css
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the [email protected] css-build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mkemp/.npm/_logs/2018-02-16T03_30_04_263Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] css-deploy: npm run css-build && npm run css-postcss
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] css-deploy script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /Users/mkemp/.npm/_logs/2018-02-16T03_30_04_277Z-debug.log`

I checked the debug log and it doesn't really give much detail.
FYI I'm running npm v.5.6.0 and I've also tried running the command as sudo.

Any ideas? I'm adding my custom SASS to _sass/_main.scss as intended. I've been banging my head up against the wall with this one and I'm sure it's a simple fix.

Much appreciated!

@yusufsiregar44
Copy link

Hey @cruelmelody, I'm also a beginner in Bulma and also stumbled with the same issue earlier today. Have you tried running npm install at the root directory? It solved my issue.

@frispete
Copy link
Contributor

Hey @cruelmelody, check out the Get your feet wet section to see, if that clears things up sufficiently enough to get you started (again).

@colinscruggs
Copy link

Hey @cruelmelody, I'm also a beginner in Bulma and also stumbled with the same issue earlier today. Have you tried running npm install at the root directory? It solved my issue.

Thanks for the tip! I was in the wrong folder and my .css and .js kept getting compiled and placed into my .Trash directory lol. I appreciate it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants