Git Product home page Git Product logo

node's Introduction

Node Lando Plugin

This is the official Lando plugin for NodeJS. When installed it...

  • Allows users to run various node versions
  • Runs in cli mode
  • Comes with easy npm and yarn support

Of course, once a user is running their node project with Lando they can take advantage of all the other awesome development features Lando provides.

Basic Usage

Add a node service to your Landofile

services:
  myservice:
    type: node:16
    command: npm start

For more info you should check out the docs:

Issues, Questions and Support

If you have a question or would like some community support we recommend you join us on Slack.

If you'd like to report a bug or submit a feature request then please use the issue queue in this repo.

Changelog

We try to log all changes big and small in both THE CHANGELOG and the release notes.

Maintainers

Contributors

Made with contributors-img.

Other Selected Resources

node's People

Contributors

dependabot[bot] avatar github-actions[bot] avatar pirog avatar reynoldsalec avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

node's Issues

Mount user npm config (~/.npmrc) to node containers

When dealing with private registries a lot in different projects I typically add the config for the registry in my user-level npmrc file.

It would be good if there were a way for lando to automatically mount this file, then we would have the DX of a user-level npm config inside of our lando containers as well.

Add rsync

I have noticed that the rsync command is missing.

This rsync command may be used by npm scripts.

It would be great to add it by default or bring an easy way to add it.

Lando configuration for custom service with nodejs building for gatby fails

Following is my configuration file for setting up gatsby project. While starting the project it gives me red color urls for proxy host. Not sure what is wrong with this setup, since development script for gatsby works just fine once it run and browser renders the url as well with the page.

Below is the screenshot while running lando gatsby:develop command
Screen Shot 2022-11-03 at 1 01 23 PM

Below is the screenshot while running lando gatsby build command
Screen Shot 2022-11-03 at 1 02 26 PM

Screen Shot 2022-11-03 at 1 02 41 PM

name: gatsby-starter

config:
  webroot: public

proxy:
  custom-gatsby:
    - gatsby-starter.lndo.site

services:
  custom-gatsby:
    ssl: true
    type: node:14
    globals:
      gatsby-cli: latest
      yarn: latest

events:
  post-start:
    - custom-gatsby: "cd /app && yarn install && gatsby build"

tooling:
  yarn:
    service: custom-gatsby
  gatsby:
    service: custom-gatsby
  gatsby:develop:
    cmd: gatsby develop --host 0.0.0.0 --port 80
    service: custom-gatsby

Node.js proxy not working

  • Win 11 x64
  • WSL 2 with Ubuntu 20.04
  • Lando v3.6.4

Docker Version:

Cloud integration: v1.0.23
Version: 20.10.14
API version: 1.41
Go version: go1.16.15
Git commit: a224086
Built: Thu Mar 24 01:48:21 2022
OS/Arch: linux/amd64
Context: default
Experimental: true

Server: Docker Desktop
Engine:
Version: 20.10.14
API version: 1.41 (minimum version 1.12)
Go version: go1.16.15
Git commit: 87a90dc
Built: Thu Mar 24 01:46:14 2022
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.5.11
GitCommit: 3df54a852345ae127d1fa3092b95168e4a88e2f8
runc:
Version: 1.0.3
GitCommit: v1.0.3-0-gf46b6ba
docker-init:
Version: 0.19.0
GitCommit: de40ad0

Lando is no able to create proxy URL's for NODEjs
neither with lndo.side or local domains

lando start verbose log:

lando 16:35:55 DEBUG ==> No update available. 
lando 16:35:55 VERBOSE ==> starting bootstrap at level app... 
lando 16:35:55 VERBOSE ==> config bootstrap beginning... 
lando 16:35:55 DEBUG ==> emitting event pre-bootstrap-config 
lando 16:35:55 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/index.js 
lando 16:35:55 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/index.js 
lando 16:35:55 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/index.js 
lando 16:35:55 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/index.js 
lando 16:35:55 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/index.js 
lando 16:35:55 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/index.js 
lando 16:35:55 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/index.js 
lando 16:35:55 DEBUG ==> plugin lando-test loaded from /snapshot/cli/plugins/lando-test/index.js 
lando 16:35:55 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/apache loaded from /snapshot/cli/node_modules/@lando/apache/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/backdrop loaded from /snapshot/cli/node_modules/@lando/backdrop/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/compose loaded from /snapshot/cli/node_modules/@lando/compose/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/dotnet loaded from /snapshot/cli/node_modules/@lando/dotnet/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/drupal loaded from /snapshot/cli/node_modules/@lando/drupal/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/elasticsearch loaded from /snapshot/cli/node_modules/@lando/elasticsearch/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/go loaded from /snapshot/cli/node_modules/@lando/go/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/joomla loaded from /snapshot/cli/node_modules/@lando/joomla/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/lamp loaded from /snapshot/cli/node_modules/@lando/lamp/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/laravel loaded from /snapshot/cli/node_modules/@lando/laravel/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/lemp loaded from /snapshot/cli/node_modules/@lando/lemp/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/mailhog loaded from /snapshot/cli/node_modules/@lando/mailhog/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/mariadb loaded from /snapshot/cli/node_modules/@lando/mariadb/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/mean loaded from /snapshot/cli/node_modules/@lando/mean/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/memcached loaded from /snapshot/cli/node_modules/@lando/memcached/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/mongo loaded from /snapshot/cli/node_modules/@lando/mongo/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/mssql loaded from /snapshot/cli/node_modules/@lando/mssql/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/mysql loaded from /snapshot/cli/node_modules/@lando/mysql/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/nginx loaded from /snapshot/cli/node_modules/@lando/nginx/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/node loaded from /snapshot/cli/node_modules/@lando/node/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/php loaded from /snapshot/cli/node_modules/@lando/php/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/phpmyadmin loaded from /snapshot/cli/node_modules/@lando/phpmyadmin/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/postgres loaded from /snapshot/cli/node_modules/@lando/postgres/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/python loaded from /snapshot/cli/node_modules/@lando/python/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/redis loaded from /snapshot/cli/node_modules/@lando/redis/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/ruby loaded from /snapshot/cli/node_modules/@lando/ruby/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/solr loaded from /snapshot/cli/node_modules/@lando/solr/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/symfony loaded from /snapshot/cli/node_modules/@lando/symfony/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/tomcat loaded from /snapshot/cli/node_modules/@lando/tomcat/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/varnish loaded from /snapshot/cli/node_modules/@lando/varnish/index.js 
lando 16:35:55 DEBUG ==> plugin @lando/wordpress loaded from /snapshot/cli/node_modules/@lando/wordpress/index.js 
lando 16:35:55 DEBUG ==> emitting event post-bootstrap-config 
lando 16:35:55 VERBOSE ==> building proxy config... 
lando 16:35:55 VERBOSE ==> config bootstrap completed. 
lando 16:35:55 VERBOSE ==> tasks bootstrap beginning... 
lando 16:35:55 DEBUG ==> emitting event pre-bootstrap-tasks 
lando 16:35:55 DEBUG ==> autoloaded task config 
lando 16:35:55 DEBUG ==> autoloaded task destroy 
lando 16:35:55 DEBUG ==> autoloaded task info 
lando 16:35:55 DEBUG ==> autoloaded task list 
lando 16:35:55 DEBUG ==> autoloaded task logs 
lando 16:35:55 DEBUG ==> autoloaded task poweroff 
lando 16:35:55 DEBUG ==> autoloaded task rebuild 
lando 16:35:55 DEBUG ==> autoloaded task restart 
lando 16:35:55 DEBUG ==> autoloaded task share 
lando 16:35:55 DEBUG ==> autoloaded task start 
lando 16:35:55 DEBUG ==> autoloaded task stop 
lando 16:35:55 DEBUG ==> autoloaded task version 
lando 16:35:55 DEBUG ==> autoloaded task init 
lando 16:35:55 DEBUG ==> autoloaded task ssh 
lando 16:35:55 DEBUG ==> emitting event post-bootstrap-tasks 
lando 16:35:55 VERBOSE ==> tasks bootstrap completed. 
lando 16:35:55 VERBOSE ==> engine bootstrap beginning... 
lando 16:35:55 DEBUG ==> emitting event pre-bootstrap-engine 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-core/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-proxy/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-recipes/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-services/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/plugins/lando-sharing/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/acquia/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/lagoon/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/pantheon/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> automoved scripts from /snapshot/cli/node_modules/@lando/platformsh/scripts to /home/felix_berlin/.lando/scripts and set to mode 755 
lando 16:35:55 DEBUG ==> emitting event post-bootstrap-engine 
lando 16:35:55 VERBOSE ==> engine bootstrap completed. 
lando 16:35:55 VERBOSE ==> app bootstrap beginning... 
lando 16:35:55 DEBUG ==> emitting event pre-bootstrap-app 
lando 16:35:55 DEBUG ==> autoloaded builder LandoCompose 
lando 16:35:55 DEBUG ==> autoloaded builder LandoAppserver 
lando 16:35:55 DEBUG ==> autoloaded builder LandoService 
lando 16:35:55 DEBUG ==> autoloaded builder LandoUtility 
lando 16:35:55 DEBUG ==> autoloaded builder LandoWebServer 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDrupal 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLaemp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoAppserver 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformAppserver 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformService 
lando 16:35:55 DEBUG ==> autoloaded builder LandoCa 
lando 16:35:55 DEBUG ==> autoloaded builder LandoProxy 
lando 16:35:55 DEBUG ==> autoloaded builder LandoInit 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMounter 
lando 16:35:55 DEBUG ==> autoloaded builder LandoApache 
lando 16:35:55 DEBUG ==> autoloaded builder LandoCompose 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDotNet 
lando 16:35:55 DEBUG ==> autoloaded builder LandoElasticSearch 
lando 16:35:55 DEBUG ==> autoloaded builder LandoGo 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonElasticsearch 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonMariaDb 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonNginx 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonNone 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonPhp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonPhp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonPostgres 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonRedis 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonSolr 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoonVarnish 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMailHog 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMariaDb 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMemcached 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMongoDb 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMsSql 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMySql 
lando 16:35:55 DEBUG ==> autoloaded builder LandoNginx 
lando 16:35:55 DEBUG ==> autoloaded builder LandoNode 
lando 16:35:55 DEBUG ==> autoloaded builder PantheonMariaDb 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPhp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPma 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshChromeHeadless 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformsElasticsearch 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshInfluxdb 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshKafka 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshMariaDB 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshMemcached 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformsMongoDB 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshMySQL 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshPhp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshPostgres 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshRabbitmq 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshRedis 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshSolr 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformshVarnish 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPostgres 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPython 
lando 16:35:55 DEBUG ==> autoloaded builder LandoRedis 
lando 16:35:55 DEBUG ==> autoloaded builder LandoRuby 
lando 16:35:55 DEBUG ==> autoloaded builder LandoSolr 
lando 16:35:55 DEBUG ==> autoloaded builder LandoTomcat 
lando 16:35:55 DEBUG ==> autoloaded builder LandoVarnish 
lando 16:35:55 DEBUG ==> autoloaded builder LandoAcquia 
lando 16:35:55 DEBUG ==> autoloaded builder LandoBackdrop 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDrupal10 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDrupal6 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDrupal7 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDrupal8 
lando 16:35:55 DEBUG ==> autoloaded builder LandoDrupal9 
lando 16:35:55 DEBUG ==> autoloaded builder LandoJoomla 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLagoon 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLamp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLaravel 
lando 16:35:55 DEBUG ==> autoloaded builder LandoLamp 
lando 16:35:55 DEBUG ==> autoloaded builder LandoMean 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPantheon 
lando 16:35:55 DEBUG ==> autoloaded builder LandoPlatformsh 
lando 16:35:55 DEBUG ==> autoloaded builder LandoSymfony 
lando 16:35:55 DEBUG ==> autoloaded builder LandoWordPress 
lando 16:35:55 DEBUG ==> emitting event post-bootstrap-app 
lando 16:35:55 VERBOSE ==> app bootstrap completed. 
lando 16:35:55 VERBOSE ==> bootstrap completed. 
lando 16:35:55 DEBUG ==> emitting event post-bootstrap 
lando 16:35:55 VERBOSE ==> docker-engine exists: true 
lando 16:35:55 VERBOSE ==> docker-compose exists: true 
lando 16:35:55 DEBUG ==> emitting event cli-answers 
lando 16:35:55 DEBUG ==> emitting event cli-start-answers 
lando 16:35:55 DEBUG ==> emitting event cli-run 
lando 16:35:55 DEBUG ==> emitting event cli-start-run 
lando 16:35:55 INFO ==> loading app sora from config files 0=/home/felix_berlin/workspace/sora/.lando.yml
lando 16:35:55 DEBUG ==> app sora has config name=sora, recipe=wordpress, webroot=., php=8.0, composer_version=2.3.5, database=mysql:8.0, type=node:16, type=phpmyadmin, hosts=[database], type=mailhog, hogfrom=[appserver], service=theme, service=theme, appserver=[sora.lndo.site], theme=[theme-sora.lndo.site], mailhog=[sora-mail.lndo.site], pma=[sora-pma.lndo.site]
Let's get this party started! Starting app sora...
sora  16:35:55 INFO ==> starting app... 
sora  16:35:55 VERBOSE ==> initiatilizing app at /home/felix_berlin/workspace/sora... 
lando 16:35:55 DEBUG ==> plugin lando-core loaded from /snapshot/cli/plugins/lando-core/app.js 
lando 16:35:55 DEBUG ==> plugin lando-events loaded from /snapshot/cli/plugins/lando-events/app.js 
lando 16:35:55 DEBUG ==> plugin lando-networking loaded from /snapshot/cli/plugins/lando-networking/app.js 
sora  16:35:55 VERBOSE ==> proxy settings detected. 
lando 16:35:55 DEBUG ==> plugin lando-proxy loaded from /snapshot/cli/plugins/lando-proxy/app.js 
lando 16:35:55 DEBUG ==> plugin lando-recipes loaded from /snapshot/cli/plugins/lando-recipes/app.js 
lando 16:35:55 DEBUG ==> plugin lando-services loaded from /snapshot/cli/plugins/lando-services/app.js 
lando 16:35:55 DEBUG ==> plugin lando-sharing loaded from /snapshot/cli/plugins/lando-sharing/app.js 
lando 16:35:55 DEBUG ==> plugin lando-tooling loaded from /snapshot/cli/plugins/lando-tooling/app.js 
lando 16:35:55 DEBUG ==> plugin @lando/acquia loaded from /snapshot/cli/node_modules/@lando/acquia/app.js 
lando 16:35:55 DEBUG ==> plugin @lando/lagoon loaded from /snapshot/cli/node_modules/@lando/lagoon/app.js 
lando 16:35:55 DEBUG ==> plugin @lando/pantheon loaded from /snapshot/cli/node_modules/@lando/pantheon/app.js 
lando 16:35:55 DEBUG ==> plugin @lando/platformsh loaded from /snapshot/cli/node_modules/@lando/platformsh/app.js 
sora  16:35:55 DEBUG ==> emitting event pre-init 
sora  16:35:55 VERBOSE ==> building wordpress recipe named 
lando 16:35:55 VERBOSE ==> proxy is ON. 
lando 16:35:55 VERBOSE ==> Setting the default proxy certificate /certs/cert.crt 
sora  16:35:55 VERBOSE ==> building php service appserver 
sora  16:35:55 VERBOSE ==> building mysql service database 
sora  16:35:55 VERBOSE ==> building node service theme 
sora  16:35:55 VERBOSE ==> building phpmyadmin service pma 
sora  16:35:55 VERBOSE ==> building mailhog service mailhog 
sora  16:35:55 DEBUG ==> emitting event post-init 
sora  16:35:55 DEBUG ==> adding hostnames to the app... 
sora  16:35:55 DEBUG ==> hostnames added to appserver 0=appserver.sora.internal
sora  16:35:55 DEBUG ==> hostnames added to database 0=database.sora.internal
sora  16:35:55 DEBUG ==> hostnames added to theme 0=theme.sora.internal
sora  16:35:55 DEBUG ==> hostnames added to pma 0=pma.sora.internal
sora  16:35:55 DEBUG ==> hostnames added to mailhog 0=mailhog.sora.internal
sora  16:35:55 VERBOSE ==> attempting to find open services... 
lando 16:35:55 DEBUG ==> engine is up. 
lando 16:35:55 DEBUG ==> docker is running. 
sora  16:35:55 DEBUG ==> engine is up. 
sora  16:35:55 VERBOSE ==> refreshing certificates... 0=appserver, 1=database, 2=theme, 3=pma, 4=mailhog
sora  16:35:55 VERBOSE ==> perm sweeping flagged non-root containers ... 0=database
sora  16:35:55 VERBOSE ==> analyzing user ssh keys... using 1 of 1 
sora  16:35:55 DEBUG ==> key config...  none 
sora  16:35:55 VERBOSE ==> additional tooling detected 
sora  16:35:55 DEBUG ==> adding app cli task composer 
sora  16:35:55 DEBUG ==> adding app cli task db-import <file> 
sora  16:35:55 DEBUG ==> adding app cli task db-export [file] 
sora  16:35:55 DEBUG ==> adding app cli task php 
sora  16:35:55 DEBUG ==> adding app cli task mysql 
sora  16:35:55 DEBUG ==> adding app cli task wp 
sora  16:35:55 DEBUG ==> adding app cli task npm 
sora  16:35:55 DEBUG ==> adding app cli task node 
sora  16:35:55 VERBOSE ==> setting LANDO_INFO... 
sora  16:35:55 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1 
sora  16:35:55 DEBUG ==> ensuring exposed ports on appserver are bound to 127.0.0.1 
sora  16:35:55 DEBUG ==> ensuring exposed ports on database are bound to 127.0.0.1 
sora  16:35:55 DEBUG ==> ensuring exposed ports on pma are bound to 127.0.0.1 
sora  16:35:55 DEBUG ==> ensuring exposed ports on mailhog are bound to 127.0.0.1 
sora  16:35:55 VERBOSE ==> app is ready! 
sora  16:35:55 DEBUG ==> emitting event ready 
sora  16:35:55 VERBOSE ==> discovering dynamic portforward info... 
sora  16:35:55 VERBOSE ==> reporting start action to report=true, url=https://metrics.lando.dev, report=true, url=https://metrics.lando.dev
sora  16:35:55 DEBUG ==> reported data command=lando start, context=local, devMode=false, instance=7233aa0b571db175ec146b871af20b6af74d252e, nodeVersion=v14.18.3, mode=cli, type=Linux, platform=linux, release=5.10.102.1-microsoft-standard-WSL2, arch=x64, product=lando, version=3.6.4, app=1b90afe3bc4f82bdc3a845fe169b10e26bc47fa3, type=wordpress, services=[php:8.0, mysql:8.0, node:16, phpmyadmin, mailhog], action=start, created=2022-05-06T14:35:55.983Z
sora  16:35:55 DEBUG ==> emitting event pre-start 
lando 16:35:56 DEBUG ==> process pid5 running /usr/share/lando/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false
lando 16:35:56 VERBOSE ==> checking docker version compatibility... 
lando 16:35:56 DEBUG ==> compatibility results name=compose, link=https://docs.docker.com/compose/install/#install-compose-on-linux-systems, wants=1.23.0 - 1.30.0, version=1.29.2, semversion=1.29.2, semmin=1.23.0, semmax=1.30.0, dockerVersion=true, satisfied=true, name=engine, link=https://docs.docker.com/engine/install/, wants=18.09.3 - 20.10.99, version=20.10.14, semversion=20.10.14, semmin=18.9.3, semmax=20.10.99, dockerVersion=true, satisfied=true
landoproxyhyperion5000gandalfedition_proxy_1 is up-to-date
lando 16:35:56 DEBUG ==> process pid5 finished with exit code 0 
sora  16:35:56 DEBUG ==> app has proxy compose files 0=/home/felix_berlin/.lando/compose/sora/proxy-0.yml, 1=/home/felix_berlin/.lando/compose/sora/proxy-1.yml, 2=/home/felix_berlin/.lando/compose/sora/proxy-2.yml, 3=/home/felix_berlin/.lando/compose/sora/proxy-3.yml
sora  16:35:56 DEBUG ==> process pid6 running /usr/share/lando/bin/docker-compose up cstdio=inherit, silent=false, mode=spawn, detached=false
Starting sora_theme_1     ... done
Starting sora_mailhog_1   ... done
Starting sora_pma_1       ... done
Starting sora_database_1  ... done
Starting sora_appserver_1 ... done
sora  16:36:00 DEBUG ==> process pid6 finished with exit code 0 
sora  16:36:00 DEBUG ==> emitting event post-start 
sora  16:36:01 DEBUG ==> engine is up. 
sora  16:36:01 DEBUG ==> process pid8 running /usr/share/lando/bin/docker-compose exec database bash [ -f /bitnami/mysql/.mysql_initialized ] cstdio=pipe, silent=true, mode=spawn, detached=false
sora  16:36:02 DEBUG ==> process pid8 finished with exit code 0 
sora  16:36:02 DEBUG ==> connected sora_pma_1 to the landonet 
sora  16:36:03 DEBUG ==> connected sora_mailhog_1 to the landonet 
sora  16:36:03 DEBUG ==> connected sora_appserver_1 to the landonet 
sora  16:36:03 DEBUG ==> connected sora_theme_1 to the landonet 
sora  16:36:03 DEBUG ==> connected sora_database_1 to the landonet 
sora  16:36:04 DEBUG ==> aliased ["sora.lndo.site","theme-sora.lndo.site","sora-mail.lndo.site","sora-pma.lndo.site","ee3e178a6767"] to the proxynet 
sora  16:36:04 DEBUG ==> process pid9 running /usr/share/lando/bin/docker-compose exec database /helpers/user-perms.sh cstdio=inherit, silent=false, mode=spawn, detached=false
sora  16:36:05 DEBUG ==> process pid9 finished with exit code 0 
sora  16:36:05 VERBOSE ==> attempting to find open services... 
Scanning to determine which services are ready... Please stand by...
sora  16:36:05 VERBOSE ==> about to scan urls 
sora  16:36:05 DEBUG ==> scanning data urls=[https://localhost:50270, http://localhost:50271, http://sora.lndo.site/, https://sora.lndo.site/, http://theme-sora.lndo.site/, http://localhost:50268, http://sora-pma.lndo.site/, http://localhost:50272, http://sora-mail.lndo.site/], max=16, waitCodes=[400, 502, 404]
sora  16:36:05 DEBUG ==> checking to see if https://localhost:50270 is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://localhost:50271 is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://sora.lndo.site/ is ready. 
sora  16:36:05 DEBUG ==> checking to see if https://sora.lndo.site/ is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://localhost:50268 is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://sora-pma.lndo.site/ is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://localhost:50272 is ready. 
sora  16:36:05 DEBUG ==> checking to see if http://sora-mail.lndo.site/ is ready. 
sora  16:36:05 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:05 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:05 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:05 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:05 DEBUG ==> scan response http://localhost:50272 received status=200, content-type=text/html; charset=utf-8, date=Fri, 06 May 2022 14:36:05 GMT, connection=close, transfer-encoding=chunked
sora  16:36:05 DEBUG ==> http://localhost:50272 is ready 
sora  16:36:05 DEBUG ==> scan response http://sora-mail.lndo.site/ received status=200, content-type=text/html; charset=utf-8, date=Fri, 06 May 2022 14:36:05 GMT, connection=close, transfer-encoding=chunked
sora  16:36:05 DEBUG ==> http://sora-mail.lndo.site/ is ready 
sora  16:36:05 DEBUG ==> scan failed for http://sora-pma.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:05 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:05 DEBUG ==> Response for http://sora-pma.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:05 DEBUG ==> http://sora-pma.lndo.site/ not currently accessible 
sora  16:36:05 DEBUG ==> scan failed for https://localhost:50270 code=undefined, message=Request failed with status code 500, status=500, date=Fri, 06 May 2022 14:36:05 GMT, server=Apache/2.4.53 (Debian), x-powered-by=PHP/8.0.18, expires=Wed, 11 Jan 1984 05:00:00 GMT, cache-control=no-cache, must-revalidate, max-age=0, content-length=125, connection=close, content-type=application/json; charset=UTF-8
sora  16:36:05 DEBUG ==> Unkown failure for https://localhost:50270. Setting to good 
sora  16:36:05 DEBUG ==> https://localhost:50270 is ready 
sora  16:36:05 DEBUG ==> scan failed for http://localhost:50271 code=undefined, message=Request failed with status code 500, status=500, date=Fri, 06 May 2022 14:36:05 GMT, server=Apache/2.4.53 (Debian), x-powered-by=PHP/8.0.18, expires=Wed, 11 Jan 1984 05:00:00 GMT, cache-control=no-cache, must-revalidate, max-age=0, content-length=125, connection=close, content-type=application/json; charset=UTF-8
sora  16:36:05 DEBUG ==> Unkown failure for http://localhost:50271. Setting to good 
sora  16:36:05 DEBUG ==> http://localhost:50271 is ready 
sora  16:36:05 DEBUG ==> scan failed for https://sora.lndo.site/ code=undefined, message=Request failed with status code 500, status=500, cache-control=no-cache, must-revalidate, max-age=0, content-length=125, content-type=application/json; charset=UTF-8, date=Fri, 06 May 2022 14:36:05 GMT, expires=Wed, 11 Jan 1984 05:00:00 GMT, server=Apache/2.4.53 (Debian), x-powered-by=PHP/8.0.18, connection=close
sora  16:36:05 DEBUG ==> Unkown failure for https://sora.lndo.site/. Setting to good 
sora  16:36:05 DEBUG ==> https://sora.lndo.site/ is ready 
sora  16:36:05 DEBUG ==> scan failed for http://sora.lndo.site/ code=undefined, message=Request failed with status code 500, status=500, cache-control=no-cache, must-revalidate, max-age=0, content-length=125, content-type=application/json; charset=UTF-8, date=Fri, 06 May 2022 14:36:05 GMT, expires=Wed, 11 Jan 1984 05:00:00 GMT, server=Apache/2.4.53 (Debian), x-powered-by=PHP/8.0.18, connection=close
sora  16:36:05 DEBUG ==> Unkown failure for http://sora.lndo.site/. Setting to good 
sora  16:36:05 DEBUG ==> http://sora.lndo.site/ is ready 
sora  16:36:05 DEBUG ==> scan response http://localhost:50268 received status=200, date=Fri, 06 May 2022 14:36:05 GMT, server=Apache/2.4.38 (Debian), x-powered-by=PHP/7.4.20, set-cookie=[phpMyAdmin=d351479a2bdbf0c9a278eeffd1bb04c2; path=/; HttpOnly, phpMyAdmin=d351479a2bdbf0c9a278eeffd1bb04c2; path=/; HttpOnly, pma_lang=en; expires=Sun, 05-Jun-2022 14:36:05 GMT; Max-Age=2592000; path=/; HttpOnly; SameSite=Strict], expires=Fri, 06 May 2022 14:36:05 +0000, cache-control=no-store, no-cache, must-revalidate,  pre-check=0, post-check=0, max-age=0, last-modified=Fri, 06 May 2022 14:36:05 +0000, x-ob_mode=1, x-frame-options=DENY, referrer-policy=no-referrer, content-security-policy=default-src 'self' ;script-src 'self' 'unsafe-inline' 'unsafe-eval' ;style-src 'self' 'unsafe-inline' ;img-src 'self' data:  *.tile.openstreetmap.org;object-src 'none';, x-content-security-policy=default-src 'self' ;options inline-script eval-script;referrer no-referrer;img-src 'self' data:  *.tile.openstreetmap.org;object-src 'none';, x-webkit-csp=default-src 'self' ;script-src 'self'  'unsafe-inline' 'unsafe-eval';referrer no-referrer;style-src 'self' 'unsafe-inline' ;img-src 'self' data:  *.tile.openstreetmap.org;object-src 'none';, x-xss-protection=1; mode=block, x-content-type-options=nosniff, x-permitted-cross-domain-policies=none, x-robots-tag=noindex, nofollow, pragma=no-cache, vary=Accept-Encoding, connection=close, transfer-encoding=chunked, content-type=text/html; charset=utf-8
sora  16:36:05 DEBUG ==> http://localhost:50268 is ready 
sora  16:36:06 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:06 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:06 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:06 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:06 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:06 DEBUG ==> checking to see if http://sora-pma.lndo.site/ is ready. 
sora  16:36:06 DEBUG ==> scan response http://sora-pma.lndo.site/ received status=200, cache-control=no-store, no-cache, must-revalidate,  pre-check=0, post-check=0, max-age=0, content-security-policy=default-src 'self' ;script-src 'self' 'unsafe-inline' 'unsafe-eval' ;style-src 'self' 'unsafe-inline' ;img-src 'self' data:  *.tile.openstreetmap.org;object-src 'none';, content-type=text/html; charset=utf-8, date=Fri, 06 May 2022 14:36:06 GMT, expires=Fri, 06 May 2022 14:36:06 +0000, last-modified=Fri, 06 May 2022 14:36:06 +0000, pragma=no-cache, referrer-policy=no-referrer, server=Apache/2.4.38 (Debian), set-cookie=[phpMyAdmin=d52694d2ed132dd64d97d47848564a0b; path=/; HttpOnly, phpMyAdmin=d52694d2ed132dd64d97d47848564a0b; path=/; HttpOnly, pma_lang=en; expires=Sun, 05-Jun-2022 14:36:06 GMT; Max-Age=2592000; path=/; HttpOnly; SameSite=Strict], vary=Accept-Encoding, x-content-security-policy=default-src 'self' ;options inline-script eval-script;referrer no-referrer;img-src 'self' data:  *.tile.openstreetmap.org;object-src 'none';, x-content-type-options=nosniff, x-frame-options=DENY, x-ob_mode=1, x-permitted-cross-domain-policies=none, x-powered-by=PHP/7.4.20, x-robots-tag=noindex, nofollow, x-webkit-csp=default-src 'self' ;script-src 'self'  'unsafe-inline' 'unsafe-eval';referrer no-referrer;style-src 'self' 'unsafe-inline' ;img-src 'self' data:  *.tile.openstreetmap.org;object-src 'none';, x-xss-protection=1; mode=block, connection=close, transfer-encoding=chunked
sora  16:36:06 DEBUG ==> http://sora-pma.lndo.site/ is ready 
sora  16:36:07 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:07 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:07 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:07 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:07 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:08 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:08 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:08 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:08 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:08 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:10 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:10 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:10 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:10 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:10 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:13 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:13 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:13 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:13 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:13 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:16 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:16 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:16 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:16 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:16 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:19 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:19 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:19 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:19 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:19 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:23 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:23 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:23 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:23 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:23 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:28 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:28 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:28 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:28 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:28 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:33 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:33 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:33 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:33 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:33 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:38 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:38 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:38 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:38 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:38 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:44 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:44 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:44 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:44 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:44 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:51 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:51 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:51 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:51 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:51 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:36:58 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:36:58 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:36:58 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:36:58 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:36:58 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:37:05 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:37:05 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:37:05 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:37:05 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:37:05 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:37:13 DEBUG ==> checking to see if http://theme-sora.lndo.site/ is ready. 
sora  16:37:13 DEBUG ==> scan failed for http://theme-sora.lndo.site/ code=undefined, message=Request failed with status code 502, status=502, date=Fri, 06 May 2022 14:37:13 GMT, content-length=11, content-type=text/plain; charset=utf-8, connection=close
sora  16:37:13 DEBUG ==> Response for http://theme-sora.lndo.site/, returned http code we should retry for. Setting to bad 
sora  16:37:13 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:37:13 DEBUG ==> http://theme-sora.lndo.site/ not currently accessible 
sora  16:37:13 VERBOSE ==> scan completed. 
sora  16:37:13 DEBUG ==> scan results. url=https://localhost:50270, status=true, color=green, url=http://localhost:50271, status=true, color=green, url=http://sora.lndo.site/, status=true, color=green, url=https://sora.lndo.site/, status=true, color=green, url=http://theme-sora.lndo.site/, status=false, color=red, url=http://localhost:50268, status=true, color=green, url=http://sora-pma.lndo.site/, status=true, color=green, url=http://localhost:50272, status=true, color=green, url=http://sora-mail.lndo.site/, status=true, color=green
sora  16:37:13 DEBUG ==> engine is up. 
sora  16:37:14 DEBUG ==> process pid11 running /usr/share/lando/bin/docker-compose exec appserver /bin/sh mkdir -p /certs && /helpers/refresh-certs.sh > /certs/refresh.log cstdio=inherit, silent=false, mode=spawn, detached=false
sora  16:37:14 DEBUG ==> process pid11 finished with exit code 0 
sora  16:37:14 DEBUG ==> process pid12 running /usr/share/lando/bin/docker-compose exec database /bin/sh mkdir -p /certs && /helpers/refresh-certs.sh > /certs/refresh.log cstdio=inherit, silent=false, mode=spawn, detached=false
sora  16:37:15 DEBUG ==> process pid12 finished with exit code 0 
sora  16:37:15 DEBUG ==> process pid13 running /usr/share/lando/bin/docker-compose exec theme /bin/sh mkdir -p /certs && /helpers/refresh-certs.sh > /certs/refresh.log cstdio=inherit, silent=false, mode=spawn, detached=false
sora  16:37:16 DEBUG ==> process pid13 finished with exit code 0 
sora  16:37:16 DEBUG ==> process pid14 running /usr/share/lando/bin/docker-compose exec pma /bin/sh mkdir -p /certs && /helpers/refresh-certs.sh > /certs/refresh.log cstdio=inherit, silent=false, mode=spawn, detached=false
sora  16:37:16 DEBUG ==> process pid14 finished with exit code 0 
sora  16:37:16 DEBUG ==> process pid15 running /usr/share/lando/bin/docker-compose exec mailhog /bin/sh mkdir -p /certs && /helpers/refresh-certs.sh > /certs/refresh.log cstdio=inherit, silent=false, mode=spawn, detached=false
sora  16:37:17 DEBUG ==> process pid15 finished with exit code 0 
sora  16:37:17 INFO ==> started app. 

   ___                      __        __        __     __        ______
  / _ )___  ___  __ _  ___ / /  ___ _/ /_____ _/ /__ _/ /_____ _/ / / /
 / _  / _ \/ _ \/  ' \(_-</ _ \/ _ `/  '_/ _ `/ / _ `/  '_/ _ `/_/_/_/ 
/____/\___/\___/_/_/_/___/_//_/\_,_/_/\_\\_,_/_/\_,_/_/\_\\_,_(_|_|_)  
                                                                       

Your app has started up correctly.
Here are some vitals:

 NAME            sora                                     
 LOCATION        /home/felix_berlin/workspace/sora        
 SERVICES        appserver, database, theme, pma, mailhog 
 APPSERVER URLS  https://localhost:50270                  
                 http://localhost:50271                   
                 http://sora.lndo.site/                   
                 https://sora.lndo.site/                  
 THEME URLS      http://theme-sora.lndo.site/             
 PMA URLS        http://localhost:50268                   
                 http://sora-pma.lndo.site/               
 MAILHOG URLS    http://localhost:50272                   
                 http://sora-mail.lndo.site/  

Lando Config:

name: sora
recipe: wordpress
config:
  webroot: .
  php: '8.0'
  composer_version: '2.3.5'
  database: mysql:8.0
services:
  theme:
    type: node:16
  pma:
    type: phpmyadmin
    hosts:
      - database
  mailhog:
    type: mailhog
    hogfrom:
      - appserver
tooling:
  npm:
    service: theme
  node:
    service: theme
proxy:
  appserver:
    - sora.lndo.site
  theme:
    - theme-sora.lndo.site
  mailhog:
    - sora-mail.lndo.site
  pma:
    - sora-pma.lndo.site

Gulp watch tasks will not trigger when editing local files in the watch directory

I am using Lando 3.18.0. I have created a Node (version 18) container in my .lando.yml file and set up some tooling so I can run node, npm, and gulp commands. This all works great and I can do things like "lando npm install" and "lando gulp" to run my default Gulp task and it all works great. The only thing that ISN'T working is if I have any kind of Gulp "watch" task. The task starts and it will say something like "Starting 'watchSass'...", but then it essentially just sits there. If I attempt to edit and save something in the watched directory, the watch task does not trigger and re-compile. If I run the same exact gulp file locally with my local Node and Gulp etc, it works fine, but if I attempt to do it with Lando, the watch task just doesn't want to trigger. Here is my .lando.yml file:

name: boilerplate
recipe: drupal10
config:
  php: "8.1"
  composer_version: "2.3.10"
  webroot: src/web
  database: mariadb:10.5
  drush: 11.4.0
  xdebug: false
env_file:
  - .env
services:
  appserver:
    build:
      - composer -d /app/src install
      - cp -n .lando/assets/settings.local.php src/web/sites/default/settings.local.php
    composer:
      behat/behat: "*"
    overrides:
      environment:
        DRUSH_OPTIONS_URI: "http://boilerplate.lndo.site"
        COMPOSER_PROCESS_TIMEOUT: 1800
  database:
    type: mariadb:10.5
    config:
      database: .lando/db.cnf
  node:
    type: node:18
    globals:
      gulp-cli: latest
    build:
      - cd src/web/themes/custom/uswds_base_subtheme && npm i && gulp updateUswds
tooling:
  behat:
    service: appserver
    description: Behat behavioral testing
  composer:
    service: appserver
    dir: /app/src
  drush:
    cmd: /app/src/vendor/bin/drush
  xdebug-on:
    service: appserver
    description: Enable xdebug for Apache.
    cmd: rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && docker-php-ext-enable xdebug && /etc/init.d/apache2 reload && echo "Xdebug enabled"
    user: root
  xdebug-off:
    service: appserver
    description: Disable xdebug for Apache.
    cmd: rm -f /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini && /etc/init.d/apache2 reload && echo "Xdebug disabled"
    user: root
  npm:
    service: node
  node:
    service: node
  gulp:
    service: node

Node 20 (soon LTS)

Hi guys.

Any plan to support node 20, which becomes LTS on 2023-10-24? ๐Ÿ™

Thanks!

Supported Versions are not up-to-date

(my bad, pressed enter)
The issue is that the base image for node is not the LTS, neither all the versions are available through the plugin. The easiest workaround is to use a compose and use the node image like this:

type: compose
services:
  image: node:16.16.0
  command: tail -f /dev/null

However this causes issues with some of the "basic commands" such as build and run (due to the fact that the node image runs in the WORKDIR directory).
Is possible to add more versions? Can do pr and testing if needed.

Support for Node 18 (LTS)

Hi guys ! Is there any plan to support the Node 18 LTS (released in April 2022) ?
Is there any way to use it already through Lando service override for example ?

Thanks !

ERROR ==> Could not find a service builder called node in the builder registry!

Updated Lando today to v3.21.0-beta.6

โฏ lando rebuild
WARN ==> node is not a supported service type.
ERROR ==> Could not find a service builder called node in the builder registry!

.lando.yml:

name: wpblogmultisite
recipe: wordpress
config:
  php: '8.2'
  webroot: web
  database: mariadb
  xdebug: false

services:
  appserver:
    run:
      - cd $LANDO_MOUNT && composer install
      - cd $LANDO_MOUNT && cp web/.htaccess.example web/.htaccess
      - cd $LANDO_MOUNT && cp .env.example .env
      - cd $LANDO_MOUNT && touch web/app/plugins/.gitkeep && touch web/app/themes/.gitkeep
      - composer global require laravel/envoy
  theme:
    type: node
    services:
      ports:
        - 3000:3000
  mailhog:
    type: mailhog
    hogfrom:
      - appserver

tooling:
  envoy:
    service: appserver
  yarn:
    service: theme
  npm:
    service: theme

proxy:
  mailhog:
    - mailhog.lndo.site

[Help] Setting up Nextjs project

Hi ๐Ÿ‘‹,

First of all, thank you so much for this Amazing tool ๐Ÿ™
I'm new to Lando, was trying to setup a Nextjs project for development.
Couldn't find any docs/blog for configuring Nextjs with Lando.

I did try this config:

name: next-app
services:
  node:
    type: node:18
    ssl: true
    build:
      - npm install
    command: npm run dev

proxy:
  node:
    - next-app.lndo.site:3000

tooling:
  npm:
    service: node
  npx:
    service: node

It does open the app on next-app.lndo.site,
but when I edit some file it doesn't reflect the changes in the app.
Hot Module Reload and manual refresh nothing works.

Only rebuilding, reflects the changes.
Not sure, what I'm missing. ๐Ÿ˜“

Node version 20 is not supported

When I try to start lando Displays an error that version 20 is not supported, despite the fact that the documentation states that version 20 is supported

node/docs/index.md

Lines 20 to 22 in 2efe15e

## Supported versions
* [20](https://hub.docker.com/r/_/node/)

Unhandled rejection Error: node version 20 is not supported
    at new LandoLando (/snapshot/cli/node_modules/@lando/core/plugins/lando-core/builders/_lando.js)
    at new LandoAppserver (/snapshot/cli/node_modules/@lando/core/plugins/lando-core/builders/_appserver.js)
    at new LandoNode (/snapshot/cli/node_modules/@lando/node/services/node/builder.js)
    at /snapshot/cli/node_modules/@lando/core/plugins/lando-services/app.js
    at arrayEach (/snapshot/cli/node_modules/@lando/core/node_modules/lodash/lodash.js)
    at Function.forEach (/snapshot/cli/node_modules/@lando/core/node_modules/lodash/lodash.js)
    at AsyncEvents.<anonymous> (/snapshot/cli/node_modules/@lando/core/plugins/lando-services/app.js)
    at AsyncEvents.handle (/snapshot/cli/node_modules/@lando/core/lib/events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/events.js
From previous event:
    at AsyncEvents.emit (/snapshot/cli/node_modules/@lando/core/lib/events.js)
    at /snapshot/cli/node_modules/@lando/core/lib/app.js
From previous event:
    at App.init (/snapshot/cli/node_modules/@lando/core/lib/app.js)
    at /snapshot/cli/bin/lando.js
    at process.processImmediate (node:internal/timers:471:21)
From previous event:
    at Object.<anonymous> (/snapshot/cli/bin/lando.js)
    at Module._compile (pkg/prelude/bootstrap.js:1926:22)
    at Module._extensions..js (node:internal/modules/cjs/loader:1166:10)
    at Module.load (node:internal/modules/cjs/loader:988:32)
    at Module._load (node:internal/modules/cjs/loader:834:12)
    at Function.runMain (pkg/prelude/bootstrap.js:1979:12)
    at node:internal/main/run_main_module:17:47

My lando config is:

name: catchthatfact
recipe: wordpress
config:
  webroot: wp

env_file:
    - .env


services:
    appserver:
        run:
            - composer install

    node:
        type: node:20
        command: pnpm run -r dev
        run:
            - pnpm install

Node container can't get environment variables

Hi,

I'm creating a dynamic build command on the lando file, so I want to use environment variables for the folders.

name: test
recipe: drupal9
config:
  webroot: src/web
  php: '7.4'
services:
  appserver:
    overrides:
      environment:
        DRUSH_OPTIONS_URI: "http://test.lndo.site"
  node:
    type: node:14
    build:
      - if [ -d $LANDO_WEBROOT/themes/custom/test/node_modules ]; then echo "Deleting node_modules folder" && rm -rf $LANDO_WEBROOT/themes/custom/test/node_modules; fi
      - echo "lando root" $LANDO_WEBROOT
      - echo "Running NPM install" && cd $LANDO_WEBROOT/themes/custom/test && npm install
      - echo "Creating NPM build" && cd $LANDO_WEBROOT/themes/custom/test && npm run gulp js && npm run gulp styles

This is the output of the build of node.

lando root
Running NPM install
/bin/sh: 1: cd: can't cd to /themes/custom/test
ERROR ==> /bin/sh: 1: cd: can't cd to /themes/custom/test 

It seems the node container doesn't have the environment variables set.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.