Commit 84477691 authored by Sandro Jäckel's avatar Sandro Jäckel Committed by Winter
Browse files

fetchNpmDeps: allow package-json.lock symlinks, update hint

parent d04740c3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -140,14 +140,14 @@
      buildPhase = ''
        runHook preBuild

        if [[ ! -f package-lock.json ]]; then
        if [[ ! -e package-lock.json ]]; then
          echo
          echo "ERROR: The package-lock.json file does not exist!"
          echo
          echo "package-lock.json is required to make sure that npmDepsHash doesn't change"
          echo "when packages are updated on npm."
          echo
          echo "Hint: You can use the patches attribute to add a package-lock.json manually to the build."
          echo "Hint: You can copy a vendored package-lock.json file via postPatch."
          echo

          exit 1