質問編集履歴

1

エラー内容の訂正

2020/06/14 15:51

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -10,29 +10,13 @@
10
10
 
11
11
  ^
12
12
 
13
+ TypeError: Library is not defined
13
14
 
14
-
15
- TypeError: Library is not a function
15
+
16
-
17
- at Object.<anonymous> (C:\Users\tsuyoshi_m\Desktop\node-ffi-napi\example\tester.js:3:12)
18
-
19
- at Module._compile (internal/modules/cjs/loader.js:1158:30)
20
-
21
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:1178:10)
22
-
23
- at Module.load (internal/modules/cjs/loader.js:1002:32)
24
-
25
- at Function.Module._load (internal/modules/cjs/loader.js:901:14)
26
-
27
- at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
28
-
29
- at internal/main/run_main_module.js:18:47
30
-
31
-
32
16
 
33
17
  といったエラーが出てしまいます。
34
18
 
35
- Libraryが未定義なのですが、例や[チュートリアル](https://github.com/node-ffi/node-ffi/wiki/Node-FFI-Tutorial)ではLibraryを定義するような書き方もしていないため困っております。
19
+ ffi-napiモジュールの中の関数と思われるのですがLibraryが未定義ということ困っておりま例や[チュートリアル](https://github.com/node-ffi/node-ffi/wiki/Node-FFI-Tutorial)ではLibraryを定義するような書き方もしていないため困っております。
36
20
 
37
21
  ご教授いただければ幸いです。
38
22