make sure npm is available in the env when building
There was the proper environment missing in the build() routine when npm wasn't installed globally. This led the build fail because `npm` could not be found. Calling getnvm to source the NVM env fixes it.
This commit is contained in:
parent
b6addedda8
commit
166b0f8481
1 changed files with 2 additions and 0 deletions
2
PKGBUILD
2
PKGBUILD
|
|
@ -60,6 +60,8 @@ prepare() {
|
|||
}
|
||||
|
||||
build() {
|
||||
getnvm
|
||||
|
||||
cd "${srcdir}/${pkgname%-git}"
|
||||
|
||||
# We are not using the systems Electron as we need castlab's Electron.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue