argv-minus-one / iconv-corefoundation Goto Github PK
View Code? Open in Web Editor NEWCharacter set conversion using the macOS CoreFoundation API
License: MIT License
Character set conversion using the macOS CoreFoundation API
License: MIT License
I'm using electron-builder which has a dependency on this library via electron-builder
> dmg-builder
> dmg-license
> iconv-corefoundation
. When trying to build a project using an M1 Mac Mini I'm getting this error:
Error: dlopen(/path/to/node_modules/iconv-corefoundation/lib/native.node, 1): no suitable image found. Did find:
/path/to/node_modules/iconv-corefoundation/lib/native.node: mach-o, but wrong architecture
/path/to/node_modules/iconv-corefoundation/lib/native.node: mach-o, but wrong architecture
at Object.Module._extensions..node (node:internal/modules/cjs/loader:1151:18)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (/path/to/node_modules/iconv-corefoundation/lib/native.js:5:18)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:996:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object.<anonymous> (/path/to/node_modules/iconv-corefoundation/lib/index.js:6:18)
at Module._compile (node:internal/modules/cjs/loader:1092:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1121:10)
at Module.load (node:internal/modules/cjs/loader:972:32)
My searching hasn't found any existing issues. The closest I found was apple/tensorflow_macos#21, but I'm not sure it's related, since I don't think Python is involved here.
It might also be relevant that I have the full Xcode app installed, not just the command line tools.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.