vuejs-templates / pwa

PWA template for vue-cli based on the webpack template
MIT License
3.04k stars 506 forks source link

Failed to parse json, Unexpected token '{' at 10:36 #169

Open rassemdev opened 6 years ago

rassemdev commented 6 years ago

I'm having this problem while installing npm. I cloned the project, cd into pwa/template. Then run the npm install command. And it is throwing this error: npm WARN Failed to parse json npm WARN Unexpected token '{' at 10:36 npm WARN "build": "node build/build.js"{{#unit}}, npm WARN ^ npm WARN File: /var/www/html/pwa/template/package.json npm WARN template No description npm WARN template No repository field. npm WARN template No README data npm WARN template No license field.

msouidi309 commented 6 years ago

Hi, try to run

npm i

in the root folder, without navigating onto template folder.