Skip to content
This repository has been archived by the owner on Jan 3, 2023. It is now read-only.

Error running yo feathers #51

Closed
TrySpace opened this issue Feb 23, 2016 · 3 comments
Closed

Error running yo feathers #51

TrySpace opened this issue Feb 23, 2016 · 3 comments

Comments

@TrySpace
Copy link

When I run yo feathers, after it creates all files, an error about installing packages occurs:

npm ERR! Linux 4.2.0-25-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/local/bin/npm" "install" "feathers" "feathers-hooks" "feathers-errors" "feathers-configuration" "serve-favicon" "compression" "winston" "body-parser" "feathers-rest" "feathers-socketio" "cors" "feathers-authentication" "passport" "mongoose" "feathers-mongoose" "--save"
npm ERR! node v5.6.0
npm ERR! npm  v3.7.3
npm ERR! code ENOSELF

also:

npm ERR! Refusing to install feathers as a dependency of itself

I'm pretty sure I have the latest versions of npm.

The npm-debug.log is also not helpful

@TrySpace TrySpace changed the title Error with package.json Error running yo feathers Feb 23, 2016
@daffl
Copy link
Member

daffl commented Feb 23, 2016

As the errors says, it looks like you are trying to install Feathers into it's own folder (potentially a subfolder of the cloned repository). I just tried on Ubuntu and everything worked as expected.

@ekryski
Copy link
Member

ekryski commented Feb 23, 2016

@TrySpace which versions of yo, npm, and node are you running?

@ekryski
Copy link
Member

ekryski commented Feb 24, 2016

I can't reproduce this. I've run the generator multiple times today on multiple node versions and it's worked fine. I think it might be your environment @TrySpace. We recommend using nvm and node v5.0+. I'm going to close this. Please report back if you get it working or not and we can re-open if it's still an issue.

@ekryski ekryski closed this as completed Feb 24, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants