summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAntonio Maranhao <amaranha@Antonios-MacBook-Pro-2.local>2020-11-02 14:02:39 -0500
committerAntonio Maranhao <amaranha@Antonios-MacBook-Pro-2.local>2020-11-02 14:03:02 -0500
commitf85cff669f20cee0a54da7bb8c645dfc4d2de5c9 (patch)
tree7718256ad9a5795c5b93d46b87a5b64426604ef5
parent4d8b69acba544a9885bdf8fe68dd13f58cc215cc (diff)
downloadcouchdb-f85cff669f20cee0a54da7bb8c645dfc4d2de5c9.tar.gz
Remove '--production' flag when building Fauxton
Since https://github.com/apache/couchdb-fauxton/pull/1299 only runtime dependencies are installed when using 'npm install --production'. To correctly build the Fauxton release, one must install all dependencies with 'npm install'.
-rw-r--r--Makefile2
-rw-r--r--Makefile.win2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 58eb614be..8844b869b 100644
--- a/Makefile
+++ b/Makefile
@@ -485,7 +485,7 @@ endif
share/www:
ifeq ($(with_fauxton), 1)
@echo "Building Fauxton"
- @cd src/fauxton && npm install --production && ./node_modules/grunt-cli/bin/grunt couchdb
+ @cd src/fauxton && npm install && ./node_modules/grunt-cli/bin/grunt couchdb
endif
diff --git a/Makefile.win b/Makefile.win
index b52920967..fa676ad13 100644
--- a/Makefile.win
+++ b/Makefile.win
@@ -419,7 +419,7 @@ endif
share\www:
ifeq ($(with_fauxton), 1)
@echo 'Building Fauxton'
- @cd src\fauxton && npm install --production && .\node_modules\.bin\grunt couchdb
+ @cd src\fauxton && npm install && .\node_modules\.bin\grunt couchdb
endif
derived: