-
Notifications
You must be signed in to change notification settings - Fork 20
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build errors with Node.js 10 #12
Comments
Hey @chunyianliew and @jeancarl, I'm also having this issue, unfortunately :( Has either of you managed to solve it? If you have, I'd really appreciate if you could share the solution. |
Hi @Bumblebee156 , I managed to workaround this issue by downgrading node to version 9.11.2. By the way, I also discovered that the problem itself is inherited from the tjbot repository, so the issue needs to be fixed there. |
Hey @chunyianliew, Thank you for your response! Could you please go into more detail about how you solved the issue in the repository? Thanks again :) |
Hi @Bumblebee156, What I meant was that I figured out that the build problems are inherited from the tjbot repository: https://github.com/ibmtjbot/tjbot (version 1.5.1) as defined in the package.json file of this project. The build errors are caused by other dependencies defined in the package.json file of the tjbot project. |
After installation of Node-Red using the instructions found here: https://nodered.org/docs/hardware/raspberrypi, the node version has been upgraded to 10.15.3.
Based on the build errors it seems that this repository is not compatible with Node Version 10.
When I try to follow the installation steps provided with this repository, I am getting build errors at 'npm install'.
Npm install fails to build the pigpio and rpi-ws281x-native node modules. I've attached the full install log to this issue. Unfortunately these build errors will render the servo and led useless.
It seems that the following error is one of the reasons for the failed build for both the pigpio and rpi-ws281x-native node modules:
../../nan/nan_maybe_43_inl.h:88:15: error: 'class v8::Object' has no member named 'ForceSet'
There are 5 build errors for the rpi-ws281x-native node module all pointing to a missing function HasOwnProperty, the first error instance shows the following:
../src/rpi-ws281x.cc:100 :38: error: no matching function for call to 'v8::Object::HasOwnProperty(v8::Localv8::String&)'
install.log
The text was updated successfully, but these errors were encountered: