-
Notifications
You must be signed in to change notification settings - Fork 2
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
app cannot find dependencies when invoking Birdwatch() #19
Comments
Hm. I am not able to reproduce this problem. I followed the install steps on the readme, and ran the test sample in the readme and it all works perfectly for me. From what I can read on your error report, the problem (for whatever reason) seems to be coming from the
and if an error is found in the package.json, then the app would have a hard time finding all the dependencies properly, hence all the other errors in the report you provided. So I am thinking that somehow your install of birdwatch was corrupted. I would try these steps to resolve the problem (basically, just re-installing birdwatch):
Now try running your app again. If you complete these steps, and you still get the same errors, please provide me with:
Thanks. |
Are you still having this problem? |
I did some clean up and isolated the problem down to these specific errors: ERROR in ./~/birdwatch/dist/utils.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/birdwatch/dist @ ./~/birdwatch/dist/utils.js 20:10-23 ERROR in ./~/get-port/index.js Module not found: Error: Cannot resolve module 'net' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/get-port @ ./~/get-port/index.js 2:10-24 ERROR in ./~/mkdirp/index.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/mkdirp @ ./~/mkdirp/index.js 2:9-22 ERROR in ./~/express/lib/request.js Module not found: Error: Cannot resolve module 'net' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/express/lib @ ./~/express/lib/request.js 18:11-25 ERROR in ./~/express/lib/view.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/express/lib @ ./~/express/lib/view.js 18:9-22 ERROR in ./~/send/index.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/send @ ./~/send/index.js 25:9-22 ERROR in ./~/etag/index.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/etag @ ./~/etag/index.js 22:12-25 ERROR in ./~/destroy/index.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/destroy @ ./~/destroy/index.js 14:17-30 ERROR in ./~/mime/mime.js Module not found: Error: Cannot resolve module 'fs' in /Users/ChristopherHoward/Documents/github-projects/birdfeed/node_modules/mime @ ./~/mime/mime.js 2:9-22 |
these errors actually don't look specific to Birdwatch. They appear as if your module is not able to find node's built-ins (in this case, either the |
👍 |
Here is a small snippet of the error report. When I remove the call to birdwatch my app functions as usual.
The text was updated successfully, but these errors were encountered: