hypertidy / hypertidyorg

this is not the real deal
0 stars 0 forks source link

mds notes #8

Open mdsumner opened 4 years ago

mdsumner commented 4 years ago

my install snafu, using "predators"

These are just notes to self so I have a dummy's guide to set up:

echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
sudo apt update && sudo apt install yarn

## now in project dir/
yarn install 
yarn upgrade --latest

## hmmmm
#- [2/4] Fetching packages...
#- info fsevents@1.2.12: The platform "linux" is incompatible with this module.
#- info "fsevents@1.2.12" is an optional dependency and failed compatibility check. Excluding it from installation.
#- error gulp-imagemin@7.1.0: The engine "node" is incompatible with this module. Expected version ">=10". Got "8.10.0"
#- error Found incompatible module.
#- info Visit https://yarnpkg.com/en/docs/cli/upgrade for documentation about this command.

## using https://www.solomondesigns.co.uk/blog-posts/install-foundation-6-on-ubuntu-using-cli
## did not run this yet ## sudo npm -gS install bower
sudo npm install --global foundation-cli

foundation new ## ok, answer prompts

foundation watch  ## :

##- [07:20:48] Requiring external module @babel/register
##- Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
mpadge commented 4 years ago

so i've learn since then that it's better not to call/use yarn directly, because foundation actually uses gulp, so this is how i now do manual updates:

sudo npm install -g gulp

That's the global install, after which you need a local install in the repo directory:

npm install gulp --save

The flag at the end may need to be different, but the first install will tell you which one to use. Then you just:

sudo gulp

... and everything should be auto-magically updated/upgraded/fixed :bomb:

mdsumner commented 4 years ago

ah, thanks for clarifying!