You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
vagrant@strapi:/var/www$ strapi new strapi-app
🚀 Start creating your Strapi application. It might take a minute, please take a coffee ☕️
Lets configurate the connection to your database:
? Choose your main database: Postgres
? Database name: (strapi-app)
vagrant@strapi:/var/www$ strapi new strapi-app
🚀 Start creating your Strapi application. It might take a minute, please take a coffee ☕️
Lets configurate the connection to your database:
? Choose your main database: MySQL
? Database name: strapi_app
? Host: localhost
? Port: 3306
? Username: root
? Password: ****
⏳ Testing database connection...
{ Error: Command failed: npm install --production --ignore-scripts
npm WARN deprecated postcss-cssnext@2.11.0: 'postcss-cssnext' has been deprecated in favor of 'postcss-preset-env'. Read more at https://moox.io/blog/deprecating-cssnext/
npm WARN deprecated bfj-node4@5.3.1: Switch to the `bfj` package for fixes and new features!
npm WARN deprecated browserslist@1.7.7: Browserslist 2 could fail on reading Browserslist >3.0 config used in other tools.
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN rollback Rolling back concat-map@0.0.1 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/var/www/strapi-app/admin/node_modules/concat-map/package.json.725371697'
npm WARN rollback Rolling back brace-expansion@1.1.11 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/var/www/strapi-app/admin/node_modules/brace-expansion/package.json.3709003424'
npm WARN rollback Rolling back balanced-match@1.0.0 failed (this is probably harmless): ETXTBSY: text file is busy, unlink '/var/www/strapi-app/admin/node_modules/balanced-match/package.json.3008887935'
npm WARN rollback Rolling back fs.realpath@1.0.0 failed (t
Node.js version: 8.9.4|10.10.0
npm version: 6.4.1
Strapi version: 3.0.0-alpha.14.1
Database: MySQL
Operating system: Ubuntu 17.10
What is the current behavior?
Cannot create a new app
Steps to reproduce the problem
strapi new app-name
Select MySQL as Database
Wait
What is the expected behavior?
Strapi should successfully establish a connection to the running database server.
The text was updated successfully, but these errors were encountered:
crtl
changed the title
Cannot create strapi app
Testing database connection failes strapi new script
Sep 13, 2018
crtl
changed the title
Testing database connection failes strapi new script
Testing database connection fails strapi new script
Sep 13, 2018
Because I was running node on vagrant in a shared folder I had to use another directory (this is an node issue).
After moving to another directory which is not shared the installation worked better.
Informations
What is the current behavior?
Cannot create a new app
Steps to reproduce the problem
What is the expected behavior?
Strapi should successfully establish a connection to the running database server.
The text was updated successfully, but these errors were encountered: