Wednesday, 16 August 2023

strapi installation tutorials

npm cache clean --force


npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@3.1.0-alpha.5

npm install --prefix /tmp/strapic41d56ede4e0 knex@<0.20.0

npm install --prefix /tmp/strapic41d56ede4e0 mysql@latest


npm cache clean --force
npm install --prefix /tmp/strapic41d56ede4e0

npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest --force
npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest --legacy-peer-deps
npm install --prefix /tmp/strapic41d56ede4e0 knex@0.21.18
npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest

npm install -g npm
npm install -g npm@6.0.0


npm install --prefix /tmp/strapic41d56ede4e0 knex@0.19.5


npm install --prefix /tmp/strapic41d56ede4e0 strapi-connector-bookshelf@latest


 curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.4/install.sh | bash


source ~/.bashrc  

source ~/.nvm/nvm.sh


nvm install node 
nvm install 10

nvm use 10

npm install --prefix /tmp/strapi840898b76475 strapi-connector-bookshelf@latest knex@0.19.5 mysql@latest

sudo npm install strapi@alpha -g

strapi version

sudo strapi new myproject

npm install -g npm@latest

npm install --prefix /tmp/strapi840898b76475 strapi-connector-bookshelf@latest knex@0.19.5 mysql@latest




? Choose your default database client mysql ? Database name: strapi_db ? Host: 127.0.0.1 ? Port: 3306 ? Username: admin ? Password: ********* ? Enable SSL connection: No ⛔️ Connection test failed: ER_NOT_SUPPORTED_AUTH_MODE: Client does not support authentication protocol requested by server; consider upgrading MySQL client Retrying...

ALTER USER 'admin'@'127.0.0.1' IDENTIFIED WITH mysql_native_password BY 'your_password';





















No comments:

Post a Comment

Poem aymen

 Aymen, a name that rings like a bell, A person of character, with stories to tell. With a heart full of kindness and a mind sharp and brigh...