silverbux / laravel-angular-admin

Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate / Starter.
http://silverbux.github.io/laravel-angular-admin/
MIT License
923 stars 414 forks source link

file_get_contents(/Users/../build/rev-manifest.json #115

Open ghost opened 6 years ago

ghost commented 6 years ago

Need help, I tried to run the code however, npm is giving error and this is showing in the browser. Please let me know if any change required at the file end.

Browser Error:

file_get_contents(/../public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /../resources/views/index.blade.php)

npm error:

undefined postinstall /.. bower install && gulp --production

bower EMALFORMED Failed to read /../bower_components/Chart.js/.bower.json

Additional error details: Unexpected string in JSON at position 470 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! undefined postinstall: bower install && gulp --production npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the undefined postinstall script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /../.npm/_logs/2018-02-07T14_22_34_429Z-debug.log

nghoanghiep commented 6 years ago

I had this same problem

tinyCoder32 commented 6 years ago

mee too, any fix yet?

tinyCoder32 commented 6 years ago

I fixed it by removing the file bower_components/Chart.js/.bower.json