javascript - ar-drone module not found, where to place it? -
i trying hack ar drone 2.0, following tutorial: http://www.instructables.com/id/autonomous-ar-parrot-drone-20-flying/?allsteps
i have installed node on d:
drive , installed ar-drone module on in node_modules
folder. tried
var ardrone = require('ar-drone');
command says "undefined". tried writing .js file , executing cmd, , responds
"error cannot find module 'ar-drone'"
i moved ar-drone folder different places(in node_modules folder in folder saved .js file) drone still standing on ground 4 of legs :(
i of course connected drones wifi, don't think problem lies there.
if can't find ar-drone, need execute line again , see there no errors:
npm install ar-drone
Comments
Post a Comment