Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chapter 5, commit 5-1 issue : Nothing shows #290

Open
pev115 opened this issue Jun 12, 2016 · 2 comments
Open

Chapter 5, commit 5-1 issue : Nothing shows #290

pev115 opened this issue Jun 12, 2016 · 2 comments

Comments

@pev115
Copy link

pev115 commented Jun 12, 2016

Hello,

I followed the instructions exactly on chapter 5 but by the time I get to commit 5-1, nothing displays (just the microscope header and no posts).

I also tried the other fixes that other posts here seem to recommend they don't work!

No idea what's wrong, in the browser console I'm getting the error :

Error: Cannot find module './main.html'
require() modules-runtime.js:105 require<.client["main.js"]<() app.js:141 fileEvaluate() modules-runtime.js:168 require() modules-runtime.js:102 <anonymous>

Would anyone have any ideas?

Thanks!

@pev115 pev115 changed the title Chapter 5 commit 5-1 Chapter 5, commit 5-1 issue : Nothing shows Jun 12, 2016
@pev115
Copy link
Author

pev115 commented Jun 12, 2016

Fixed - When creating a new meteor project, there is some by-default code in main.js . It did not pose a problem until now but it need to be deleted in order to make this work, with the only code that should be on main.js beig:
Meteor.subscribe('posts');

@zyzy7
Copy link

zyzy7 commented Apr 11, 2017

I also meet this question.And the solution is the same. thank u

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

No branches or pull requests

2 participants