nanobox-quickstarts / nanobox-adonis Goto Github PK
View Code? Open in Web Editor NEWQuickstart for Adonis with Nanobox
License: Mozilla Public License 2.0
Quickstart for Adonis with Nanobox
License: Mozilla Public License 2.0
If you're looking to get involved with Hacktoberfest, you've come to the right place. Just check out the guidelines and get started!
I am using adonisjs 4.0-dev and I'm having issues watching for file changes when running the application. When i use adonis serve --dev
outside of nanobox it will watch for changes to my files and reload the application, but when running inside of nanobox none of my changes are detected and I have to manually restart this application. This is not an ideal workflow but I'm not sure how to fix it. I realize this likely only involves the yet to be officially release 4.0-dev version but wanted to put it out there as it look like 4.0 release is just around the corner.
Whilst running the required command: nanobox run yarn run dev
laptop@laptop:~/Development/Projects/nanobox-adonis⟫ nanobox run yarn run dev
Preparing environment :
Building runtime :
✓ Starting docker container
✓ Preparing environment for build
✓ Gathering requirements
✓ Mounting cache_dirs
✓ Installing binaries and runtimes
✓ Packaging build
Preparing environment :
nanobox-adonis (local) :
✓ Restoring App
Preparing environment :
Building dev environment :
✓ Starting docker container
✓ Configuring
**
*********
*************** Your command will run in an isolated Linux container
:: ********* :: Code changes in either the container or desktop are mirrored
" ::: *** ::: " ------------------------------------------------------------
"" ::: "" If you run a server, access it at >> 172.20.0.8
"" " ""
"
RUNNING > yarn run dev
----------------------
yarn run v1.1.0
$ nodemon --watch app --watch bootstrap --watch config --watch .env -x node server.js
/bin/sh: 1: nodemon: not found
error Command failed with exit code 127.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
1 laptop@laptop:~/Development/Projects/nanobox-adonis⟫
When running: nanobox run yarn run start
Preparing environment :
nanobox-adonis (local) :
✓ Restoring App
Preparing environment :
Building dev environment :
✓ Starting docker container
✓ Configuring
**
*********
*************** Your command will run in an isolated Linux container
:: ********* :: Code changes in either the container or desktop are mirrored
" ::: *** ::: " ------------------------------------------------------------
"" ::: "" If you run a server, access it at >> 172.20.0.8
"" " ""
"
RUNNING > yarn run start
------------------------
yarn run v1.1.0
$ node server.js
module.js:471
throw err;
^
Error: Cannot find module 'adonis-fold'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/app/bootstrap/http.js:14:14)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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.