Communities for your favorite technologies. Explore all Collectives
Stack Overflow for Teams is now called Stack Internal. Bring the best of human thought and AI automation together at your work.
Bring the best of human thought and AI automation together at your work. Learn more
Find centralized, trusted content and collaborate around the technologies you use most.
Stack Internal
Knowledge at work
Bring the best of human thought and AI automation together at your work.
When trying to build my project using Terminal as:
ionic build
I am getting the following error
ERROR running one or more of the platforms: SyntaxError: Unexpected token < You may not have the required environment or OS to run this project
ionic serve --lab
This is because of Git hub, because when i pull code from co-member there is a git head that is created causing that error. Once we remove the Git Head everywhere the app builds correctly.
Add a comment
Install the ios and/or android SDK in your system and Add platform to your ionic project ionic platform add <OS> . Then try executing ionic build <OS>
ionic platform add <OS>
ionic build <OS>
Required, but never shown
By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.
Start asking to get answers
Find the answer to your question by asking.
Explore related questions
See similar questions with these tags.
ionic serve --lab?