My PowerShell don't working

%3CLINGO-SUB%20id%3D%22lingo-sub-1828983%22%20slang%3D%22en-US%22%3EMy%20PowerShell%20don't%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1828983%22%20slang%3D%22en-US%22%3EMy%20PowerShell%20don't%20working%20as%20I%20expected.%20When%20I%20write%20command%20%22npm%20install%20-g%20create-react-native-app%22%20PowerShell%20don't%20execute%20command%20but%20just%20resize.%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1828983%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EWindows%20PowerShell%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1829926%22%20slang%3D%22en-US%22%3ERe%3A%20My%20PowerShell%20don't%20working%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1829926%22%20slang%3D%22en-US%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F849375%22%20target%3D%22_blank%22%3E%40Marti2030%3C%2FA%3E%2C%3C%2FP%3E%3CP%3EAs%20described%20in%20the%20documentation%20of%20the%20Add-Computer%20cmdlet%2C%20one%20of%20the%20options%20would%20be%20to%26nbsp%3B%20%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fmicrosoft.powershell.management%2Fadd-computer%3Fview%3Dpowershell-5.1%23example-9--add-a-computer-to-a-domain-using-predefined-computer-credentials%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3EAdd%20a%20computer%20to%20a%20domain%20using%20predefined%20computer%20credentials%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirst%20command%20should%20be%20executed%20from%20a%20computer%20which%20is%20already%20domain%20joined.%3C%2FP%3E%3CPRE%20class%3D%22lia-code-sample%20language-powershell%22%3E%3CCODE%3ENew-ADComputer%20-Name%20%22Server02%22%20-AccountPassword%20(ConvertTo-SecureString%20-String%20'TempJoinPA%24%24'%20-AsPlainText%20-Force)%0A%0A%23%20Then%20this%20command%20is%20run%20from%20%60Server02%60%20which%20is%20not%20yet%20domain-joined%3A%0A%0A%24joinCred%20%3D%20New-Object%20pscredential%20-ArgumentList%20(%5Bpscustomobject%5D%40%7B%0A%20%20%20%20UserName%20%3D%20%24null%0A%20%20%20%20Password%20%3D%20(ConvertTo-SecureString%20-String%20'TempJoinPA%24%24'%20-AsPlainText%20-Force)%5B0%5D%0A%7D)%0AAdd-Computer%20-Domain%20%22Domain03%22%20-Options%20UnsecuredJoin%2CPasswordPass%20-Credential%20%24joinCred%3C%2FCODE%3E%3C%2FPRE%3E%3CP%3EHope%20that%20helps.%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Visitor
My PowerShell don't working as I expected. When I write command "npm install -g create-react-native-app" PowerShell don't execute command but just resize.
1 Reply
I think u will need to type. \npm........ The rest
But for such installation i wont use powershell unless required. But this is a command installation
Yake it easy
Start the Command Prompt and the run the command there
Run - - - - cmd----, type your command