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 [email protected]: Use pkg.json instead.
npm WARN notsup Unsupported engine for [email protected]: 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: [email protected]
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: 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