donejs / donejs/cli

donejs add plugin fails when run over existing project

Open
#59 0 comments 1 reaction 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
6
Forks
7
PR merge metrics
No merged PRs in 30d

Description

```
Justins-MacBook-Pro-2:can-vdom justin$ donejs add plugin
Initializing new DoneJS application at /Users/justin/dev/can-vdom
Installing donejs-cli

> spawn-sync@1.0.15 postinstall /Users/justin/dev/can-vdom/node_modules/spawn-sync
> node postinstall

can-vdom@0.0.1 /Users/justin/dev/can-vdom
└── donejs-cli@0.9.5 extraneous

Installing generator-donejs@^0.9.0
can-vdom@0.0.1 /Users/justin/dev/can-vdom
├── donejs-cli@0.9.5 extraneous
└── generator-donejs@0.9.3 extraneous

? Project main folder .
? Application keywords donejs,canjs
? NPM version used 3
Writing package.json v0.9.5
events.js:154
throw er; // Unhandled 'error' event
^

ReferenceError: /Users/justin/dev/can-vdom/node_modules/generator-donejs/plugin/templates/readme.md:3
1| # <%= name %>
2|
>> 3| [![Build Status](https://travis-ci.org/<%= githubAccount %>/<%= name %>.png?branch=master)](https://travis-ci.org/<%= githubAccount %>/<%= name %>)
4|
5| <%= description %>
6|

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.