Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

binder fails atm with yarn beeing missing #5

Open
DerThorsten opened this issue Mar 8, 2023 · 0 comments
Open

binder fails atm with yarn beeing missing #5

DerThorsten opened this issue Mar 8, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@DerThorsten
Copy link
Collaborator

Waiting for build to start...
Picked Git content provider.
Cloning into '/tmp/repo2docker8l9_p39d'...
HEAD is now at 7454ae4 Merge pull request #4 from jupyterlab-contrib/update-readme
Building conda environment for python=3.7
Using PythonBuildPack builder
Building conda environment for python=3.7
Building conda environment for python=3.7
Step 1/49 : FROM buildpack-deps:bionic
 ---> 2d0dfd868824
Step 2/49 : ENV DEBIAN_FRONTEND=noninteractive
 ---> Using cache
 ---> 17a023da5c9a
Step 3/49 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends locales > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> ae324e4b7ecb
Step 4/49 : RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen &&     locale-gen
 ---> Using cache
 ---> 603b74d7e50e
Step 5/49 : ENV LC_ALL=en_US.UTF-8     LANG=en_US.UTF-8     LANGUAGE=en_US.UTF-8
 ---> Using cache
 ---> 80e3d3f9eca4
Step 6/49 : ENV SHELL=/bin/bash
 ---> Using cache
 ---> 3d7d03b23d52
Step 7/49 : ARG NB_USER
 ---> Using cache
 ---> 0c8565f10176
Step 8/49 : ARG NB_UID
 ---> Using cache
 ---> fcb4eeb1b52d
Step 9/49 : ENV USER=${NB_USER}     HOME=/home/${NB_USER}
 ---> Using cache
 ---> b743e1e6ac6e
Step 10/49 : RUN groupadd         --gid ${NB_UID}         ${NB_USER} &&     useradd         --comment "Default user"         --create-home         --gid ${NB_UID}         --no-log-init         --shell /bin/bash         --uid ${NB_UID}         ${NB_USER}
 ---> Using cache
 ---> e87628de5b22
Step 11/49 : RUN apt-get -qq update &&     apt-get -qq install --yes --no-install-recommends        less        unzip        > /dev/null &&     apt-get -qq purge &&     apt-get -qq clean &&     rm -rf /var/lib/apt/lists/*
 ---> Using cache
 ---> 004f338d4f68
Step 12/49 : EXPOSE 8888
 ---> Using cache
 ---> 1d8472b5958a
Step 13/49 : ENV APP_BASE=/srv
 ---> Using cache
 ---> 7a621cb2877f
Step 14/49 : ENV CONDA_DIR=${APP_BASE}/conda
 ---> Using cache
 ---> 475a7f18f302
Step 15/49 : ENV NB_PYTHON_PREFIX=${CONDA_DIR}/envs/notebook
 ---> Using cache
 ---> 4fd489f653cb
Step 16/49 : ENV NPM_DIR=${APP_BASE}/npm
 ---> Using cache
 ---> 54b64ca7a5e9
Step 17/49 : ENV NPM_CONFIG_GLOBALCONFIG=${NPM_DIR}/npmrc
 ---> Using cache
 ---> 4ba4e22bf7be
Step 18/49 : ENV NB_ENVIRONMENT_FILE=/tmp/env/environment.lock
 ---> Using cache
 ---> a7633fc050b3
Step 19/49 : ENV MAMBA_ROOT_PREFIX=${CONDA_DIR}
 ---> Using cache
 ---> aaa428a9fdcc
Step 20/49 : ENV MAMBA_EXE=${CONDA_DIR}/bin/mamba
 ---> Using cache
 ---> eef1894ca6a4
Step 21/49 : ENV CONDA_PLATFORM=linux-64
 ---> Using cache
 ---> e7c1f52bde95
Step 22/49 : ENV KERNEL_PYTHON_PREFIX=${NB_PYTHON_PREFIX}
 ---> Using cache
 ---> 959ac98579e9
Step 23/49 : ENV PATH=${NB_PYTHON_PREFIX}/bin:${CONDA_DIR}/bin:${NPM_DIR}/bin:${PATH}
 ---> Using cache
 ---> 57c195dd920c
Step 24/49 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e10-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2factivate-2dconda-2esh-44e764 /etc/profile.d/activate-conda.sh
 ---> Using cache
 ---> 6a5614b16dae
Step 25/49 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e10-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2fenvironment-2epy-2d3-2e7-2dlinux-2d64-2elock-27f2b2 /tmp/env/environment.lock
 ---> Using cache
 ---> e17c86d1f833
Step 26/49 : COPY --chown=1000:1000 build_script_files/-2fusr-2flib-2fpython3-2e10-2fsite-2dpackages-2frepo2docker-2fbuildpacks-2fconda-2finstall-2dbase-2denv-2ebash-e5509f /tmp/install-base-env.bash
 ---> Using cache
 ---> d3bae2400e46
Step 27/49 : RUN TIMEFORMAT='time: %3R' bash -c 'time /tmp/install-base-env.bash' && rm -rf /tmp/install-base-env.bash /tmp/env
 ---> Using cache
 ---> b0ee9b47c4ec
Step 28/49 : RUN mkdir -p ${NPM_DIR} && chown -R ${NB_USER}:${NB_USER} ${NPM_DIR}
 ---> Using cache
 ---> bf54f09c0135
Step 29/49 : USER root
 ---> Using cache
 ---> 04c3f1b35bd6
Step 30/49 : ARG REPO_DIR=${HOME}
 ---> Using cache
 ---> af3a98af6a5a
Step 31/49 : ENV REPO_DIR=${REPO_DIR}
 ---> Using cache
 ---> 7f6b0ff5b46c
Step 32/49 : RUN if [ ! -d "${REPO_DIR}" ]; then         /usr/bin/install -o ${NB_USER} -g ${NB_USER} -d "${REPO_DIR}";     fi
 ---> Using cache
 ---> 8a06ea6fbc2c
Step 33/49 : WORKDIR ${REPO_DIR}
 ---> Using cache
 ---> 609906fd69af
Step 34/49 : RUN chown ${NB_USER}:${NB_USER} ${REPO_DIR}
 ---> Using cache
 ---> 4db3067356b5
Step 35/49 : ENV PATH=${HOME}/.local/bin:${REPO_DIR}/.local/bin:${PATH}
 ---> Using cache
 ---> c3016063be2c
Step 36/49 : ENV CONDA_DEFAULT_ENV=${KERNEL_PYTHON_PREFIX}
 ---> Using cache
 ---> 481a3d05372b
Step 37/49 : USER root
 ---> Using cache
 ---> 84267b72d7e7
Step 38/49 : COPY --chown=1000:1000 src/ ${REPO_DIR}/
 ---> 5754130a3050
Step 39/49 : USER ${NB_USER}
 ---> Running in 902a718208c5
Removing intermediate container 902a718208c5
 ---> 18cb83b92488
Step 40/49 : RUN ${KERNEL_PYTHON_PREFIX}/bin/pip install --no-cache-dir .
 ---> Running in 536721fa0c38
Processing /home/jovyan
  Installing build dependencies: started
  Installing build dependencies: finished with status 'done'
  Getting requirements to build wheel: started
  Getting requirements to build wheel: finished with status 'done'
  Installing backend dependencies: started
  Installing backend dependencies: finished with status 'done'
  Preparing metadata (pyproject.toml): started
  Preparing metadata (pyproject.toml): finished with status 'error'
  error: subprocess-exited-with-error
  
  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [53 lines of output]
      INFO:hatch_jupyter_builder.utils:Running jupyter-builder
      INFO:hatch_jupyter_builder.utils:Building with hatch_jupyter_builder.npm_builder
      INFO:hatch_jupyter_builder.utils:With kwargs: {'path': '.', 'build_cmd': 'build:prod'}
      INFO:hatch_jupyter_builder.utils:Installing build dependencies with npm.  This may take a while...
      INFO:hatch_jupyter_builder.utils:> /srv/conda/envs/notebook/bin/npm install
      npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
      npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
      npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
      npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
      npm WARN deprecated @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
      npm WARN deprecated [email protected]: Use your platform's native performance.now() and performance.timeOrigin.
      npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added
      npm WARN deprecated [email protected]: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.
      
      added 1108 packages, and audited 1109 packages in 48s
      
      123 packages are looking for funding
        run `npm fund` for details
      
      found 0 vulnerabilities
      npm notice
      npm notice New major version of npm available! 8.19.2 -> 9.6.0
      npm notice Changelog: <https://github.com/npm/cli/releases/tag/v9.6.0>
      npm notice Run `npm install -g [email protected]` to update!
      npm notice
      INFO:hatch_jupyter_builder.utils:> /srv/conda/envs/notebook/bin/npm run build:prod
      
      > [email protected] build:prod
      > yarn run build:lib && yarn run build:nbextension && yarn run build:labextension
      
      sh: 1: yarn: not found
      Traceback (most recent call last):
@DerThorsten DerThorsten added the bug Something isn't working label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant