-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdashboard_error.txt
More file actions
56 lines (53 loc) · 2.02 KB
/
Copy pathdashboard_error.txt
File metadata and controls
56 lines (53 loc) · 2.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
node : (node:4256)
Warning: Failed to
load the ES module: C
:\Users\tanis\OneDriv
e\Desktop\skill_Notes
-1\js\dashboard.js.
Make sure to set
"type": "module" in
the nearest
package.json file or
use the .mjs
extension.
At line:1 char:1
+ node --check
js\dashboard.js >
dashboard_error.txt
2>&1
+ ~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~
+ CategoryInfo
: NotSpe
cified: ((node:4
256) War....mjs
extension.:Strin
g) [], RemoteExc
eption
+ FullyQualified
ErrorId : Native
CommandError
(Use `node
--trace-warnings
...` to show where
the warning was
created)
C:\Users\tanis\OneDri
ve\Desktop\skill_Note
s-1\js\dashboard.js:1
import {
initRealtimeStats,
trackDownload } from
'./stats.js';
^^^^^^
SyntaxError: Cannot
use import statement
outside a module
at wrapSafe (node
:internal/modules/cjs
/loader:1692:18)
at checkSyntax (n
ode:internal/main/che
ck_syntax:76:3)
Node.js v24.12.0