# Undefined is not an object (evaluating 'window.Stimulus.load')

**URL:** https://discuss.hotwired.dev/t/undefined-is-not-an-object-evaluating-window-stimulus-load/5802
**Category:** General
**Created:** [May 3, 2024, 7:18pm UTC](https://discuss.hotwired.dev/t/undefined-is-not-an-object-evaluating-window-stimulus-load/5802 "2024-05-03T19:18:43Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Johno3535](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@Johno3535](https://discuss.hotwired.dev/u/Johno3535)
#### Post date: [May 3, 2024, 7:18pm UTC](https://discuss.hotwired.dev/t/undefined-is-not-an-object-evaluating-window-stimulus-load/5802/1 "2024-05-03T19:18:44Z")

</div>

I have a rails application that is working in most situations. However, if I am using a device that is using iOS 16.3 or earlier I get the following error:

```auto
TypeError: undefined is not an object (evaluating ‘window.Stimulus.load’)

```

Are there known issues with versions of iOS 16.3 or earlier?  
Has anyone else encountered anything similar?  
I am using @hotwired/stimulus@^3.2.2 with @hotwired/stimulus-webpack-helpers@^1.0.0

Thanks in advance.  
John
