Skip to content

AssertionError running yo #1

@cmoesel

Description

@cmoesel

Looks like perhaps this may not be maintained anymore, but in case it is, note that when I run yo cds-hooks-node-express on Mac OS X, I get an exception:

AssertionError [ERR_ASSERTION]: Trying to copy from a source that does not exist: /usr/local/lib/node_modules/generator-cds-hooks-node-express/generators/app/templates/.gitignore
    at EditionInterface.exports._copySingle (/usr/local/lib/node_modules/generator-cds-hooks-node-express/node_modules/mem-fs-editor/lib/actions/copy.js:45:3)
    at EditionInterface.exports.copy (/usr/local/lib/node_modules/generator-cds-hooks-node-express/node_modules/mem-fs-editor/lib/actions/copy.js:23:17)
    at /usr/local/lib/node_modules/generator-cds-hooks-node-express/generators/app/index.js:53:16
    at Array.forEach (<anonymous>)
    at child.writing (/usr/local/lib/node_modules/generator-cds-hooks-node-express/generators/app/index.js:52:90)
    at Object.<anonymous> (/usr/local/lib/node_modules/generator-cds-hooks-node-express/node_modules/yeoman-generator/lib/base.js:431:23)
    at /usr/local/lib/node_modules/generator-cds-hooks-node-express/node_modules/run-async/index.js:25:25
    at new Promise (<anonymous>)
    at /usr/local/lib/node_modules/generator-cds-hooks-node-express/node_modules/run-async/index.js:24:19
    at /usr/local/lib/node_modules/generator-cds-hooks-node-express/node_modules/yeoman-generator/lib/base.js:432:9

I thought you should know, but don't feel obligated to fix on my account. I was just exploring and likely have already moved on!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions