Closed chrishelgert closed 8 years ago
@chrishelgert Good idea! I'm looking for a solution. 🔍
@chrishelgert I found the problem: npm link
requires a node_modules
.
The solution:
--skip-install
npm link
after the yo-generatorTips / Hints:
rmdirSync
does not work recursive, see rimraf
. BTW: Yeoman can update the files if they already exist.yo
to the dev-dependencies (package.json
)examples/
)?Thanks for the PR! I hope I could help you.
@danielbayerlein thanks for the tip with skip-install. now it works.
why rimraf and not updating the existing source: it´s for testing, and i think it is complicated to test a codebase that is complicated overriden/updated, instead of a clean test-instance.
i think example-folder is complecated to handle, while project is wip. we should keep this in eye when we have a stable release
👍
heyho @danielbayerlein ,
i´ve written a script, that should reduce the amount of testing the generated microservices with generator-honeycomb.
one little problem is open, when trying to generate with react, it doesn´t find the linked honeycomb-register-client.
do you maybe know a solution?