0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

About MagicScript build errors (magic-script-cli v2.2.0 and Windows PC)

Last updated at Posted at 2019-06-11

#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.

  1. 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!

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?