New issue
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Parcel2 on arm/pi #33
Comments
Looks more like a Node bug, not sure if we can do anything about that |
thx for the quick response :) fyi, i鈥榲e tried it now with nodejs 12.x and 13.x . Same issue there :/ (yarn cache clean, rm node_modules) this indeed does not eliminate the assumption thats a node bug. greetings thomas |
The code in https://github.com/nodejs/node-addon-api/blob/2.0.2/napi-inl.h#L23 |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
Please continue the Mac M1 (Apple Silicon) conversation in #41 |
I don't get an error on an Raspberry Pi 1 B (armv6l) and |
Individually installing What I discovered was Hope this helps somebody. |
So I guess we can close this because it's fixed when the latest version? |
The fix is included in the nightly version, but not the beta version. Maybe we could get |
Hello, I'm running into this problem too on a MacBook M1, but I fail to workaround it using your tip @nathanielparry78 I used:
The error is:
Also, the node 15.12.0 executable is M1 compatible:
Is there something I'm missing? |
Resolved by #52 |
馃悰 bug report
after succesful installing on arm i get a undefined symbol error in sourcemap.node
馃帥 Configuration (.babelrc, package.json, cli command)
just demo
cat package.json
{
"name": "parcel2-demo",
"version": "1.0.0",
"main": "index.js",
"license": "MIT",
"dependencies": {},
"scripts": {
"start": "parcel serve ./src/index.html",
"build": "parcel build ./src/index.html"
},
"devDependencies": {
"parcel": "^2.0.0-beta.1"
}
}
馃 Expected Behavior
should build
馃槸 Current Behavior
doesn鈥榯 build, fails with:
$ parcel build ./src/index.html
internal/modules/cjs/loader.js:1127
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: /home/thomas/git/parcel2-demo/node_modules/@parcel/source-map/build/Release/sourcemap.node: undefined symbol: _ZN4Napi7details31needs_objectwrap_destructor_fixE
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1127:18)
at Module.load (internal/modules/cjs/loader.js:941:32)
at Function.Module._load (internal/modules/cjs/loader.js:782:14)
at Module.require (internal/modules/cjs/loader.js:965:19)
at require (internal/modules/cjs/helpers.js:88:18)
at load (/home/thomas/git/parcel2-demo/node_modules/node-gyp-build/index.js:21:10)
at Object. (/home/thomas/git/parcel2-demo/node_modules/@parcel/source-map/dist/node.js:14:43)
at Module._compile (internal/modules/cjs/loader.js:1076:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
at Module.load (internal/modules/cjs/loader.js:941:32)
error Command failed with exit code 1.
馃拋 Possible Solution
馃敠 Context
i run code-server on a raspi4 and try some PoCs there sometimes, this time i wanted to try out parcel2
馃捇 Code Sample
馃實 Your Environment
The text was updated successfully, but these errors were encountered: