質問編集履歴

1

ファイル階層、ログ追加

2020/03/04 02:33

投稿

imu2452
imu2452

スコア6

test CHANGED
File without changes
test CHANGED
@@ -79,3 +79,55 @@
79
79
  </html>
80
80
 
81
81
  ```
82
+
83
+
84
+
85
+ <追記>
86
+
87
+ 以下、ファイルの階層です
88
+
89
+ MyVueApp---
90
+
91
+
92
+
93
+ |---css---styles.css
94
+
95
+ |---js---main.js
96
+
97
+ |---index.html
98
+
99
+
100
+
101
+ VSCodeでmain.jsを実行したら以下のようなログが出ました
102
+
103
+ ```log
104
+
105
+ C:\Program Files\nodejs\node.exe --inspect-brk=19324 js\js\main.js
106
+
107
+ Debugger listening on ws://127.0.0.1:19324/982f63eb-7adf-45e2-a6eb-6a6a447d3e5b
108
+
109
+ For help, see: https://nodejs.org/en/docs/inspector
110
+
111
+ Debugger attached.
112
+
113
+ Waiting for the debugger to disconnect...
114
+
115
+ ReferenceError: Vue is not defined
116
+
117
+ at e:\git\MyVueApp\js\js\main.js:4:12
118
+
119
+ at Object.<anonymous> (e:\git\MyVueApp\js\js\main.js:11:3)
120
+
121
+ at Module._compile (internal/modules/cjs/loader.js:952:14)
122
+
123
+ at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
124
+
125
+ at Module.load (internal/modules/cjs/loader.js:811:32)
126
+
127
+ at Function.Module._load (internal/modules/cjs/loader.js:723:14)
128
+
129
+ at Function.Module.runMain (internal/modules/cjs/loader.js:1043:10)
130
+
131
+ at internal/main/run_main_module.js:17:11
132
+
133
+ ```