You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to get started with microsvc
I have installed hub and gitslave, as well as made sure I'm authenticated with GitHub in hub.
Node: v8.9.0
NPM: 5.5.1
# DEBUG=* microsvc create system saint-next
creating new system 'saint-next'...
exec running 'git init' in cwd /Users/mikpet/Project/saint-next +0ms
Initialized empty Git repository in /Users/mikpet/Project/saint-next/.git/
exec running 'hub create saint-next' in cwd /Users/mikpet/Project/saint-next +17ms
Updating origin
created repository: Evanion/saint-next
finished creating new system 'saint-next'...
type 'cd ./saint-next && npm i && make run' to initialize and run
This creates a folder with Makefile, yml file, and readme file. I noticed that the command referenced in the end of the output calls NPM .. but I don't see any package.json in the folder. I figure it might be some clever stuff, so I press on:
# cd ./saint-next && npm i && make run
npm WARN saveError ENOENT: no such file or directory, open '/Users/mikpet/Project/saint-next/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/mikpet/Project/saint-next/package.json'
npm WARN saint-next No description
npm WARN saint-next No repository field.
npm WARN saint-next No README data
npm WARN saint-next No license field.
up to date in 0.061s
/Library/Developer/CommandLineTools/usr/bin/make run-only
mkdir -p ~/.tmuxinator
cp ./tmuxinator.all.yml ~/.tmuxinator/saint-next.yml
NO_WEB= mux saint-next
/bin/sh: mux: command not found
make[1]: *** [run-only] Error 127
make: *** [run] Error 2
Well I might as well run the last step as well:
# microsvc create service client-gateway
creating new microsvc 'client-gateway'...
Initialized empty Git repository in /Users/mikpet/Project/saint-next/client-gateway/.git/
Evanion/client-gateway already exists on github.com
origin git@github.com:Evanion/saint-next.git (fetch)
origin git@github.com:Evanion/saint-next.git (push)
set remote origin: Evanion/client-gateway
[master (root-commit) de58c26] initial commit
13 files changed, 307 insertions(+)
create mode 100644 .npmignore
create mode 100644 Makefile
create mode 100644 README.md
create mode 100644 api.js
create mode 100755 bin/client-gateway-svc
create mode 100644 config.json
create mode 100644 lib/bus.js
create mode 100644 lib/handlers/listen.js
create mode 100644 lib/handlers/subscribe.js
create mode 100644 package.json
create mode 100644 routes/index.js
create mode 100644 service.js
create mode 100644 test/index.js
Warning: Permanently added the RSA host key for IP address '192.30.253.113' to the list of known hosts.
ERROR: Repository not found.
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Cloning into 'client-gateway'...
warning: You appear to have cloned an empty repository.
error: pathspec '/Users/mikpet/Project/saint-next/.gitslave' did not match any file(s) known to git.
finished creating new microsvc 'client-gateway'...
type 'cd ./client-gateway && npm i && make run' to initialize and run
And lets run the last command just to be complete:
# cd ./client-gateway && npm i && make run
npm WARN saveError ENOENT: no such file or directory, open '/Users/mikpet/Project/saint-next/client-gateway/package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open '/Users/mikpet/Project/saint-next/client-gateway/package.json'
npm WARN client-gateway No description
npm WARN client-gateway No repository field.
npm WARN client-gateway No README data
npm WARN client-gateway No license field.
up to date in 0.068s
make: *** No rule to make target `run'. Stop.
There seems to be something wrong when I run the first command that causes all the other commands to fail.
The text was updated successfully, but these errors were encountered:
I'm trying to get started with microsvc
I have installed hub and gitslave, as well as made sure I'm authenticated with GitHub in hub.
Node: v8.9.0
NPM: 5.5.1
This creates a folder with Makefile, yml file, and readme file. I noticed that the command referenced in the end of the output calls NPM .. but I don't see any package.json in the folder. I figure it might be some clever stuff, so I press on:
Well I might as well run the last step as well:
And lets run the last command just to be complete:
There seems to be something wrong when I run the first command that causes all the other commands to fail.
The text was updated successfully, but these errors were encountered: