Skip to content

Commit 883badc

Browse files
authored
Fix nvm script typo (#121)
Also clear out node_modules in case some of the previously-installed packages are bad.
1 parent fa38493 commit 883badc

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

examples/codecombat/config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,9 @@ export default {
1717
rm -rf public
1818
`,
1919
`
20-
source ~/nvm/nvm.sh
20+
set -e
21+
rm -rf ./node_modules
22+
source ~/.nvm/nvm.sh
2123
nvm install 5.10.1
2224
# Some dependency issues make the install fail the first time, so just try again.
2325
time npm install || npm install

0 commit comments

Comments
 (0)