apollo icon indicating copy to clipboard operation
apollo copied to clipboard

Dreamview return an empty page

Open aasatria opened this issue 7 years ago • 7 comments

We appreciate you go through Apollo documentations and search previous issues before creating an new one. If neither of the sources helped you with your issues, please report the issue using the following form. Please note missing info can delay the response time.

System information

  • OS Platform and Distribution (e.g., Linux Ubuntu 14.04):14.04
  • Apollo installed from (source or binary):source
  • Apollo version (1.0, 1.5, 2.0, 2.5, 3.0):3.5

Steps to reproduce the issue:

  • Please use bullet points and include as much details as possible:

Just followed the instruction. basicly: bash dev_start.sh bash dev_into.sh bash apollo.sh clean bash apollo.sh build bash script/bootstrap.sh #success but page is empty screenshot from 2019-01-14 16-25-07

when browsing to localhost:8888, the response is an empty page with

Supporting materials (screenshots, command lines, code/script snippets):

aasatria avatar Jan 14 '19 08:01 aasatria

I have the same problem . and I solve it by git lfs fetch --all . at the project root directory. because some bundle.js file have not update from git lfs.

westeast avatar Jan 14 '19 11:01 westeast

I have the same problem . and I solve it by git lfs fetch --all . at the project root directory. because some bundle.js file have not update from git lfs.

Thank You! re-fetching using lfs and then rebuilding it works, The Dreamview now shows up.

aasatria avatar Jan 15 '19 01:01 aasatria

Thank You! re-fetching using lfs and then rebuilding it works, The Dreamview now shows up.

Hi aasatria,

I'm facing exactly the same problem with you. I tried git lfs fetch --all but it doesn't work.

yhm@in_dev_docker:/apollo$ git lfs fetch --all fetch: Fetching all references...

Could you please tell me detailed steps you followed to solve this issue? I would be very grateful about that.

Younch-15 avatar Jan 16 '19 03:01 Younch-15

I'm facing exactly the same problem with you. I tried git lfs fetch --all but it doesn't work.

yhm@in_dev_docker:/apollo$ git lfs fetch --all fetch: Fetching all references...

Could you please tell me detailed steps you followed to solve this issue? I would be very grateful about that.

~$ git lfs clone https://github.com/ApolloAuto/apollo.git apollo-repo ~$ cd apollo-repo/ ~/apollo-repo$ git lfs fetch --all

followed with dev_start and dev_into, and rebuild.

aasatria avatar Jan 16 '19 08:01 aasatria

I followed the same instructions above

$ cd apollo-repo/
$ ~/apollo-repo$ git lfs fetch --all

followed with dev_start and dev_into, and rebuild.

However still seeing the blank page in Chrome and Firefore. based on 6498 I am also seeing that app.bundle.js is only metadata and not the actual content

samehmohamed88 avatar Jan 16 '19 12:01 samehmohamed88

The problem for me (and I expect for some others) was that git lfs was not initialized. So in summary:

git clone https://github.com/ApolloAuto/apollo.git
# you only have to do this one time,
# if you have never used git lfs, then that's why it's not working
git lfs install
git lfs fetch --all

You can now confirm that app.bundle.js is actual content

$ cat modules/dreamview/frontend/dist/app.bundle.js

Will be actual js code and not git lfs metadata

samehmohamed88 avatar Jan 16 '19 19:01 samehmohamed88

@aasatria I just got my dreamview worked. Thank you!

Younch-15 avatar Jan 18 '19 07:01 Younch-15