Skip to content

react-scripts binary is disappeared #1439

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
Khangeldy opened this issue Jan 24, 2017 · 4 comments
Closed

react-scripts binary is disappeared #1439

Khangeldy opened this issue Jan 24, 2017 · 4 comments

Comments

@Khangeldy
Copy link

Khangeldy commented Jan 24, 2017

I using both yarn and npm. After i install yarn add moment, react-scripts is not recognized as operable. Then i check bin folder, it was deleted. In other projects created with create-app-react everything fine. I faced this problem second time. I don't want install all modules again. How to prevent this ?

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'start' ]
2 info using npm@3.10.3
3 info using node@v6.5.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle notification-test@0.1.0~prestart: notification-test@0.1.0
6 silly lifecycle notification-test@0.1.0~prestart: no script for prestart, continuing
7 info lifecycle notification-test@0.1.0~start: notification-test@0.1.0
8 verbose lifecycle notification-test@0.1.0~start: unsafe-perm in lifecycle true
9 verbose lifecycle notification-test@0.1.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;C:\Users\Administrator\Documents\freelance\notification-test\node_modules\.bin;C:\Program Files\nodejs;C:\Users\Administrator\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\cmd;C:\Program Files\ConEmu\ConEmu\Scripts;C:\Program Files\ConEmu;C:\Program Files\ConEmu\ConEmu;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Program Files\nodejs;C:\ProgramData\chocolatey\bin;C:\Program Files (x86)\vim\vim80;C:\Program Files (x86)\Skype\Phone;C:\tools\python2;C:\Program Files (x86)\Yarn\bin;C:\Users\Administrator\AppData\Roaming\npm;C:\Program Files\MongoDB\Server\3.2\bin;C:\MediacenterJS\bin\ffmpeg;C:\Users\Administrator\AppData\Local\Yarn\.bin;C:\Users\Administrator\AppData\Local\Android\sdk\platform-tools;C:\Users\Administrator\AppData\Local\Android\sdk\tools;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
10 verbose lifecycle notification-test@0.1.0~start: CWD: C:\Users\Administrator\Documents\freelance\notification-test
11 silly lifecycle notification-test@0.1.0~start: Args: [ '/d /s /c', 'react-scripts start' ]
12 silly lifecycle notification-test@0.1.0~start: Returned: code: 1  signal: null
13 info lifecycle notification-test@0.1.0~start: Failed to exec start script
14 verbose stack Error: notification-test@0.1.0 start: `react-scripts start`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:242:16)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at EventEmitter.emit (events.js:191:7)
14 verbose stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:40:14)
14 verbose stack     at emitTwo (events.js:106:13)
14 verbose stack     at ChildProcess.emit (events.js:191:7)
14 verbose stack     at maybeClose (internal/child_process.js:877:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid notification-test@0.1.0
16 verbose cwd C:\Users\Administrator\Documents\freelance\notification-test
17 error Windows_NT 6.3.9600
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
19 error node v6.5.0
20 error npm  v3.10.3
21 error code ELIFECYCLE
22 error notification-test@0.1.0 start: `react-scripts start`
22 error Exit status 1
23 error Failed at the notification-test@0.1.0 start script 'react-scripts start'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the notification-test package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     react-scripts start
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs notification-test
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls notification-test
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
@Khangeldy
Copy link
Author

Can i generate binary files again? Or can i copy binary from other folder and place it ?

@gaearon
Copy link
Contributor

gaearon commented Jan 24, 2017

I don't want install all modules again. How to prevent this ?

Please report the bug to Yarn and use npm if it keeps repeating until Yarn is fixed.

@gaearon
Copy link
Contributor

gaearon commented Jan 25, 2017

Can i generate binary files again? Or can i copy binary from other folder and place it ?

You should be able to run npm install (if yarn doesn't work).

@Khangeldy
Copy link
Author

@gaearon Спасибо. Просто локально с другой папки установил.

@lock lock bot locked and limited conversation to collaborators Jan 22, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants