#In the case of magic-script-cli v.2.2.1 or later, this correspondence is not necessary.
Prepare
Magic Leap One
https://www.magicleap.com/magic-leap-one
mlsdk v.0.2.2.0
https://creator.magicleap.com/downloads/lumin-sdk/overview
If you apply the following patch, the error will not occur.
- Check GLOBAL PATH.
npm bin -g
2.Edit the following file.
GLOBAL PATH\node_modules\magic-script-cli\commands\build.js
(Added shell: true,)
13 const proc = spawn('npm', ['install'], { shell: true, stdio: 'inherit' });
Reference
MagicScript Getting Started
https://www.magicscript.org/docs/getting-started
Thanks!