質問編集履歴

1

文法の修正

2021/11/18 05:29

投稿

sumimasa
sumimasa

スコア3

test CHANGED
File without changes
test CHANGED
@@ -7,6 +7,44 @@
7
7
 
8
8
 
9
9
  ### 発生している問題・エラーメッセージ
10
+
11
+ ウィンドウの検証で確認してみたところ下記のエラーが発生していました
12
+
13
+ ```
14
+
15
+ Uncaught TypeError: Cannot read properties of null (reading 'addEventListener')
16
+
17
+ at Object.<anonymous> (splash.js:27)
18
+
19
+ at Object../app/javascript/splash.js (splash.js:30)
20
+
21
+ at __webpack_require__ (bootstrap:19)
22
+
23
+ at Module../app/javascript/packs/application.js (application.js:11)
24
+
25
+ at __webpack_require__ (bootstrap:19)
26
+
27
+ at bootstrap:83
28
+
29
+ at bootstrap:83
30
+
31
+ (anonymous) @ splash.js:27
32
+
33
+ ./app/javascript/splash.js @ splash.js:30
34
+
35
+ __webpack_require__ @ bootstrap:19
36
+
37
+ ./app/javascript/packs/application.js @ application.js:11
38
+
39
+ __webpack_require__ @ bootstrap:19
40
+
41
+ (anonymous) @ bootstrap:83
42
+
43
+ (anonymous) @ bootstrap:83
44
+
45
+ ```
46
+
47
+
10
48
 
11
49
 
12
50