Open kingfisheranalytics opened 3 years ago
Did you do "npm install" from the command line in the folder where you downloaded the node code?
I'm on mac and getting the same error as above. I did run npm install, it installed packages but does not resolve the issue.
from inside the project folder, run the install command listed to the right on https://www.npmjs.com/package/http-errors
Thank you, I installed that package, ran npm install again... everything looks fine but not able to hit the users route for some reason. I just realized it's not the same error message! Read it too quickly. Below is the actual error message, in case you're interested in it. I need to host a solution within Unity3d which doesn't support node.js so I won't be able to reuse this solution anyways. I found another resource that shows how to do it within unity. I will try that. I just wanted to try this solution to have a quick way to test different endpoints. Thanks again.
NotFoundError: Not Found at /Users/##/Desktop/Downloads/FileMakerID_token-master/app.js:27:8 at Layer.handle [as handle_request] (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/layer.js:95:5) at trim_prefix (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:317:13) at /Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:284:7 at Function.process_params (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:335:12) at next (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:275:10) at /Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:635:15 at next (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:260:14) at Function.handle (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:174:3) at router (/Users/##/Desktop/Downloads/FileMakerID_token-master/node_modules/express/lib/router/index.js:47:12)
OSX 10.15.7. Initial install on Visual Studio Code v.1.50.1 - fails following install instruction.
Error trace: Error: Cannot find module 'http-errors' Require stack: