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

Feature/add dev env #8

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open

Feature/add dev env #8

wants to merge 2 commits into from

Conversation

wmitchellUK
Copy link
Contributor

Generates a new project successfully using this branch.

03:33:04 will@tiger micro-service-template ±|feature/AddDevEnv ✗|→ moleculer init --no-install "bytetechnology/micro-service-template#feature/AddDevEnv" micro-will
Template repo: bytetechnology/micro-service-template#feature/AddDevEnv
Downloading template...
? Does your service need to access a database Yes
? Select a db sql
Create 'micro-will' folder...

   
   To get started:
   
     cd micro-will
     npm run check
   
   		
03:33:14 will@tiger micro-service-template ±|feature/AddDevEnv ✗|→ moleculer init --no-install "bytetechnology/micro-service-template#feature/AddDevEnv" micro-pete
Template repo: bytetechnology/micro-service-template#feature/AddDevEnv
Downloading template...
? Does your service need to access a database Yes
? Select a db mongo
? Does your mongo instance support transactions? No
Create 'micro-pete' folder...

   
   To get started:
   
     cd micro-pete
     npm run check
   

However there is a pre-existing bug on develop for the following

03:34:16 will@tiger micro-service-template ±|feature/AddDevEnv ✗|→ moleculer init --no-install "bytetechnology/micro-service-template#develop" micro-michael
Template repo: bytetechnology/micro-service-template#develop
Downloading template...
? Does your service need to access a database No
Create 'micro-michael' folder...
fs.js:125
    throw err;
    ^
Error: ENOTEMPTY: directory not empty, rmdir '/Users/will/work/bytetechnology/micro-service-template/micro-michael/src/entities'
    at Object.rmdirSync (fs.js:706:3)
    at Object.complete (/Users/will/.moleculer-templates/bytetechnology-micro-service-template-develop/meta.js:88:14)
    at Metalsmith.<anonymous> (/Users/will/.nvm/versions/node/v12.0.0/lib/node_modules/moleculer-cli/src/init/index.js:237:41)
    at Immediate.<anonymous> (/Users/will/.nvm/versions/node/v12.0.0/lib/node_modules/moleculer-cli/node_modules/co/index.js:52:14)
    at processImmediate (internal/timers.js:439:21)

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

Successfully merging this pull request may close these issues.

2 participants