These are chat archives for jescalan/roots

9th
Jul 2016
tomoat
@tomoat
Jul 09 2016 05:22
@jescalan An error occurred while installing roots in docker
This message was deleted
npm info linkStuff roots@5.0.0
/usr/local/bin/roots -> /usr/local/lib/node_modules/roots/bin/roots
npm info install roots@5.0.0
npm info postinstall roots@5.0.0

> roots@5.0.0 postinstall /usr/local/lib/node_modules/roots
> node ./post_install.js

---------------------------------------------------------
Roots uses analytics to help the core team to get a
better view of how developers use roots. All analytics
are collected anonymously, and analytics data is used
only to make roots better for everyone. However, if you
would like to disable analytics, you are welcome to do
so by running the command `roots analytics --disable`

Much like roots itself, roots' analytics are open source.
Check out http://roots.cx/analytics for more information.
---------------------------------------------------------
/usr/local/lib/node_modules/roots/node_modules/mkdirp/index.js:90
                    throw err0;
                    ^

Error: EACCES: permission denied, mkdir '/root/.config/roots'
  at Error (native)
  at Object.fs.mkdirSync (fs.js:794:18)
  at Function.sync (/usr/local/lib/node_modules/roots/node_modules/mkdirp/index.js:71:13)
  at Object.<anonymous> (/usr/local/lib/node_modules/roots/post_install.js:19:8)
  at Module._compile (module.js:409:26)
  at Object.Module._extensions..js (module.js:416:10)
  at Module.load (module.js:343:32)
  at Function.Module._load (module.js:300:12)
  at Function.Module.runMain (module.js:441:10)
node version: 4.4.4
tomoat
@tomoat
Jul 09 2016 05:28
FROM node:4.4.4
MAINTAINER Ji Cheng jicheng@okoer.com

RUN npm install -g roots 

ENV HOME=/home/okoer
ENV DIR=$HOME/okoer-www

COPY package.json $DIR/

RUN mkdir -p $DIR
WORKDIR $DIR

RUN npm install
RUN npm cache clean

COPY . $DIR
CMD ["roots","compoile"]
henryfaber
@henryfaber
Jul 09 2016 19:45
Hey there! I'm having a very slow delay after the site compiles when served up in the browser. When I make changes to any files, it just seems to say pending in the network tab for ~2min. It feels like a browsersync issue, but I'm not sure.
(Very aware that the compiling time increases as the project size increases, but this isn't happening there.)
Any insight would be appreciated!