We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
v13.14.0
$ cat node_modules/ffi-rs/package.json
{ "version": "1.1.1+3", "main": "main.js", "scripts": { "start": "electron . ", "test": "echo "Error: no test specified" && exit 1", "electron-build": "electron-builder", "build-windows": "bash ./build_app.sh -p win32 -a x64", "build-windows-all": "bash ./build_app.sh -p win32 -a all", "build-macos": "bash ./build_app.sh -p darwin -a arm64", "build-macos-all": "bash ./build_app.sh -p darwin -a all" }, "build": { "files": [ ".js", ".html", "node_modules/" ], "extraFiles": [ { "from": "lib/build/out/", "to": "lib/" } ], "win": { "target": [ { "target": "zip" } ], "asarUnpack": [ "node_modules/" ], "icon": "./ic_launcher_round.png" }, "mac": { "icon": "./ic_launcher_round.png", "target": [ { "target": "zip" } ] } }, "devDependencies": { "electron": "21.4.4", "electron-builder": "22.10.5", "@electron/asar": "^3.2.17" }, "dependencies": { "ffi-rs": "^1.0.96" } }
$ ls node_modules/@yuuang
ffi-rs-darwin-arm64 ffi-rs-darwin-x64 ffi-rs-linux-arm-gnueabihf ffi-rs-linux-arm64-gnu ffi-rs-linux-arm64-musl ffi-rs-linux-x64-gnu ffi-rs-linux-x64-musl ffi-rs-win32-arm64-msvc ffi-rs-win32-ia32-msvc
macos - arm64
Print current Node.js info with the following code
$ node -e "console.log(process.arch, process.platform)"
win32,ia32
win7 32位/64位调用open函数后报错: UnhandledPromiseRejectionWarning: Error: 鎵句笉鍒版寚瀹氱殑绋嬪簭銆?
翻译过来是:找不到函数
The text was updated successfully, but these errors were encountered:
自行参考#43根据windows开发文档排查问题
Sorry, something went wrong.
No branches or pull requests
Current ffi-rs version
v13.14.0
$ cat node_modules/ffi-rs/package.json
{
"version": "1.1.1+3",
"main": "main.js",
"scripts": {
"start": "electron . ",
"test": "echo "Error: no test specified" && exit 1",
"electron-build": "electron-builder",
"build-windows": "bash ./build_app.sh -p win32 -a x64",
"build-windows-all": "bash ./build_app.sh -p win32 -a all",
"build-macos": "bash ./build_app.sh -p darwin -a arm64",
"build-macos-all": "bash ./build_app.sh -p darwin -a all"
},
"build": {
"files": [
".js",
".html",
"node_modules/"
],
"extraFiles": [
{
"from": "lib/build/out/",
"to": "lib/"
}
],
"win": {
"target": [
{
"target": "zip"
}
],
"asarUnpack": [
"node_modules/"
],
"icon": "./ic_launcher_round.png"
},
"mac": {
"icon": "./ic_launcher_round.png",
"target": [
{
"target": "zip"
}
]
}
},
"devDependencies": {
"electron": "21.4.4",
"electron-builder": "22.10.5",
"@electron/asar": "^3.2.17"
},
"dependencies": {
"ffi-rs": "^1.0.96"
}
}
$ ls node_modules/@yuuang
ffi-rs-darwin-arm64
ffi-rs-darwin-x64
ffi-rs-linux-arm-gnueabihf
ffi-rs-linux-arm64-gnu
ffi-rs-linux-arm64-musl
ffi-rs-linux-x64-gnu
ffi-rs-linux-x64-musl
ffi-rs-win32-arm64-msvc
ffi-rs-win32-ia32-msvc
Current Node.js arch
macos - arm64
Print current Node.js info with the following code
$ node -e "console.log(process.arch, process.platform)"
win32,ia32
Descibe your problem in detail
win7 32位/64位调用open函数后报错:
UnhandledPromiseRejectionWarning: Error: 鎵句笉鍒版寚瀹氱殑绋嬪簭銆?
翻译过来是:找不到函数
The text was updated successfully, but these errors were encountered: