I get this error in part two but didn't find any difference between my code and solution
> goingnative verify myaddon
Could not verify: Error: EISDIR: illegal operation on a directory, open 'C:\Users\thy\Documents\node-native\~test-addon-faux.3166'
My code:
> ls .\myaddon\
目录: C:\Users\thy\Documents\node-native\myaddon
Mode LastWriteTime Length Name
---- ------------- ------ ----
d----- 2021/8/24 19:54 node_modules
-a---- 2021/8/24 20:08 217 binding.gyp
-a---- 2021/8/24 20:32 86 index.js
-a---- 2021/8/24 20:43 0 myaddon.cc
-a---- 2021/8/24 20:00 269 package.json
index.js
const bindings = require('bindings')
var addon = bindings('myaddon')
addon.print()
I get this error in part two but didn't find any difference between my code and solution
My code:
index.js