Difference between revisions of "EBC Exercise 07 Installing BoneScript"
m (→Overview: moved sudo) |
(→Overview) |
||
Line 15: | Line 15: | ||
bone$ '''cd bonescript''' # Link the old node_modules into the new bonescript | bone$ '''cd bonescript''' # Link the old node_modules into the new bonescript | ||
bone$ '''ln -s $NODE_PATH/bonescript.orig/node_modules/ . | bone$ '''ln -s $NODE_PATH/bonescript.orig/node_modules/ . | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | == socket.io fix == | ||
+ | If the bone server doesn't work and is asking for socket.io, then you might have a a problem with linking this library. | ||
+ | Try this: | ||
+ | |||
+ | cd $NODE_PATH #Takes you to your NODE_PATH directory | ||
+ | sudo ln -s bonescript.orig/node_modules/socket.io . | ||
+ | #The above line creates a symbolic link with the actual location of | ||
+ | #socket.io to your current directory(.) | ||
{{YoderFoot}} | {{YoderFoot}} |
Revision as of 09:40, 19 September 2017
Embedded Linux Class by Mark A. Yoder
Overview
Here's how to install the latest drivers for BoneScript for the BeagleBone Blue.
- Clone my repo
bone$ cd # Put in home directory bone$ git clone https://github.com/MarkAYoder/bonescript.git
- Install
bone$ cd $NODE_PATH bone$ sudo mv bonescript bonescript.orig # Save original directory bone$ sudo ln -s ~/bonescript/ . # Link to new bonescript in home directory bone$ cd bonescript # Link the old node_modules into the new bonescript bone$ ln -s $NODE_PATH/bonescript.orig/node_modules/ .
socket.io fix
If the bone server doesn't work and is asking for socket.io, then you might have a a problem with linking this library. Try this:
cd $NODE_PATH #Takes you to your NODE_PATH directory sudo ln -s bonescript.orig/node_modules/socket.io . #The above line creates a symbolic link with the actual location of #socket.io to your current directory(.)
Embedded Linux Class by Mark A. Yoder