nuxt icon indicating copy to clipboard operation
nuxt copied to clipboard

yarn(npm) install failed

Open jadestern opened this issue 6 years ago • 4 comments

When I install without a-la-carte components options, yarn install is failed. I think It should remove Comma(,) when default option select in package.json.

...
"dependencies": {
    "nuxt": "^2.2.0",
    "vuetify": "^1.3.3", // wrong comma
},
...

If I would wrong please tell me.

jadestern avatar Oct 30 '18 02:10 jadestern

soon it will fixed johnleider is busy with his works he will merge the PR #73

Codefa avatar Oct 30 '18 09:10 Codefa

Installation doesn't work to me as well. After npm install I get the message:

npm ERR! JSON.parse Failed to parse json npm ERR! JSON.parse Unexpected token } in JSON at position 356 while parsing near '...etify": "^1.3.3", npm ERR! JSON.parse }, npm ERR! JSON.parse "devDependencie...' npm ERR! JSON.parse Failed to parse package.json data. npm ERR! JSON.parse package.json must be actual JSON, not just JavaScript.

My package.json

"name": "vue-vuetify", "version": "1.0.0", "description": "Nuxt.js + Vuetify.js project", "author": "MP [email protected]", "private": true, "scripts": { "dev": "nuxt", "build": "nuxt build", "start": "nuxt start", "generate": "nuxt generate" }, "dependencies": { "nuxt": "^2.2.0", "vuetify": "^1.3.3" }, "devDependencies": { "babel-eslint": "^10.0.1", "eslint": "^5.7.0", "eslint-config-standard": "^12.0.0", "eslint-loader": "^2.1.1", "eslint-plugin-html": "^4.0.6", "eslint-plugin-import": "^2.14.0", "eslint-plugin-node": "^7.0.1", "eslint-plugin-promise": "^4.0.1", "eslint-plugin-standard": "^4.0.0", "stylus": "^0.54.5", "stylus-loader": "^3.0.2" } }

============================= OSX : 10.13.6 NPM: 6.4.1 NODE: v10.12.0 Any solution?

parys-github avatar Oct 31 '18 10:10 parys-github

@parys-github just remove the trailing comma after "vuetify": "^1.3.3"

Codefa avatar Oct 31 '18 11:10 Codefa

All good now. Thanks for feedback Sharon.

parys-github avatar Oct 31 '18 21:10 parys-github