docksal: npm: command not found

This issue started to happen today, when running on Circle.CI. When running locally, everything works as expected.

Description

NPN command not found

Steps to reproduce the issue:

  1. Run fin bash
  2. Run npm

Describe the results you received:

See error bash: npm: command not found

Describe the results you expected:

NPM command should be executed.

Output of fin config:

fin config output
WARNING: No swap limit support
---------------------
COMPOSE_PROJECT_NAME_SAFE: guwordpress
COMPOSE_FILE:
/home/circleci/.docksal/stacks/volumes-bind.yml
/home/circleci/.docksal/stacks/stack-default.yml
/home/circleci/guwordpress/.docksal/docksal.yml
ENV_FILE:
/home/circleci/guwordpress/.docksal/docksal.env

PROJECT_ROOT: /home/circleci/guwordpress
DOCROOT: docroot
VIRTUAL_HOST: guwordpress.docksal
VIRTUAL_HOST_ALIASES: *.guwordpress.docksal
IP: 192.168.64.100
MYSQL: 192.168.64.100:32768

Docker Compose configuration
---------------------
services:
  browser:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    - 192.168.64.100
    - 8.8.8.8
    hostname: browser
    image: selenium/standalone-chrome
  cli:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    environment:
      BLACKFIRE_CLIENT_ID: null
      BLACKFIRE_CLIENT_TOKEN: null
      DOCROOT: docroot
      HOST_GID: '1002'
      HOST_UID: '1001'
      SECRET_ACAPI_EMAIL: null
      SECRET_ACAPI_KEY: null
      SECRET_SSH_PRIVATE_KEY: null
      SECRET_TERMINUS_TOKEN: null
      VIRTUAL_HOST: guwordpress.docksal
      XDEBUG_CONFIG: remote_connect_back=0 remote_host=192.168.64.1
      XDEBUG_ENABLED: '0'
    hostname: cli
    image: docksal/cli:edge-php7.2
    volumes:
    - docksal_ssh_agent:/.ssh-agent:ro
    - /home/docker
    - project_root:/var/www:rw,nocopy
  db:
    dns:
    - 192.168.64.100
    - 8.8.8.8
    environment:
      MYSQL_DATABASE: default
      MYSQL_PASSWORD: user
      MYSQL_ROOT_PASSWORD: root
      MYSQL_USER: user
    hostname: db
    image: docksal/db:1.1-mysql-5.6
    ports:
    - 0:3306/tcp
    volumes:
    - project_root:/var/www:ro,nocopy
  web:
    depends_on:
      cli:
        condition: service_started
    dns:
    - 192.168.64.100
    - 8.8.8.8
    environment:
      APACHE_BASIC_AUTH_PASS: null
      APACHE_BASIC_AUTH_USER: null
      APACHE_DOCUMENTROOT: /var/www/docroot
    hostname: web
    image: docksal/web:edge-apache2.4
    labels:
      io.docksal.project-root: /home/circleci/guwordpress
      io.docksal.virtual-host: guwordpress.docksal,*.guwordpress.docksal,guwordpress.docksal.*
    volumes:
    - project_root:/var/www:ro,nocopy
version: '2.1'
volumes:
  docksal_ssh_agent:
    external: true
    name: docksal_ssh_agent
  project_root:
    driver: local
    driver_opts:
      device: /home/circleci/guwordpress
      o: bind
      type: none

---------------------

Output of fin sysinfo:

fin sysinfo output
WARNING: No swap limit support
███  OS
Linux Ubuntu 14.04
Linux default-613e5940-f618-4a19-8d5b-a0d4446b46b8 4.4.0-96-generic #119~14.04.1-Ubuntu SMP Wed Sep 13 08:40:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Mode: Linux Kernel

███  FIN
fin version: 1.60.2

███  ENVIRONMENT
DOCKER_HOST		| 
WARNING:  Non-default DOCKER_HOST

███  DOCKER
EXPECTED VERSION: 18.03.1-ce

Client:
Version:      18.03.1-ce
API version:  1.37
Go version:   go1.9.5
Git commit:   9ee9f40
Built:        Thu Apr 26 07:18:46 2018
OS/Arch:      linux/amd64
Experimental: false
Orchestrator: swarm

Server:
Engine:
Version:      18.03.1-ce
API version:  1.37 (minimum version 1.12)
Go version:   go1.9.5
Git commit:   9ee9f40
Built:        Thu Apr 26 07:16:59 2018
OS/Arch:      linux/amd64
Experimental: false

███  DOCKER INFO
Containers: 7
Running: 7
Paused: 0
Stopped: 0
Images: 7
Server Version: 18.03.1-ce
Storage Driver: overlay2
Backing Filesystem: extfs
Supports d_type: true
Native Overlay Diff: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 773c489c9c1b21a6d78b5c538cd395416ec50f88
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: 949e6fa
Security Options:
apparmor
Kernel Version: 4.4.0-96-generic
Operating System: Ubuntu 14.04.5 LTS
OSType: linux
Architecture: x86_64
CPUs: 2
Total Memory: 7.305GiB
Name: default-613e5940-f618-4a19-8d5b-a0d4446b46b8
ID: H4I5:ZTAM:GNQK:AM3G:HF4X:RFAK:U67G:GHDB:L4S3:EBKB:Y7Z2:QPXP
Docker Root Dir: /var/lib/docker
Debug Mode (client): false
Debug Mode (server): false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false

WARNING: No swap limit support
███  DOCKER COMPOSE
EXPECTED VERSION: 1.21.1
docker-compose version 1.21.1, build 5a3f1a3
docker-py version: 3.3.0
CPython version: 3.6.5
OpenSSL version: OpenSSL 1.0.1t  3 May 2016
WARNING: No swap limit support

███  DOCKER: IMAGES
REPOSITORY                   TAG                 IMAGE ID            CREATED             SIZE
docksal/cli                  edge-php7.2         ab83fe201d04        2 days ago          850MB
selenium/standalone-chrome   latest              251941c07ece        6 days ago          878MB
docksal/vhost-proxy          1.2                 a1c980537985        4 months ago        166MB
docksal/web                  edge-apache2.4      1b939e80c6f3        10 months ago       87.5MB
docksal/db                   1.1-mysql-5.6       6feb79af9597        11 months ago       298MB
docksal/dns                  1.0                 20c7a535479d        18 months ago       61.6MB
docksal/ssh-agent            1.0                 148220cc033d        18 months ago       12.2MB

███  DOCKER: CONTAINERS
CONTAINER ID        IMAGE                        COMMAND                  CREATED             STATUS                    PORTS                                      NAMES
f931d1dc293c        docksal/web:edge-apache2.4   "httpd-foreground"       17 minutes ago      Up 17 minutes             80/tcp, 443/tcp                            guwordpress_web_1
9babc8c6f141        docksal/cli:edge-php7.2      "/opt/startup.sh sup…"   17 minutes ago      Up 17 minutes (healthy)   22/tcp, 3000/tcp, 9000/tcp                 guwordpress_cli_1
f5f249e0bac6        docksal/db:1.1-mysql-5.6     "/entrypoint.sh mysq…"   17 minutes ago      Up 17 minutes             0.0.0.0:32768->3306/tcp                    guwordpress_db_1
69bf11219a78        selenium/standalone-chrome   "/opt/bin/entry_poin…"   17 minutes ago      Up 17 minutes             4444/tcp                                   guwordpress_browser_1
3311d6e287c0        docksal/ssh-agent:1.0        "/run.sh ssh-agent"      20 minutes ago      Up 20 minutes                                                        docksal-ssh-agent
db2fa7498b57        docksal/dns:1.0              "/opt/entrypoint.sh …"   20 minutes ago      Up 20 minutes             192.168.64.100:53->53/udp                  docksal-dns
343725c191f3        docksal/vhost-proxy:1.2      "docker-entrypoint.s…"   20 minutes ago      Up 20 minutes             0.0.0.0:80->80/tcp, 0.0.0.0:443->443/tcp   docksal-vhost-proxy

███  HDD Usage
Filesystem      Size  Used Avail Use% Mounted on
udev            3.7G  4.0K  3.7G   1% /dev
tmpfs           748M  456K  748M   1% /run
/dev/sda1        99G  8.0G   87G   9% /
none            4.0K     0  4.0K   0% /sys/fs/cgroup
none            5.0M     0  5.0M   0% /run/lock
none            3.7G     0  3.7G   0% /run/shm
none            100M     0  100M   0% /run/user

███  RAM Usage
           total       used       free     shared    buffers     cached
Mem:       7659332    5126276    2533056       3228     165004    3716196
-/+ buffers/cache:    1245076    6414256
Swap:            0          0          0

███  RAM Usage per container
CONTAINER ID        NAME                    CPU %               MEM USAGE / LIMIT     MEM %               NET I/O             BLOCK I/O           PIDS
f931d1dc293c        guwordpress_web_1       0.07%               2.426MiB / 7.305GiB   0.03%               830B / 0B           0B / 0B             82
9babc8c6f141        guwordpress_cli_1       0.02%               27.02MiB / 7.305GiB   0.36%               56.2MB / 464kB      0B / 17.6MB         6
f5f249e0bac6        guwordpress_db_1        0.04%               482.6MiB / 7.305GiB   6.45%               1.34kB / 0B         0B / 223MB          21
69bf11219a78        guwordpress_browser_1   0.06%               63.38MiB / 7.305GiB   0.85%               1.25kB / 0B         0B / 0B             25
3311d6e287c0        docksal-ssh-agent       0.00%               656KiB / 7.305GiB     0.01%               802B / 0B           0B / 0B             2
db2fa7498b57        docksal-dns             0.16%               15.59MiB / 7.305GiB   0.21%               86.5kB / 116kB      0B / 0B             10
343725c191f3        docksal-vhost-proxy     0.11%               18.13MiB / 7.305GiB   0.24%               3.44kB / 0B         0B / 8.19kB         12

Installation log

Installation log
Build-agent version 0.0.7400-c4f46116 (2018-07-12T18:30:48+0000)
Creating a dedicated VM with default image

Assigned VM request id: 18884566
provisioning: ...VM 'default-613e5940-f618-4a19-8d5b-a0d4446b46b8' has been created
Initializing agent


Using build environment variables:
BASH_ENV=/tmp/.bash_env-5b4cbdb1d74000001370d183-0-build
CI=true
CIRCLECI=true
CIRCLE_BRANCH=18or-js
CIRCLE_BUILD_NUM=1123
CIRCLE_BUILD_URL=https://circleci.com/gh/georgetown-university/guwordpress/1123
CIRCLE_COMPARE_URL=https://github.com/georgetown-university/guwordpress/compare/18or-js
CIRCLE_JOB=build
CIRCLE_NODE_INDEX=0
CIRCLE_NODE_TOTAL=1
CIRCLE_PREVIOUS_BUILD_NUM=1115
CIRCLE_PROJECT_REPONAME=guwordpress
CIRCLE_PROJECT_USERNAME=georgetown-university
CIRCLE_REPOSITORY_URL=git@github.com:georgetown-university/guwordpress.git
CIRCLE_SHA1=01293f4eb5099399a0daeee3a3d061b92e90959b
CIRCLE_SHELL_ENV=/tmp/.bash_env-5b4cbdb1d74000001370d183-0-build
CIRCLE_STAGE=build
CIRCLE_USERNAME=dealancer
CIRCLE_WORKING_DIRECTORY=~/guwordpress

-----------------------------

#!/bin/bash -eo pipefail
fin rebuild-code-site
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
WARNING: No swap limit support
tput: No value for $TERM and no -T specified
tput: No value for $TERM and no -T specified
WARNING: No swap limit support
^@^@Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. Run update to update them.
  1/60:	https://codeload.github.com/Ocramius/PackageVersions/legacy.zip/ad8a245decad4897cc6b432743913dad0d69753c
  2/60:	https://codeload.github.com/tkotosz/behat-extension-driver-locator/legacy.zip/af9fb11f5f3cc220ee2c08071ee9d50f11048b86
  3/60:	https://codeload.github.com/zendframework/zend-eventmanager/legacy.zip/a5e2583a211f73604691586b8406ff7296a946dd
  4/60:	https://codeload.github.com/elvetemedve/behat-screenshot/legacy.zip/04c63883147415e55dce85fc0bdd03383f906f59
  5/60:	https://codeload.github.com/container-interop/container-interop/legacy.zip/79cbf1341c22ec75643d841642dd5d6acd83bdb8
  6/60:	https://codeload.github.com/sensiolabs/BehatPageObjectExtension/legacy.zip/bd2a34221ba65ea8c86d8e693992d718de03dbae
  7/60:	https://codeload.github.com/Behat/MinkExtension/legacy.zip/80f7849ba53867181b7e412df9210e12fba50177
  8/60:	https://codeload.github.com/zendframework/zend-code/legacy.zip/2899c17f83a7207f2d7f53ec2f421204d3beea27
  9/60:	https://codeload.github.com/php-fig/container/legacy.zip/b7ce3b176482dbbc1245ebf52b181af44c2cf55f
  10/60:	https://codeload.github.com/symfony/event-dispatcher/legacy.zip/2391ed210a239868e7256eb6921b1bd83f3087b5
  11/60:	https://codeload.github.com/paulgibbs/behat-wordpress-extension/legacy.zip/2e9b91ed581914ff7106b6b3243b2ff1f8593f4d
  12/60:	https://codeload.github.com/Ocramius/ProxyManager/legacy.zip/a55d08229f4f614bf335759ed0cf63378feeb2e6
  13/60:	https://codeload.github.com/symfony/class-loader/legacy.zip/e63c12699822bb3b667e7216ba07fbcc3a3e203e
  14/60:	https://codeload.github.com/symfony/config/legacy.zip/5ceefc256caecc3e25147c4e5b933de71d0020c4
  15/60:	https://codeload.github.com/Behat/Behat/legacy.zip/d60b161bff1b95ec4bb80bb8cb210ccf890314c2
  16/60:	https://codeload.github.com/symfony/filesystem/legacy.zip/562bf7005b55fd80d26b582d28e3e10f2dd5ae9c
  17/60:	https://codeload.github.com/symfony/finder/legacy.zip/087e2ee0d74464a4c6baac4e90417db7477dc238
  18/60:	https://codeload.github.com/symfony/dependency-injection/legacy.zip/f2a3f0dc640a28b8aedd51b47ad6e6c5cebb3c00
  19/60:	https://codeload.github.com/Behat/Transliterator/legacy.zip/826ce7e9c2a6664c0d1f381cbb38b1fb80a7ee2c
  20/60:	https://codeload.github.com/symfony/translation/legacy.zip/16328f5b217cebc8dd4adfe4aeeaa8c377581f5a
  21/60:	https://codeload.github.com/symfony/console/legacy.zip/2d5d973bf9933d46802b01010bd25c800c87c242
  22/60:	https://codeload.github.com/instaclick/php-webdriver/legacy.zip/6fa959452e774dcaed543faad3a9d1a37d803327
  23/60:	https://codeload.github.com/minkphp/MinkSelenium2Driver/legacy.zip/473a9f3ebe0c134ee1e623ce8a9c852832020288
  24/60:	https://codeload.github.com/symfony/yaml/legacy.zip/80e4bfa9685fc4a09acc4a857ec16974a9cd944e
  25/60:	https://codeload.github.com/guzzle/guzzle/legacy.zip/407b0cb880ace85c9b63c5f9551db498cb2d50ba
  26/60:	https://codeload.github.com/guzzle/promises/legacy.zip/a59da6cf61d80060647ff4d3eb2c03a2bc694646
  27/60:	https://codeload.github.com/guzzle/psr7/legacy.zip/f5b8a8512e2b58b0071a7280e39f14f72e05d87c
  28/60:	https://codeload.github.com/minkphp/MinkGoutteDriver/legacy.zip/8b9ad6d2d95bc70b840d15323365f52fcdaea6ca
  29/60:	https://codeload.github.com/minkphp/Mink/legacy.zip/e6930b9c74693dff7f4e58577e1b1743399f3ff9
  30/60:	https://codeload.github.com/symfony/polyfill-ctype/legacy.zip/7cc359f1b7b80fc25ed7796be7d96adc9b354bae
  31/60:	https://codeload.github.com/minkphp/MinkBrowserKitDriver/legacy.zip/1b9a7ce903cfdaaec5fb32bfdbb26118343662eb
  32/60:	https://codeload.github.com/FriendsOfPHP/Goutte/legacy.zip/395f61d7c2e15a813839769553a4de16fa3b3c96
  33/60:	https://codeload.github.com/php-fig/http-message/legacy.zip/f6561bf28d520154e4b0ec72be95418abe6d9363
  34/60:	https://codeload.github.com/symfony/browser-kit/legacy.zip/16355a5d0f1499c77efee5ff68d8ea61624d4da1
  35/60:	https://codeload.github.com/symfony/css-selector/legacy.zip/d2ce52290b648ae33b5301d09bc14ee378612914
  36/60:	https://codeload.github.com/symfony/dom-crawler/legacy.zip/3350cacf151b48d903114ab8f7a4ccb23e07e10a
  37/60:	https://codeload.github.com/Behat/Gherkin/legacy.zip/74ac03d52c5e23ad8abd5c5cce4ab0e8dc1b530a
  38/60:	https://downloads.wordpress.org/plugin/wp-redis.0.7.0.zip
  39/60:	https://downloads.wordpress.org/plugin/pantheon-hud.0.1.2.zip
  40/60:	https://downloads.wordpress.org/plugin/wp-native-php-sessions.0.6.9.zip
  41/60:	https://downloads.wordpress.org/plugin/wp-cfm.zip
  42/60:	https://downloads.wordpress.org/plugin/tinymce-advanced.4.7.11.zip
  43/60:	https://downloads.wordpress.org/plugin/restricted-site-access.6.2.1.zip
  44/60:	https://downloads.wordpress.org/plugin/pantheon-advanced-page-cache.0.3.0.zip
  45/60:	https://downloads.wordpress.org/plugin/wp-saml-auth.0.3.9.zip
  46/60:	https://downloads.wordpress.org/plugin/duracelltomi-google-tag-manager.1.8.1.zip
  47/60:	https://downloads.wordpress.org/plugin/meta-box.4.19.10.zip
  48/60:	https://downloads.wordpress.org/plugin/wp-all-import.3.4.9.zip
  49/60:	https://downloads.wordpress.org/plugin/absolute-relative-urls.1.5.6.zip
  50/60:	https://codeload.github.com/symfony/polyfill-mbstring/legacy.zip/3296adf6a6454a050679cde90f95350ad604b171
  51/60:	https://downloads.wordpress.org/plugin/feedzy-rss-feeds.3.2.10.zip
  52/60:	https://downloads.wordpress.org/plugin/members.2.1.0.zip
  53/60:	https://codeload.github.com/composer/installers/legacy.zip/049797d727261bf27f2690430d935067710049c2
  54/60:	https://downloads.wordpress.org/plugin/gutenberg.3.0.1.zip
  55/60:	https://downloads.wordpress.org/plugin/wordpress-seo.7.6.1.zip
  56/60:	https://downloads.wordpress.org/plugin/better-wp-security.6.9.2.zip
  57/60:	https://codeload.github.com/johnpbloch/wordpress-core-installer/legacy.zip/a04c2c383ef13aae077f36799ed2eafdebd618d2
  58/60:	https://codeload.github.com/twigphp/Twig/legacy.zip/7b604c89da162034bdf4bb66310f358d313dd16d
  59/60:	https://codeload.github.com/cweagans/composer-patches/legacy.zip/2ec4f00ff5fb64de584c8c4aea53bf9053ecb0b3
  60/60:	https://github.com/pantheon-systems/WordPress/archive/4.9.7.zip
  Finished: success: 60, skipped: 0, failure: 0, total: 60
Package operations: 60 installs, 0 updates, 0 removals
- Installing cweagans/composer-patches (1.6.5): Loading from cache
Gathering patches for root package.
Gathering patches for dependencies. This might take a minute.
- Installing johnpbloch/wordpress-core-installer (0.2.1): Loading from cache
- Installing composer/installers (v1.5.0): Loading from cache
- Installing ocramius/package-versions (1.2.0): Loading from cache
- Installing pantheon-systems/wordpress (4.9.7): Downloading (connecting...)Downloading (0%)           Downloading (5%)Downloading (10%)Downloading (15%)Downloading (20%)Downloading (25%)Downloading (30%)Downloading (35%)Downloading (40%)Downloading (45%)Downloading (50%)Downloading (55%)Downloading (60%)Downloading (65%)Downloading (70%)Downloading (75%)Downloading (80%)Downloading (85%)Downloading (90%)Downloading (95%)Downloading (100%)
- Applying patches for pantheon-systems/wordpress
  .composer/patches/video-patch-for40245updated.patch (Youtube embeds lack title attribute)

- Installing symfony/polyfill-mbstring (v1.8.0): Loading from cache
- Installing twig/twig (v2.4.8): Loading from cache
- Installing wpackagist-plugin/absolute-relative-urls (1.5.6): Loading from cache
- Installing wpackagist-plugin/better-wp-security (6.9.2): Loading from cache
- Installing wpackagist-plugin/duracelltomi-google-tag-manager (1.8.1): Loading from cache
- Installing wpackagist-plugin/feedzy-rss-feeds (3.2.10): Loading from cache
- Installing wpackagist-plugin/gutenberg (3.0.1): Loading from cache
- Installing wpackagist-plugin/members (2.1.0): Loading from cache
- Installing wpackagist-plugin/meta-box (4.19.10): Loading from cache
- Installing wpackagist-plugin/pantheon-advanced-page-cache (0.3.0): Loading from cache
- Installing wpackagist-plugin/pantheon-hud (0.1.2): Loading from cache
- Installing wpackagist-plugin/restricted-site-access (6.2.1): Loading from cache
- Installing wpackagist-plugin/tinymce-advanced (4.7.11): Loading from cache
- Installing wpackagist-plugin/wordpress-seo (7.6.1): Loading from cache
- Installing wpackagist-plugin/wp-all-import (3.4.9): Loading from cache
- Installing wpackagist-plugin/wp-cfm (1.4.5): Loading from cache
- Installing wpackagist-plugin/wp-native-php-sessions (0.6.9): Loading from cache
- Installing wpackagist-plugin/wp-redis (0.7.0): Loading from cache
- Installing wpackagist-plugin/wp-saml-auth (0.3.9): Loading from cache
- Installing behat/gherkin (v4.5.1): Loading from cache
- Installing symfony/polyfill-ctype (v1.8.0): Loading from cache
- Installing symfony/dom-crawler (v4.1.0): Loading from cache
- Installing symfony/css-selector (v3.4.11): Loading from cache
- Installing symfony/browser-kit (v4.1.0): Loading from cache
- Installing psr/http-message (1.0.1): Loading from cache
- Installing guzzlehttp/psr7 (1.4.2): Loading from cache
- Installing guzzlehttp/promises (v1.3.1): Loading from cache
- Installing guzzlehttp/guzzle (6.3.3): Loading from cache
- Installing fabpot/goutte (v3.2.2): Loading from cache
- Installing behat/mink (v1.7.1): Loading from cache
- Installing behat/mink-browserkit-driver (1.3.3): Loading from cache
- Installing behat/mink-goutte-driver (v1.2.1): Loading from cache
- Installing instaclick/php-webdriver (1.4.5): Loading from cache
- Installing behat/mink-selenium2-driver (v1.3.1): Loading from cache
- Installing behat/transliterator (v1.2.0): Loading from cache
- Installing symfony/finder (v4.1.0): Loading from cache
- Installing symfony/filesystem (v4.1.0): Loading from cache
- Installing symfony/yaml (v4.1.0): Loading from cache
- Installing symfony/translation (v4.1.0): Loading from cache
- Installing symfony/event-dispatcher (v4.1.0): Loading from cache
- Installing psr/container (1.0.0): Loading from cache
- Installing symfony/dependency-injection (v4.1.0): Loading from cache
- Installing symfony/console (v4.1.0): Loading from cache
- Installing symfony/config (v4.1.0): Loading from cache
- Installing symfony/class-loader (v3.4.11): Loading from cache
- Installing container-interop/container-interop (1.2.0): Loading from cache
- Installing behat/behat (v3.4.3): Loading from cache
- Installing bex/behat-extension-driver-locator (1.0.2): Loading from cache
- Installing behat/mink-extension (2.3.1): Loading from cache
- Installing bex/behat-screenshot (1.2.7): Loading from cache
- Installing zendframework/zend-eventmanager (3.2.1): Loading from cache
- Installing zendframework/zend-code (3.1.0): Loading from cache
- Installing ocramius/proxy-manager (2.0.4): Loading from cache
- Installing sensiolabs/behat-page-object-extension (v2.1.0): Loading from cache
- Installing paulgibbs/behat-wordpress-extension (v1.2.0): Loading from cache
symfony/browser-kit suggests installing symfony/process ()
guzzlehttp/guzzle suggests installing psr/log (Required for using the Log middleware)
behat/mink suggests installing behat/mink-zombie-driver (fast and JS-enabled headless driver for any app (requires node.js))
symfony/translation suggests installing psr/log-implementation (To use logging capability in translator)
symfony/event-dispatcher suggests installing symfony/http-kernel ()
symfony/dependency-injection suggests installing symfony/expression-language (For using expressions in service container configuration)
symfony/dependency-injection suggests installing symfony/proxy-manager-bridge (Generate service proxies to lazy load them)
symfony/console suggests installing psr/log-implementation (For using the console logger)
symfony/console suggests installing symfony/lock ()
symfony/console suggests installing symfony/process ()
symfony/class-loader suggests installing symfony/polyfill-apcu (For using ApcClassLoader on HHVM)
behat/behat suggests installing behat/symfony2-extension (for integration with Symfony2 web framework)
behat/behat suggests installing behat/yii-extension (for integration with Yii web framework)
bex/behat-screenshot suggests installing bex/behat-screenshot-image-driver-img42 (Allows to upload the screenshot to img42.com)
bex/behat-screenshot suggests installing bex/behat-screenshot-image-driver-unsee (Allows to upload the screenshot to unsee.cc)
bex/behat-screenshot suggests installing bex/behat-screenshot-image-driver-uploadpie (Allows to upload the screenshot to uploadpie.com)
zendframework/zend-eventmanager suggests installing zendframework/zend-stdlib (^2.7.3 || ^3.0, to use the FilterChain feature)
zendframework/zend-code suggests installing doctrine/annotations (Doctrine\Common\Annotations >=1.0 for annotation features)
zendframework/zend-code suggests installing zendframework/zend-stdlib (Zend\Stdlib component)
ocramius/proxy-manager suggests installing ocramius/generated-hydrator (To have very fast object to array to object conversion for ghost objects)
ocramius/proxy-manager suggests installing zendframework/zend-json (To have the JsonRpc adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-soap (To have the Soap adapter (Remote Object feature))
ocramius/proxy-manager suggests installing zendframework/zend-xmlrpc (To have the XmlRpc adapter (Remote Object feature))
sensiolabs/behat-page-object-extension suggests installing bossa/phpspec2-expect (Allows to use PHPSpec2 matchers in Behat context files)
Generating autoload files
ocramius/package-versions:  Generating version class...
ocramius/package-versions: ...done generating version class
> ./.composer/scripts/install-buldog.sh
Cloning into 'assets'...
error: pathspec '18or-js' did not match any file(s) known to git.
> ./.composer/scripts/install-dependencies.sh
Loading composer repositories with package information
Installing dependencies from lock file
  1/9:	https://codeload.github.com/php-fig/log/legacy.zip/4ebe3a8bf773a19edfe0a84b6585ba3d401b724d
  2/9:	https://codeload.github.com/whitehat101/apr1-md5/legacy.zip/8b261c9fc0481b4e9fa9d01c6ca70867b5d5e819
  3/9:	https://codeload.github.com/jaimeperez/twig-configurable-i18n/legacy.zip/75d4926fd102c9e62219ad7f94a6136d2f2ccd93
  4/9:	https://codeload.github.com/mlocati/cldr-to-gettext-plural-rules/legacy.zip/49c39e51569963cc917a924b489e7025bfb9d8c7
  5/9:	https://codeload.github.com/robrichards/xmlseclibs/legacy.zip/d937712f70f93a584eb0299ccd87dc6374003781
  6/9:	https://codeload.github.com/oscarotero/Gettext/legacy.zip/cd3be64443551e3a693117c4bccbe53e36282456
  7/9:	https://codeload.github.com/twigphp/Twig-extensions/legacy.zip/d188c76168b853481cc75879ea045bf93d718e9c
  8/9:	https://codeload.github.com/simplesamlphp/saml2/legacy.zip/bdafe52d52adb32c926c12c5139401546b4dc57b
  9/9:	https://codeload.github.com/twigphp/Twig/legacy.zip/f878bab48edb66ad9c6ed626bf817f60c6c096ee
  Finished: success: 9, skipped: 0, failure: 0, total: 9
Package operations: 9 installs, 0 updates, 0 removals
- Installing gettext/languages (2.3.0): Loading from cache
- Installing gettext/gettext (v3.6.1): Loading from cache
- Installing twig/twig (v1.34.4): Loading from cache
- Installing twig/extensions (v1.5.1): Loading from cache
- Installing jaimeperez/twig-configurable-i18n (v1.2): Loading from cache
- Installing robrichards/xmlseclibs (3.0.1): Loading from cache
- Installing psr/log (1.0.2): Loading from cache
- Installing simplesamlphp/saml2 (v3.0.3): Loading from cache
- Installing whitehat101/apr1-md5 (v1.0.0): Loading from cache
Generating autoload files
Fetching gem metadata from https://rubygems.org/............
Fetching gem metadata from https://rubygems.org/.
Resolving dependencies...
Using bundler 1.16.2
Fetching chunky_png 1.3.10
Installing chunky_png 1.3.10
Fetching multi_json 1.13.1
Installing multi_json 1.13.1
Fetching sass 3.4.25
Installing sass 3.4.25
Fetching compass-core 1.0.3
Installing compass-core 1.0.3
Fetching compass-import-once 1.0.5
Installing compass-import-once 1.0.5
Fetching rb-fsevent 0.10.3
Installing rb-fsevent 0.10.3
Fetching ffi 1.9.25
Installing ffi 1.9.25 with native extensions
Fetching rb-inotify 0.9.10
Installing rb-inotify 0.9.10
Fetching compass 1.0.3
Installing compass 1.0.3
Bundle complete! 1 Gemfile dependency, 10 gems now installed.
Bundled gems are installed into `./.bundler`
Post-install message from compass:
  Compass is charityware. If you love it, please donate on our behalf at http://umdf.org/compass Thanks!
/var/www/.docksal/commands/rebuild-code-site-cli: line 24: npm: command not found
Exited with code 127

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 28 (13 by maintainers)

Most upvoted comments

@lmakarov

Finally, I came up to this solution to use npm version that I need:

#!/usr/bin/env bash

#: exec_target = cli

## Install specific version of NPM
##
## Usage: fin install-npm-cli

# Abort if anything fails
set -e

echo "Installing NPM..."
source ~/.profile
nvm install 10.7.0
nvm use 10.7.0

Also using 2.2 version of cli.

@lmakarov running source ~/.profile inside fin bash worked.