Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot find module './dist/node' #26

Open
matthewbullweb opened this issue Nov 12, 2017 · 4 comments
Open

Cannot find module './dist/node' #26

matthewbullweb opened this issue Nov 12, 2017 · 4 comments

Comments

@matthewbullweb
Copy link

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

@matthewbullweb
Copy link
Author

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.

@javipolo
Copy link

javipolo commented Apr 8, 2018

@matthewbullweb any chance I can get the "dist/node" folder? thanks in advance :)

@AlinaNova21
Copy link
Owner

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.

@javipolo
Copy link

javipolo commented Apr 9, 2018

Up and running with gulp!!! Thanks so much @ags131

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants