Difference between revisions of "EBC Exercise 07 Installing BoneScript"

From eLinux.org
Jump to: navigation, search
(Overview)
m (Removed from category)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
[[Category:ECE497]]
 
 
{{YoderHead}}
 
{{YoderHead}}
  
Line 20: Line 19:
  
 
== socket.io fix ==  
 
== 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.
+
If the bone server doesn't work and is asking for socket.io, then you might have a problem with linking this library.
 
Try this:
 
Try this:
  

Latest revision as of 09:33, 17 August 2018

thumb‎ 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 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(.)




thumb‎ Embedded Linux Class by Mark A. Yoder