# Developer Error Message Unable to run page.onPageStartup(page): code could not be compiled

**URL:** <https://forum.inductiveautomation.com/t/developer-error-message-unable-to-run-page-onpagestartup-page-code-could-not-be-compiled/52646>\
**Category:** Ignition\
**Created:** [November 2, 2021, 9:32pm UTC](https://forum.inductiveautomation.com/t/developer-error-message-unable-to-run-page-onpagestartup-page-code-could-not-be-compiled/52646 "2021-11-02T21:32:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markrit](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/markrit/32/29635_2.png) [@markrit](https://forum.inductiveautomation.com/u/markrit)\
**Post date:** [November 2, 2021, 9:32pm UTC](https://forum.inductiveautomation.com/t/developer-error-message-unable-to-run-page-onpagestartup-page-code-could-not-be-compiled/52646/1 "2021-11-02T21:32:27Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/5/a/5a24b3a43cb82fa94defedb3ee5bbec56b5770a8.png)

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/0/00cf05e63c53abe09a50576c3e960aa62832d397.png)

I started getting this error on every page I open in my project. I’m thinking it is a problem when a share resource file as the message does not point to a specific page. The project runs on the client but any work in designer keeps throwing errors. Anticipating worse things to come!! ☹

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [November 2, 2021, 9:55pm UTC](https://forum.inductiveautomation.com/t/developer-error-message-unable-to-run-page-onpagestartup-page-code-could-not-be-compiled/52646/2 "2021-11-02T21:55:25Z")

</div>

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/b/9b50a10cecb85ccb2044f221420361d6ca7634dd.png)  
In Session Events → Page Startup, you have code that isn’t compiling.

---

<div class="post-metadata">

**Author:** ![markrit](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/markrit/32/29635_2.png) [@markrit](https://forum.inductiveautomation.com/u/markrit)\
**Post date:** [November 2, 2021, 10:00pm UTC](https://forum.inductiveautomation.com/t/developer-error-message-unable-to-run-page-onpagestartup-page-code-could-not-be-compiled/52646/3 "2021-11-02T22:00:53Z")

</div>

Thanks. I had 2 lines that were commented out instead of deleting
