fnakstad / angular-client-side-auth

One way to implement authentication/authorization in Angular applications
http://angular-client-side-auth.herokuapp.com/
MIT License
1.63k stars 346 forks source link

Can't start the "npm run dev" on my ubuntu 17.10 Laravel 5.5 #107

Closed iColdPlayer closed 4 years ago

iColdPlayer commented 6 years ago

I'm new with the Laravel, using Laravel 5.5 when I try start the npm, it always getting error just like :

npm ERR! file /var/www/html/iColdPlayer/package.json npm ERR! code EJSONPARSE npm ERR! Failed to parse json npm ERR! Unexpected string in JSON at position 1187 while parsing '{ npm ERR! "private": true, npm ERR! "scripts": { npm ERR! ' npm ERR! File: /var/www/html/iColdPlayer/package.json npm ERR! Failed to parse package.json data. npm ERR! package.json must be actual JSON, not just JavaScript. npm ERR! npm ERR! Tell the package author to fix their package.json file. JSON.parse

npm ERR! A complete log of this run can be found in: npm ERR! /home/icoldplayer/.npm/_logs/2017-12-15T18_49_10_555Z-debug.log

I've tried several ways but it didn't work... also,.. I've try to remove and install it the node.js but the same error I found. where's the error? and how do I fix it?