sasstools / gulp-sass-lint

Gulp plugin for Sass Lint
MIT License
115 stars 43 forks source link

Cannot install via NPM #88

Closed johndavemanuel closed 5 years ago

johndavemanuel commented 5 years ago

COMMAND: npm install gulp-sass-lint --save-dev

ERROR: npm ERR! Unexpected end of JSON input while parsing near '...n-jsx-0.11.1-4.tgz"},'

PurpleBabar commented 5 years ago

Hi :)

Could you send us the content of your package.json ?

Thanks :)

johndavemanuel commented 5 years ago

hi!

here

{
  "name": "test",
  "version": "1.0.0",
  "description": "text",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "repository": {
    "type": "git",
    "url": ""
  },
  "keywords": [
    "test",
    "test"
  ],
  "author": "Dave Manuel",
  "license": "ISC",
  "homepage": "",
  "devDependencies": {
    "browser-sync": "^2.26.3",
    "gulp": "^3.9.1",
    "gulp-autoprefixer": "^6.0.0",
    "gulp-cache": "^1.1.0",
    "gulp-compile-handlebars": "^0.6.1",
    "gulp-csscomb": "^3.0.8",
    "gulp-cssmin": "^0.2.0",
    "gulp-cssnano": "^2.1.3",
    "gulp-htmllint": "0.0.16",
    "gulp-imagemin": "^5.0.3",
    "gulp-pretty-html": "^2.0.9",
    "gulp-rename": "^1.4.0",
    "gulp-sass": "^4.0.2",
    "gulp-sourcemaps": "^2.6.4",
    "gulp-uglify": "^3.0.1",
    "node-sass": "^4.10.0",
    "panini": "^1.6.3",
    "run-sequence": "^2.2.1"
  },
  "dependencies": {
    "del": "^3.0.0"
  }
}
PurpleBabar commented 5 years ago

Do you still have the error ? i tried it on my side and all seems to be working :)

johndavemanuel commented 5 years ago

Hi! It works fine now, after I clear ung --force and delete the node_modules folder

I will close this now, thanks!