[neon/qt6/qt6-webengine/Neon/unstable] debian: export npm path

Scarlett Moore null at kde.org
Tue Sep 5 13:11:55 BST 2023


Git commit cf7dbf024684e1f693910f91fcf15d3f9cb417df by Scarlett Moore.
Committed on 05/09/2023 at 14:11.
Pushed by scarlettmoore into branch 'Neon/unstable'.

export npm path

M  +1    -0    debian/rules

https://invent.kde.org/neon/qt6/qt6-webengine/-/commit/cf7dbf024684e1f693910f91fcf15d3f9cb417df

diff --git a/debian/rules b/debian/rules
index 2be60f7..5c793ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -45,6 +45,7 @@ override_dh_auto_clean:
 	cat ~/.profile
 	ls -ls ~/.nvm/
 	# init nvm and thus npm && # install needed nodejs deps with npm
+	export PATH=$NVM_DIR/versions/node/v$NODE_VERSION/bin:$PATH
 	. ~/.profile && . ~/.nvm/nvm.sh && \
 	npm install pako && \
 	npm install rollup-plugin-terser && \


More information about the Neon-commits mailing list