These are chat archives for jescalan/roots

10th
Sep 2016
Anthony Nicholls
@gants102_twitter
Sep 10 2016 14:33

Hello, hope one of you maybe able to help, is there any reason why this would not work when using jade templates and dynamic content or is my JavaScript just wrong?
``` span #{post.tag}

 - var tags = post.tag.split('\t')
 - each tag in tags
   a(class : 'tags') #{tags.tag} ```

I have front matter called tags and want to split by tabs

✨ Byuki
@joksan_twitter
Sep 10 2016 18:06

I have a problem with the installation:

[...]

npm WARN optional Skipping failed optional dependency /roots/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm ERR! Linux 4.4.19-1-MANJARO
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "i" "roots" "-g"
npm ERR! node v6.5.0
npm ERR! npm v3.10.6
npm ERR! code ELIFECYCLE

npm ERR! roots@5.0.0 postinstall: node ./post_install.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the roots@5.0.0 postinstall script 'node ./post_install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the roots package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./post_install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs roots
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls roots
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /media/Utopia/Roots/npm-debug.log
npm ERR! code 1