summary refs log tree commit diff
diff options
context:
space:
mode:
authorWinter <winter@winter.cafe>2022-11-09 22:39:32 -0500
committerWinter <winter@winter.cafe>2022-11-21 15:00:08 -0500
commit8e651111b77e590a933d525563daa2a3e14bb0e2 (patch)
treea9e0a873e703ffa9830ce60d754c0cc43b9b3add
parentc6903a01e71f77ecd2000397d081ce1447fe0615 (diff)
npmHooks.npmBuildHook: mention dontNpmBuild if script fails to run
-rw-r--r--pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh b/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh
index b99c9d94faffc..7f601512c7e7b 100644
--- a/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh
+++ b/pkgs/build-support/node/build-npm-package/hooks/npm-build-hook.sh
@@ -20,6 +20,7 @@ npmBuildHook() {
         echo
         echo "Here are a few things you can try, depending on the error:"
         echo "1. Make sure your build script ($npmBuildScript) exists"
+        echo "  If there is none, set `dontNpmBuild = true`."
         echo '2. If the error being thrown is something similar to "error:0308010C:digital envelope routines::unsupported", add `NODE_OPTIONS = "--openssl-legacy-provider"` to your derivation'
         echo "  See https://github.com/webpack/webpack/issues/14532 for more information."
         echo