Thanks for your help.
So now, i have my dev environment ok.
vagrant up
work fine and my configuration is ok.
(I restart all the process with your roots example on github)
I’m trying now to install the Sage theme on 2 of 3 on my local server but i have a bug.
So i used this :
- Create a new project directory: $ mkdir example.com && cd example.com
- Clone bedrock-ansible: $ git clone --depth=1 git@github.com:roots/bedrock-ansible.git ansible && rm -rf ansible/.git
- Clone Bedrock: $ git clone --depth=1 git@github.com:roots/bedrock.git site && rm -rf site/.git
- Clone Sage: $ git clone --depth=1 git@github.com:roots/sage.git site/web/app/themes/sage && rm -rf site/web/app/themes/sage/.git
- Move Vagrantfile to root: $ mv ansible/Vagrantfile . and update the ANSIBLE_PATH to ‘ansible’
I changed the configuration for my server, etc (in group_vars and hosts)
(i do not clone the sage theme on the third website)
After i added : define('WP_DEFAULT_THEME', 'sage');
in site/config/application.php
I run vagrant up
, all work.
I installed the requirements for sage with vagrant ssh
:
- Node v12.6
- Gulp CLI version 3.9
- NPM v2.12.1
- Bower v1.4.1
- and php 5.6 installed by bedrock ansible
Now when i’m going in my theme folder (cd srv/www/domain/current/web/app/themes/sagerenamed/) and i try to run npm install i have a lot or ERR ! and WARN.
I look the NPM Debugging Guidelines here and try to npm install -g npm@latest
and npm cache clear && rm -rf node_modules && npm install
but still doesn’t work.
Have you an idea ?
(I haven’t tried : “Trying to run npm install on an external volume resulted in errors. Works fine when moved to local HDD.” because i don’t know if it’s needed and how to proceed…)
Thanks again !