You could try Nodejs 0.10
-
Running local pimatic for dev on mac
-
OK thanks. Now this is the trace after compiling some coffee-scripts
dyld: lazy symbol binding failed: Symbol not found: _node_module_register Referenced from: /Users/clark/pimatic-dev/node_modules/pimatic/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node Expected in: dynamic lookup dyld: Symbol not found: _node_module_register Referenced from: /Users/clark/pimatic-dev/node_modules/pimatic/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node Expected in: dynamic lookup
-
@Clark2309 Do you have Xcode installed? You will need it occasionally to compile native code hooked into nodejs libraries.
May be the following is also useful for background: http://blog.teamtreehouse.com/install-node-js-npm-mac However, you don’t need to have homebrew if you don’t like that. You can fetch the tar-ball from https://nodejs.org/dist/latest-v0.10.x/ instead
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Ok, thanks to all.
I now have updated Xcode, reinstalled CommandLineTools and gcc.
Same mistake as above.
Do I have to recompile? How? -
I have reinstalled npm (now v3.5.2), node is still v 0.10.24
$ $PATH -bash: /Users/clark/.node/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin: No such file or directory
but still this error twice:
dyld: lazy symbol binding failed: Symbol not found: _node_module_register Referenced from: /Users/clark/pimatic-dev/node_modules/pimatic/node_modules/socket.io/node_modules/engine.io/node_modules/ws/node_modules/bufferutil/build/Release/bufferutil.node Expected in: dynamic lookup
-
Puh, that was hard.
After deinstalling some packages and reinstalling pimatic, now it works.
Development can begin.
Thanks for all your support. -
maybe you could tell us what exactly you did to install pimatic on your mac (like deinstalling which packages and so on)
would be a benefit for other users who will try this in future.pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Sorry, but I can’t tell this en detail.
I think, that reinstalling the pimatic and checking for correct versions of node and npm were enough. I deinstalled also MacPorts but I don’t think that had an effort. I have very much stuff on my Mac so there are many variables. -
never mind! thanks anyways
pimatic v0.9 has been released!
Support Pimatic and get some free stickers
Like us on Facebookmake it so !
-
Short info, just set up a dev environment on my macbook and ran into the same problem.
As I understand it, it simply was the problem that pimatic currently needs node 0.10.x and there is a much newer version installed with the installer from their webpage.
To resolve the problem I did the folllowing:
- I installed a node version manager via npm
sudo npm install -g n
- Changed the node setup to v0.10.40 via the version manager
sudo n 0.10.40
- Removed the node_modules folder from the pimatic folder so that npm will install the right dependancies for the new version
rm -rf ./node_modules/pimatic/node_modules/
(if you are in your pimatic-dev folder)- Installed all modules required again
cd ./node_modules/pimatic/
npm installThis worked fine for me. If you install pimatic only after changing node version via steps 1 and 2 you won’t need to do 3 and 4.