azukiapp / azkfile-init-examples Goto Github PK
View Code? Open in Web Editor NEWsystems examples separated by folders. Just use `azk init` on root folder to generate the Azkfile.js
License: GNU General Public License v2.0
systems examples separated by folders. Just use `azk init` on root folder to generate the Azkfile.js
License: GNU General Public License v2.0
Duplicated?
This is a test.
The suggestion generated by azk
shows the sample php page instead of the application in laravel.
I was just trying to demonstrate Azk to a friend by running the Node.js example present on this repository (node010
). I've performed all the steps described on the 1st scenario but didn't get it running properly.
Here's the full log:
λ azk start
? The agent is not running, would you like to start it now? Yes
azk: Wait, this process may take several minutes
azk: Loading settings and checking dependencies.
azk: Checking version...
azk: Settings loaded successfully.
azk: Removing virtual machine...
azk: Virtual machine has been successfully removed.
azk: Agent is being started...
azk: Installing virtual machine...
azk: Virtual machine has been successfully installed.
azk: Starting virtual machine...
azk: Virtual machine has been successfully started.
azk: Waiting for initialization of virtual machine...
azk: Trying connect to vm (tcp://192.168.50.4:2376) (1/10)...
azk: Trying connect to vm (tcp://192.168.50.4:2376) (2/10)...
azk: Trying connect to vm (tcp://192.168.50.4:2376) (3/10)...
azk: Trying connect to vm (tcp://192.168.50.4:2376) (4/10)...
azk: Virtual machine is ready to use.
azk: Upload the ssh key to vm...
azk: Downloading required keys to connect with docker
azk: starting unsfd...
azk: unsfd started in 11003 port with file config: /Users/rafael.rinaldi/.azk/data/run/exports.
azk: mounting the unsfd shared folder in virtual machine...
azk: unsfd shared folder has been successfully mounted.
azk: Trying connect to docker (https://192.168.50.4:2376) (1/5)...
azk: Starting azk dns service...
azk: Dns service started.
azk: Trying connect to docker (https://192.168.50.4:2376) (1/5)...
azk: Starting azk balancer redirect service...
azk: Check if balancer redirect service is up (tcp://192.168.50.4:80) (1/10)...
azk: Balancer redirect started.
azk: Starting memcached service...
azk: Memcached service started.
azk: Starting http balancer service...
azk: Http balancer service started.
azk: Agent has been successfully started.
azk: ↑ starting `node-example` system, 2 new instances...
azk: ✓ checking `node:0.10` image...
azk: ◴ waiting start `node-example` system, try connect port http/tcp...
azk: Run system `node-example` return: (1), for command: /bin/bash -c npm start:
azk: npm ERR! Linux 3.16.7-tinycore64
azk: npm ERR! argv "node" "/usr/local/bin/npm" "start"
azk: npm ERR! node v0.10.35
azk: npm ERR! npm v2.1.16
azk: npm ERR! missing script: start
azk: npm ERR!
azk: npm ERR! If you need help, you may report this error at:
azk: npm ERR! <http://github.com/npm/npm/issues>
azk: npm ERR! Please include the following file with any support request:
azk: npm ERR! /azk/node-example/npm-debug.log
azk: Due to the above error azk will stop all instances already begun.
azk: System `node-example` not running
┌───┬──────────────┬────────────┬──────────────────────┬─────────────────┬───────────────┐
│ │ System │ Instancies │ Hostname │ Instances-Ports │ Provisioned │
├───┼──────────────┼────────────┼──────────────────────┼─────────────────┼───────────────┤
│ ↓ │ node-example │ 0 │ node-example.azk.dev │ - │ 3 minutes ago │
└───┴──────────────┴────────────┴──────────────────────┴─────────────────┴───────────────┘
Here's the npm-debug.log
:
0 info it worked if it ends with ok
1 verbose cli [ 'node', '/usr/local/bin/npm', 'start' ]
2 info using [email protected]
3 info using [email protected]
4 verbose stack Error: missing script: start
4 verbose stack at run (/usr/local/lib/node_modules/npm/lib/run-script.js:130:19)
4 verbose stack at /usr/local/lib/node_modules/npm/lib/run-script.js:81:5
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:51:40
4 verbose stack at final (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:349:17)
4 verbose stack at then (/usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:126:33)
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/read-package-json/read-json.js:331:40
4 verbose stack at evalmachine.<anonymous>:272:14
4 verbose stack at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:102:5
4 verbose stack at Object.oncomplete (evalmachine.<anonymous>:108:15)
5 verbose cwd /azk/node-example
6 error Linux 3.16.7-tinycore64
7 error argv "node" "/usr/local/bin/npm" "start"
8 error node v0.10.35
9 error npm v2.1.16
10 error missing script: start
11 error If you need help, you may report this error at:
11 error <http://github.com/npm/npm/issues>
12 verbose exit [ 1, true ]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.