After deployment on the server, an access error is reported
Closed this issue · 2 comments
lijiaju686 commented
aradzie commented
The manifest.json
file is produced by the npm build
command. Let me check if I mentioned this in the docs.
aradzie commented
Looking at your screenshot, it tries to load the manifest file from /root/keybr.com/root/...
. Is this intentional, are you the root user in your system? Or is this a configuration error in the .env
file?
Anyway, check the value of env variable PUBLIC_DIR
. Mine is PUBLIC_DIR=~/Projects/keybr.com/root/public
. Make sure that the ${PUBLIC_DIR}/assets/manifest.json
file exists. You may want to run npm run build-dev
or npm run watch
to build one.