Projects does not have a www/build folder


#1

Hello,

I’ve pulled a ionic 2 project from a friend and when I do ionic serve is shows a white page.

Now I see that I don’t have a www/build folder.

Does someone know how to fix this problem?

Martijn


#2

Have you tried building it? Try

ionic build ios

or

ionic build android


#3

And when you do ionic serve and get a white screen you need to check what errors you are getting - there may be some errors that might occur in the browser but might not be a problem on a device. Did your friend say it should work in the browser?


#4

I worked by him without any errors. the problem is that he is not rebuilding it to my www/build folder


#5

Not sure if you’re still having this issue, but also make sure to run npm install when you clone a project from someone.


#6

Thank you that fixed the problem