I am currently going through the perspective courses. Whenever I add a component to a view and I launch the session, nothing appears on the page. I have tried to place the component into a container, I have tried creating a page and adding the view to that too and nothing seems to be working. Is there something I am missing? Thank you in advance
In order for you to view any changes to a View/Page in Perspective, several things must be true:
- The project must be a runnable project (if other projects inherit from this project, it is not runnable).
- There must be a configured Page (Click the Perspective context in the Project browser to bring up the Perspective “dashboard”, which is where you can configure Pages, if you didn’t already do so when creating the View). A configured page must include a valid url and a path to a View.
- By implication, there must be a View in place in the project.
- The project must have been saved after all of these conditions were met.
- If selecting “Launch Session”, I believe you must also have a Page configured which has a url of “/”; this is essentially the “home” or “landing” page of the project, which is the only location the Designer will open a session to.
If all of these conditions have been met, would you be able to supply a backup of your project? Or perhaps some screenshots of your current Page Configurations, along with the View you’re trying to View?
That looks like it is configured correctly. So - assuming you’ve saved the project - what is displayed when you select Launch Project?
If you right-click the page and select “Inspect”, do you see any errors present in the console?
Out of curiosity, what happens when you go to your Gateway, select the “Home” page, select “View Projects” and then select your project from the available tiles?
When I go to my Gateway and launch my project, I get the same blank screen.
When I select “Inspect” I see the following errors:
react-dom.production.min-16.8.4.js:117 Invariant Violation: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=I18n for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at pb (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:12:454)
at n (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:13:221)
at http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:80:265
at N (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:90:3)
at ce (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:98:226)
at qg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:97:440)
at hi (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:104:285)
at Qg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:144:217)
at Rg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:145:76)
at Sc (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:158:109)
jsnlog.js:730 onerrorLogger: {“stack”:“Invariant Violation: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=I18n for the full message or use the non-minified dev environment for full errors and additional helpful warnings. \n at pb (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:12:454)\n at n (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:13:221)\n at http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:80:265\n at N (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:90:3)\n at ce (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:98:226)\n at qg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:97:440)\n at hi (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:104:285)\n at Qg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:144:217)\n at Rg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:145:76)\n at Sc (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:158:109)”,“message”:"Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=I18n for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",“name”:“Invariant Violation”,“logData”:{“msg”:“Uncaught Exception”,“errorMsg”:"Uncaught Invariant Violation: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=I18n for the full message or use the non-minified dev environment for full errors and additional helpful warnings. ",“url”:“http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js","line number”:157,“column”:167}}
react-dom.production.min-16.8.4.js:157 Uncaught Invariant Violation: Minified React error #152; visit https://reactjs.org/docs/error-decoder.html?invariant=152&args[]=I18n for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at pb (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:12:454)
at n (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:13:221)
at http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:80:265
at N (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:90:3)
at ce (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:98:226)
at qg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:97:440)
at hi (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:104:285)
at Qg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:144:217)
at Rg (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:145:76)
at Sc (http://192.168.10.45:8088/res/perspective/js/react-dom.production.min-16.8.4.js:158:109)
Ah, it looks like this might be an issue (14363 - Master Nodes Fail In Redundant Setups) that was brought up recently and has since been fixed.
What version are you using? Would you be able to update to a newer version? It looks like the fix was put in place a little over two weeks ago, so at this point you could take wither 8.0.3RC1 or 8.0.4 Nightly.