mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-20 02:55:39 +00:00
npmHooks.npmBuildHook: mention dontNpmBuild if script fails to run
This commit is contained in:
parent
c6903a01e7
commit
8e651111b7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user