You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I installed the library with no problem. But when I want to run it I get the following error
Invalid 'main' field in '/node_modules/libimobiledevice/package.json' of 'lib/libimobiledevice.js'. Please either fix that or report it to the module author
(node:427987) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Documents/imobileNode/node_modules/libimobiledevice/package.json' of 'lib/libimobiledevice.js'. Please either fix that or report it to the module author
(Use node --trace-deprecation ... to show where the warning was created)
node:internal/modules/cjs/loader:1210
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: /Documents/imobileNode/node_modules/libimobiledevice/build/Release/imobiledevice.node: undefined symbol: gnutls_malloc
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1210:18)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (//Documents/imobileNode/node_modules/libimobiledevice/lib/workers/backup2_worker.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12) {
code: 'ERR_DLOPEN_FAILED'
}
The text was updated successfully, but these errors were encountered:
But I don't have time to test if that solves the problem right now. If you could try and see if that works and submit a PR I can merge it for you, if you do that don't forget to bump the version also.
I installed the library with no problem. But when I want to run it I get the following error
Invalid 'main' field in '/node_modules/libimobiledevice/package.json' of 'lib/libimobiledevice.js'. Please either fix that or report it to the module author
(node:427987) [DEP0128] DeprecationWarning: Invalid 'main' field in '/Documents/imobileNode/node_modules/libimobiledevice/package.json' of 'lib/libimobiledevice.js'. Please either fix that or report it to the module author
(Use
node --trace-deprecation ...
to show where the warning was created)node:internal/modules/cjs/loader:1210
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: /Documents/imobileNode/node_modules/libimobiledevice/build/Release/imobiledevice.node: undefined symbol: gnutls_malloc
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1210:18)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object. (//Documents/imobileNode/node_modules/libimobiledevice/lib/workers/backup2_worker.js:1:13)
at Module._compile (node:internal/modules/cjs/loader:1126:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
at Module.load (node:internal/modules/cjs/loader:1004:32)
at Function.Module._load (node:internal/modules/cjs/loader:839:12) {
code: 'ERR_DLOPEN_FAILED'
}
The text was updated successfully, but these errors were encountered: