donejs add plugin fails when run over existing project
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, node.js
- Domain
- cli
Research direction
Reproduce donejs add plugin in an existing project such as can-vdom and inspect the generator path shown in the error, node_modules/generator-donejs/plugin/templates/readme.md, along with the generated package.json. Trace the CLI entry point that initializes the project and confirm that the command completes without the reported template ReferenceError.
Written by the indexing model from the issue text.
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| [](https://travis-ci.org/<%= githubAccount %>/<%= name %>)
4|
5| <%= description %>
6|
- Dominant language
- JavaScript
- Stars
- 6
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from donejs/cli
-
Difficulty 5/5 Over a week Newbie friendliness 15/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Override Generators Openenhancement
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
Similar issues
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Add: BuyPass TV Openchannels:add check:passed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
S: triage
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 90/100
apache/cloudstack#14222 ·