S'il vous plaît j'ai besoin d'aide ici,erreur d'exécution de construction de NPM pour le projet Web bootstrap4 Framework UI
après i type à l'exécution NPM construire à mon terminal de Windows 10, voici les erreurs apparaît
« imagemin 'n'est pas reconnu comme commande interne ou externe, programme exécutable ou fichier séquentiel. NPM ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] imagemin:
imagemin img/* -o dist/img
npm ERR! Statut de sortie 1 npm ERR! NPM ERR! Échec au script [email protected] imagemin. NPM ERR! Ce n'est probablement pas un problème de avec npm. Il y a probablement une sortie de journalisation supplémentaire ci-dessus. npm ERR! Un journal complet de cette course peut être trouvé dans: npm ERR!
C: \ Utilisateurs \ ndunga \ AppData \ Roaming \ npm-cache_logs \ 2017-10-19T16_46_04_328Z-debug.log npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] construction:npm run clean && npm run copyfonts && npm run imagemin && npm run usemin
npm ERR! Statut de sortie 1 npm ERR! NPM ERR! Échec du script de génération [email protected] NPM ERR! Ce n'est probablement pas un problème avec npm. Il y a probablement une sortie de journalisation supplémentaire ci-dessus. NPM ERR! Un journal complet de cette course peut être trouvé dans: npm ERR!
C: \ Users \ ndunga \ AppData \ Roaming \ NPM-cache_logs \ 2017-10-19T16_46_04_381Z-debug.log
Voici mon fichier package.json
{
"name": "confusion",
"version": "1.0.0",
"description": "This is a website for Ristorante Con Fusion",
"main": "index.html",
"scripts": {
"start": "npm run watch:all",
"test": "echo \"Error: no test specified\" && exit 1",
"lite": "lite-server",
"scss": "node-sass -o css/ css/",
"watch:scss": "onchange \"css/*.scss\" -- npm run scss",
"watch:all": "parallelshell \"npm run watch:scss\" \"npm run lite\"",
"clean": "rimraf dist",
"copyfonts": "copyfiles -f node_modules/font-awesome/fonts/* dist/fonts",
"imagemin": "imagemin img/* -o dist/img",
"usemin": "usemin contactus.html -d dist --htmlmin -o dist/contactus.html && usemin aboutus.html -d dist --htmlmin -o dist/aboutus.html && usemin index.html -d dist --htmlmin -o dist/index.html",
"build": "npm run clean && npm run copyfonts && npm run imagemin && npm run usemin"
},
"author": "",
"license": "ISC",
"devDependencies": {
"cssmin": "^0.4.3",
"htmlmin": "0.0.7",
"lite-server": "^2.2.2",
"node-sass": "^4.5.3",
"onchange": "^3.2.1",
"parallelshell": "^3.0.2",
"rimraf": "^2.6.2",
"uglifyjs": "^2.4.11",
"usemin-cli": "^0.5.1"
},
"dependencies": {
"bootstrap": "^4.0.0-alpha.6",
"font-awesome": "^4.7.0"
}
}