NodeJS ORM Sequelize command not found

JFG_42

New Member
#1
Bonjour, j'ai installer NodeJS, voici le package.json :

"dependencies": {
"alert-node": "^3.0.10",
"async": "^3.1.1",
"bcryptjs": "^2.4.3",
"body-parser": "^1.19.0",
"cookie-parser": "^1.4.5",
"ejs": "^3.0.1",
"express": "^4.17.1",
"jsonwebtoken": "^8.5.1",
"mysql": "^2.18.1",
"nocache": "^2.1.0",
"popups": "^1.1.3",
"sequelize": "^3.30.4"
}

MSG apres installation :
npm WARN deprecated package.json@2.0.1: Use pkg.json instead.
npm WARN notsup Unsupported engine for got@5.7.1: wanted: {"node":">=0.10.0 <7"} (current: {"node":"10.19.0","npm":"6.13.4"})
npm WARN notsup Not compatible with your version of node/npm: got@5.7.1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})


Voici ce qui fonctionne sur le terminal : les modules comme EJS, les commandes NPM, Node.

MAIS quand je fait la commande après être rentrer dans l'environnement (activate) :
sequelize init ------------------ > "bash: sequelize: command not found "

Cette commande fonctionne en local, mais pas via le Terminal.


voici le
Aidez moi s'il vous plait
 
Dernière édition:
Haut