Hi,
just tried this out. I installed the generator on ubuntu 15.04 with:
npm install -g generator-seneca-micro
then I ran:
yo seneca-micro
which resulted in the following:
yo seneca-micro
? What is the name of your micro-service server? striderCoreBackend
? What is the description your service (in package.json)?
? Do you want to run the service in Docker? Yes
? What ports do you want to expose to outside world (comma separated)? 10101
? Do you want to add a (3rd party) Seneca plugin? No
? Do you want to add a service handler? No
events.js:85
throw er; // Unhandled 'error' event
^
AssertionError: Trying to copy from a source that does not exist: /usr/lib/node_modules/generator-seneca-micro/generators/app/templates/.gitignore
[...]
I checked whether the file exists or not:
$ ls -al /usr/lib/node_modules/generator-seneca-micro/generators/app/templates/
total 28
drwxr-xr-x 2 nobody philipp 4096 Jul 19 20:06 .
drwxr-xr-x 3 nobody philipp 4096 Jul 19 20:06 ..
-rw-r--r-- 1 nobody philipp 62 Mar 7 13:47 .dockerignore
-rw-r--r-- 1 nobody philipp 594 Mar 7 15:01 Dockerfile
-rw-r--r-- 1 nobody philipp 793 Mar 7 14:15 README.md
-rw-r--r-- 1 nobody philipp 1597 Mar 7 13:48 index.js
-rw-r--r-- 1 nobody philipp 259 Mar 7 13:28 package.json
and indeed it seems like this file is missing.
Any idea what could be wrong here?
BTW my npm version is:
Hi,
just tried this out. I installed the generator on ubuntu 15.04 with:
npm install -g generator-seneca-microthen I ran:
yo seneca-microwhich resulted in the following:
I checked whether the file exists or not:
and indeed it seems like this file is missing.
Any idea what could be wrong here?
BTW my npm version is: