Skip to content

Commit

Permalink
Delete npm and npx and recreate symbolic links manually.
Browse files Browse the repository at this point in the history
  • Loading branch information
maraf committed Feb 8, 2022
1 parent c3d2cee commit 5fe7c0f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libraries/sendtohelix-wasm.targets
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@

<HelixPreCommand Condition="'$(NeedsEMSDKNode)' == 'true'" Include="export PATH=$HELIX_CORRELATION_PAYLOAD/build/emsdk/node/14.15.5_64bit/bin:$PATH" />
<HelixPreCommand Condition="'$(NeedsEMSDKNode)' == 'true'" Include="mkdir -p $HELIX_CORRELATION_PAYLOAD/build/emsdk/node/14.15.5_64bit &amp;&amp; tar -xf $HELIX_CORRELATION_PAYLOAD/build/emsdk/node-tar/node.tar -C $HELIX_CORRELATION_PAYLOAD/build/emsdk/node/14.15.5_64bit" />
<HelixPreCommand Condition="'$(NeedsEMSDKNode)' == 'true'" Include="$HELIX_NODEJS_PATH=$HELIX_CORRELATION_PAYLOAD/build/emsdk/node/14.15.5_64bit &amp;&amp; rm $HELIX_NODEJS_PATH/bin/npm &amp;&amp; rm $HELIX_NODEJS_PATH/bin/npx &amp;&amp; ln -s ../lib/node_modules/npm/bin/npm-cli.js $HELIX_NODEJS_PATH/bin/npm &amp;&amp; ln -s ../lib/node_modules/npm/bin/npx-cli.js $HELIX_NODEJS_PATH/bin/npx" />
</ItemGroup>

<ItemGroup Condition="'$(WindowsShell)' == 'true'">
Expand Down

0 comments on commit 5fe7c0f

Please sign in to comment.