Skip to content

project create error #78

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
godspeed-7 opened this issue Mar 16, 2017 · 2 comments
Closed

project create error #78

godspeed-7 opened this issue Mar 16, 2017 · 2 comments

Comments

@godspeed-7
Copy link

error D:\create-react-native-app\my-app2\node_modules\ref: Command failed.
Exit code: 1
Command: C:\Windows\system32\cmd.exe
Arguments: /d /s /c node-gyp rebuild
Directory: D:\create-react-native-app\my-app2\node_modules\ref
Output:
D:\create-react-native-app\my-app2\node_modules\ref>if not defined npm_config_node_gyp (node "C:\Users\AS00475240\AppData\Roaming\npm\node_modules\yarn\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node rebuild )
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp ERR! configure error
gyp ERR! stack Error: Can't find Python executable "python", you can set the PYTHON env variable.
gyp ERR! stack at Object.failNoPython (C:\Users\AS00475240\AppData\Roaming\npm\node_modules\yarn\node_modules\node-gyp\lib\configure.js:454:19)
gyp ERR! stack at Object. (C:\Users\AS00475240\AppData\Roaming\npm\node_modules\yarn\node_modules\node-gyp\lib\configure.js:480:16)
gyp ERR! stack at C:\Users\AS00475240\AppData\Roaming\npm\node_modules\yarn\node_modules\graceful-fs\polyfills.js:284:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 10.0.10586
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\AS00475240\AppData\Roaming\npm\node_modules\yarn\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd D:\create-react-native-app\my-app2\node_modules\ref
gyp ERR! node -v v6.9.4
gyp ERR! node-gyp -v v3.5.0
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.
yarnpkg add --dev --exact --ignore-optional react-native-scripts failed

@anp
Copy link
Contributor

anp commented Mar 16, 2017

Duplicate of #48 - I should be releasing a fix for this later today.

@anp anp closed this as completed Mar 16, 2017
@godspeed-7
Copy link
Author

godspeed-7 commented Mar 16, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants