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

error when try create project #2

Closed
jessecogollo opened this issue May 12, 2015 · 3 comments
Closed

error when try create project #2

jessecogollo opened this issue May 12, 2015 · 3 comments

Comments

@jessecogollo
Copy link

steps:

  1. execute: yo koa-rest
  2. I write name and URL doc.
    then terminal show this message:
    events.js:141
    throw er; // Unhandled 'error' event
    ^
    AssertionError: Trying to copy from a source that does not exist: /usr/local/lib/node_modules/generator-koa-rest/app/templates/.buildignore
    at EditionInterface.exports._copySingle (/usr/local/lib/node_modules/generator-koa-rest/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:44:3)
    at EditionInterface.exports.copy (/usr/local/lib/node_modules/generator-koa-rest/node_modules/yeoman-generator/node_modules/mem-fs-editor/actions/copy.js:22:17)
    at module.exports.yeoman.generators.Base.extend.writing.projectfiles (/usr/local/lib/node_modules/generator-koa-rest/app/index.js:59:15)
    at /usr/local/lib/node_modules/generator-koa-rest/node_modules/yeoman-generator/lib/base.js:409:16
    at processImmediate as _immediateCallback

I am using

  • iojs 1.8
  • yeoman 1.4.6
  • npm 2.9.0
@anthonybarsotti
Copy link

I'm having the same problem.

@PatrickWolleb
Copy link
Owner

npm/npm#3763

PatrickWolleb pushed a commit that referenced this issue May 16, 2015
@PatrickWolleb
Copy link
Owner

Ok it seems npm publish removes .gitignore files :s. I have not found a workaround to include them. But current fix omits them completely. Fixed in 1.1.7

PatrickWolleb pushed a commit that referenced this issue May 16, 2015
Removes gitignore
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