2016-01-13 6 views
0

Dans Lockdown.js NPM je reçois un fichier vide quand je lance la commande a généré le fichier de verrouillage est ici les liens pour la dépendanceEn Lockdown.js NPM je reçois un fichier vide

NPM lockdown git

et suivant mon package.json

  { 
      "name": "nw", 
      "private": true, 
      "devDependencies": { 
      "grunt": "^0.4.5", 
      "grunt-angular-templates": "^0.5.7", 
      "grunt-autoprefixer": "^2.0.0", 
      "grunt-concurrent": "^1.0.0", 
      "grunt-contrib-clean": "^0.6.0", 
      "grunt-contrib-concat": "^0.5.0", 
      "grunt-contrib-connect": "^0.9.0", 
      "grunt-contrib-copy": "^0.7.0", 
      "grunt-contrib-cssmin": "^0.12.0", 
      "grunt-contrib-htmlmin": "^0.4.0", 
      "grunt-contrib-imagemin": "^1.0.0", 
      "grunt-contrib-jshint": "^0.11.0", 
      "grunt-contrib-uglify": "^0.7.0", 
      "grunt-contrib-watch": "^0.6.1", 
      "grunt-filerev": "^2.1.2", 
      "grunt-google-cdn": "^0.4.3", 
      "grunt-karma": "*", 
      "grunt-newer": "^1.1.0", 
      "grunt-ng-annotate": "^0.9.2", 
      "grunt-svgmin": "^2.0.0", 
      "grunt-usemin": "^3.0.0", 
      "grunt-wiredep": "^2.0.0", 
      "gulp": "^3.9.0", 
      "jit-grunt": "^0.9.1", 
      "jshint-stylish": "^1.0.0", 
      "karma-coverage": "^0.5.3", 
      "karma-jasmine": "^0.3.6", 
      "karma-phantomjs-launcher": "^0.2.1", 
      "phantomjs": "^1.9.18", 
      "protractor-jasmine2-screenshot-reporter": "^0.2.0", 
      "time-grunt": "^1.0.0", 
      "vinyl-fs": "2.2.1" 
      }, 
      "engines": { 
      "node": ">=0.10.0" 
      }, 
      "scripts": { 
      "preinstall": "lockdown", 
      "test": "grunt test", 
      "install": "node node_modules/protractor/bin/webdriver-manager update" 
      }, 
      "dependencies": { 
      "bower": "^1.7.2", 
      "karma": "^0.13.19", 
      "karma-jasmine-jquery": "^0.1.1", 
      "lockdown": "0.0.8-dev", 
      "protractor": "^3.0.0", 
      "request": "^2.67.0" 
      } 
     } 

et aussi l'erreur que je reçois quand je lance la commande

node_modules/.bin/lockdown-relock

Je reçois cette erreur `> @ nw préinstallation C: \ Users \ cvega \ Desktop \ Cesar Settings \ SampleProjects \ NWGit \ nw

lockdown

NPM Lockdown est ici pour vérifier ses dépendances! Jamais peur!

ERREUR: Je ne peux pas lire lockdown.json! exécutez node_modules/.bin/lockdown-Reverrouillage pour générer! `

Répondre

0

Je ne l'ai eu à travailler mais j'utilise NPM shrinkwrap

et son travail, la seule question que j'avais était que je devais supprimer toutes les dépendances qui ont fait ne correspond pas à mon fichier package.json et je les ai trouvés en utilisant npm ls qui va lister les paquets installés dans vos modules de noeuds