Skip to content

Commit

Permalink
install local npm on Windows
Browse files Browse the repository at this point in the history
instead of by name, which could get newer version over time
  • Loading branch information
minrk committed Nov 24, 2017
1 parent cb1a062 commit b179d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recipe/bld.bat
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ call vcbuild.bat nosign release %PLATFORM%
COPY Release\node.exe %PREFIX%\node.exe

%PREFIX%\node.exe -v
%PREFIX%\node.exe deps\npm\bin\npm-cli.js install npm -gf
%PREFIX%\node.exe deps\npm\bin\npm-cli.js install deps\npm -gf
%PREFIX%\npm.cmd version
REM dedupe npm to avoid too-long path issues on Windows
cd %PREFIX%\node_modules\npm
Expand Down

0 comments on commit b179d1a

Please sign in to comment.