Skip to content

Commit 867bc35

Browse files
authored
Use legacy-peer-deps npm install for react native (#317)
Fixes debug builds on Windows
1 parent 53c5dd1 commit 867bc35

File tree

3 files changed

+4136
-16631
lines changed

3 files changed

+4136
-16631
lines changed

Apps/Playground/package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Apps/Playground/scripts/tools.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function postInstall() {
1111
const version = shelljs.exec('npm --version', {silent: true});
1212

1313
console.log(chalk.black.bgCyan('Installing Babylon React Native npm packages...'));
14-
shelljs.exec('npm install', {cwd: '../../Modules/@babylonjs/react-native'});
14+
shelljs.exec('npm install --legacy-peer-deps', {cwd: '../../Modules/@babylonjs/react-native'});
1515

1616
console.log(chalk.black.bgCyan('Updating submodules...'));
1717
shelljs.exec('git submodule update --init --recursive', {cwd: '../../'});

0 commit comments

Comments
 (0)