vuetifyjs / nuxt

Nuxt.js + Vuetify.js starter project template.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

yarn(npm) install failed

jadestern opened this issue · comments

commented

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.

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

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 m@Mp.local",
"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 just remove the trailing comma after "vuetify": "^1.3.3"

All good now. Thanks for feedback Sharon.