-
Notifications
You must be signed in to change notification settings - Fork 865
Can't get stylesheets to build #622
Comments
Hi @Boogonie , The stylesheets should build automatically when running |
No errors on the intsall, but I'm missing the /components/foundation-sites folder, so something obviously went wrong. I'll try installing again. |
Just reinstalled. This is the only warning I receive: npm WARN cannot run in wd foundationpress@2.2.0 bower install && gulp build (wd=/Applications/MAMP/htdocs/allcards/wp-content/themes/FoundationPress) Still no foundation-sites folder. |
That explains a lot. Can you check what version of Node.js and npm you're using? Type |
node v4.2.3 |
Hmm. Probably a permission error then. There is a workaround for this in this thread #596 |
It worked! The issue was with my use of sudo. Many thanks! |
Great! 👍 |
I'm very new to Sass and Foundation, but very motivated to learn. I've succussfully installed FoundationPress (I think), but can't get the stylesheets to build using npm run build. I get the following error:
[22:26:37] Using gulpfile /Applications/MAMP/htdocs/allcards/wp-content/themes/FoundationPress/gulpfile.js
[22:26:37] Starting 'build'...
[22:26:37] Starting 'copy'...
[22:26:37] Finished 'copy' after 42 ms
[22:26:37] Starting 'sass'...
[22:26:38] Starting 'javascript'...
Error in plugin 'sass'
Message:
assets/scss/global/_settings.scss
Error: File to import not found or unreadable: ../../components/foundation-sites/scss/util/util
Parent style sheet: /Applications/MAMP/htdocs/allcards/wp-content/themes/FoundationPress/assets/scss/global/_settings.scss
on line 42 of assets/scss/global/_settings.scss
[22:26:38] Finished 'sass' after 905 ms
[22:26:38] Finished 'javascript' after 224 ms
[22:26:38] Finished 'build' after 958 ms
Any ideas on how to fix this? Thanks
The text was updated successfully, but these errors were encountered: