Skip to content
This repository has been archived by the owner on Aug 30, 2021. It is now read-only.

Refresh browser content is missing #1699

Open
NSLog0 opened this issue Jan 11, 2017 · 7 comments
Open

Refresh browser content is missing #1699

NSLog0 opened this issue Jan 11, 2017 · 7 comments

Comments

@NSLog0
Copy link

NSLog0 commented Jan 11, 2017

I use meanjs version 0.5.0 and use yo generator to create CRUD module then I implement angular route on it. It look good and follow by your pattern but if I refresh browser a content is missing without error I got blank page

I wonder what is version stable? , On your document you say 0.3.0 is stable why you provide user to download 0.5.0? and 0.5.0 is stable?

Anyone help me please.

Thank you

@kybarg
Copy link

kybarg commented Jan 18, 2017

There can't be no errors. Check console in browser and server.
Does it happen when you refresh page or just during state change?

@NSLog0
Copy link
Author

NSLog0 commented Jan 18, 2017

No error both console and server , When refresh server loading file normally but view doesn't appear.

Now I considered to use meanjs version 0.4 instead

This information maybe help developer to investigate
notebook: ASUS ROG GL552JX
VGA intel, nvidia 950m
CPU: i7
OS: ubuntu 16.04

@kybarg
Copy link

kybarg commented Jan 19, 2017

@Avatarr I think you just need to edit controller it might have missing template param.

@kernowal
Copy link

kernowal commented Aug 3, 2017

I'm having the same problem.. I'm setting the template and the controller inside the routes but on refresh, a blank page loads with no errors.. any ideas?

Thanks

@simison
Copy link
Member

simison commented Aug 3, 2017

Hi!

Are you getting an empty page also by just cloning this repo? Try this:

git clone https://github.com/meanjs/mean.git mean-test
cd mean-test
npm install && npm start

If yes, this might be related to #1828

If not, then generator is just outdated (I think it is but haven't checked in ages). I recommend avoiding generator for now and just cloning the repo directly.

@kernowal
Copy link

kernowal commented Aug 3, 2017

The majority of the application works fine.. I've been adding in modules (the modules that do not refresh) using the yo generator so the generator being outdated would explain the issue with these! How would you recommend I add in additional modules?

Thanks

@simison
Copy link
Member

simison commented Aug 3, 2017

@miminal sorry but I've never used that generator so I'm not really familiar what exactly it does. Our own meanjs app is pretty custom anyway so I just basically clone e.g. articles module and manually start playing around. I'm a bit old-school. ;-)

Hopefully next major version of meanjs will work with angular-cli!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants