Hi. I am trying to upload this starter to heroku, and I get this error:
file_get_contents(/app/public/build/rev-manifest.json): failed to open stream: No such file or directory (View: /app/resources/views/layout.blade.php)
The program works well offline on Homestead, but when I push the changes to Heroku this error appears. You can check it out at https://dry-lake-8666.herokuapp.com/.
This is the gulpfile.js
var elixir = require('laravel-elixir');
/* |
Elixir Asset Management |
-------------------------------------------------------------------------- |
|
| Elixir provides a clean, fluent API for defining some basic Gulp tasks
| for your Laravel application. By default, we are compiling the Less
| file for our application, as well as publishing vendor resources.
|
*/
elixir(function (mix) {
mix
.less(
'app.less'
)
.styles([
'style.css'
])
.scripts([
'libs//*.js',
'app.js',
'appRoutes.js',
'controllers//.js',
'services/__/.js',
'directives/*/.js'
])
.version([
'public/css/all.css',
'public/js/all.js'
])
.copy(
'public/js/all.js.map', 'public/build/js/all.js.map'
)
.copy(
'public/css/all.css.map', 'public/build/css/all.css.map'
);
});
And this are the contents of rev-manifest.json:
{
"css/all.css": "css/all-dd351c50bd.css",
"js/all.js": "js/all-ee8c46d8d5.js"
}
Do you know how can I fix it?