node-ld
node-ld copied to clipboard
Cannot find module './dist/node'
Revisited this project after a while and noticed:
- a number of warnings that packages have changed there names e.g 'jade' to 'plug' when using npm install node-ld. (including trying to install node-hid and usb models - raspberry p)
- an error when attempting to run the toypadDemo.js sample "Cannot find module './dist/node'" (both windows and linux)
I recall toypadDemo.js runs a flashing light sequence on the real toypad. My aim is to run that and eventually re-purpose the pad and tag read events into a game for a local fair.
Never worked for me on a raspberry pi Linux system (due to complications installing libusb and node-hid with usb modules)
Used to work on Windows but now does not. Have included that log file below.
Windows - 2017-11-12T16_15_10_688Z-debug.log
Now got this to work on Windows.
My older version of node-ld is from 13 November 2016 as has a dis folder. I simply copied this older to the latest node and the rights now flash.
There is also the extra step of running nmp install node-hid for fresh installs.
@matthewbullweb any chance I can get the "dist/node" folder? thanks in advance :)
Not sure where the jade
to pug
warning is coming from, jade
isn't a dependency of node-ld.
The dist
folder should be generated by running gulp
if using the github sources, the npm package already has that ran.
As for needing to run npm install node-hid
, its already a dependency of this project, so should auto-install.
Up and running with gulp!!! Thanks so much @ags131