Skip to content

Commit

Permalink
how about this
Browse files Browse the repository at this point in the history
Co-Authored-By: Παναγιώτης Γεωργακόπουλος <[email protected]>
  • Loading branch information
fonsp and pankgeorg committed Feb 13, 2024
1 parent ca8b623 commit d6dba2e
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
import NodeJS_18_jll

const npm = if Sys.iswindows()
NodeJS_18_jll.npm.cmd
else
NodeJS_18_jll.npm
end
const npm = Sys.iswindows() ? "$(NodeJS_18_jll.npm).cmd" : NodeJS_18_jll.npm

node_root = normpath(joinpath(@__DIR__, "../node"))
run(`$npm --version`)
println(run(`$npm --prefix=$node_root --scripts-prepend-node-path=true install $node_root`))
run(`$npm --prefix=$node_root --scripts-prepend-node-path=true install $node_root`)

0 comments on commit d6dba2e

Please sign in to comment.