-
Notifications
You must be signed in to change notification settings - Fork 131
Error: Cannot find module 'feathers-errors/handler' #78
Comments
Let's keep this open. There is something weird going on here. I've run into this before and so have other people but it only happens randomly. Re-installing definitely fixes it but I'm not sure if it is an npm issue or yeoman, or a problem with how we defined dependencies... Either way I WANT IT FIXED! It's such a shitty first experience. Thanks for giving such a detailed report @thejones! |
One more question @thejones: Do you remember if the dependency was added to |
@daffl @ekryski
Package.json...
$nvm use default
|
@thejones thanks! I'm going to double check that as well. It's most likely not the node version but may be a weird edge case we are hitting with npm versions that are now fixed. Unfortunately it is nearly impossible to search npm's github issues for this due to all the issues related to "can't install X". I'll see if I can reproduce more consistently with older versions of npm. |
I'm using Node 5.4.1, just got this error. Downloaded the generator today. |
I experienced the same issue with node v5.5.0.
Updated my version of node to the latest stable release (v5.10.1) and went through the whole setup again and it worked fine. |
Do the errors go away just when running |
Yes they do. As far as I can tell this is an open npm issue. You need to do |
I have just discovered FeathersJS and when I went through the tutorial I got this error so I googled it and found this issue. I checked my node and npm version and they were out of date, so I updated and now everything works first time. I ran When the error occurred my node version was @ekryski Even though this is technically PICNIC, unfortunately I think many newcomers will assume it's an issue with FeathersJS without giving it much thought. For me, mentioning this error in a side-note in the right place in the docs (and maybe linking to this issue) would be enough to mitigate any negative impression this might otherwise give? I would be happy to update the docs if it's possible to edit them via a pull request or something but I would need a bit of guidance on that (I'm new here so not sure what the right process is for this kind of thing?). |
I totally agree @pdrummond. At the top of every page on the docs you can click "edit this page" and it will do a PR. Maybe make it a ProTip so that it is more highlighted. I'd really appreciate it! |
Thank you @pdrummond for the input and the pull request feathersjs-ecosystem/docs#141 for the docs. Since having the latest version of Node and npm seems to fix it I am going to close this issue. |
Generator using postgres, github, and facebook auth. As far as I can tell it installed feathers-errors but maybe only within Sequelize? Running npm install --save feathers-errors fixes the error as expected. Unsure where this actually needs to get pulled in from.
So:
All good.
The text was updated successfully, but these errors were encountered: