I've just downloaded this repository as a zip, ran npm install and npm start which works fine. When I visit 0.0.0.0:3000, which apparently is the default config, I see a site that is working perfectly fine.
However, when I run npm run build and open index.html in the dist folder, I'm presented with a white screen.
In my console I see 2 similar errors;
'Failed to load resource: net::ERR_FILE_NOT_FOUND'
Which is the same for vendor.e9ca13f16289d4c6444b.js and app.e9ca13f16289d4c6444b.js respectively.
npm run preview works fine, but I need these files on an apache server where I can't run that command.
I've just downloaded this repository as a zip, ran
npm install
andnpm start
which works fine. When I visit 0.0.0.0:3000, which apparently is the default config, I see a site that is working perfectly fine.However, when I run
npm run build
and open index.html in the dist folder, I'm presented with a white screen. In my console I see 2 similar errors; 'Failed to load resource: net::ERR_FILE_NOT_FOUND' Which is the same for vendor.e9ca13f16289d4c6444b.js and app.e9ca13f16289d4c6444b.js respectively.npm run preview works fine, but I need these files on an apache server where I can't run that command.