Was the site working before you added the new page type?
You need to login before you run dev/build. You may be getting an error because the system is finding files not registered in the manifest. You need to login from the URL or remove the new pagetype login then re-upload it
then re-run the dev build, if you're still getting errors you may have a typo somewhere in your code