0 verbose cli [
0 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
0 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
0 verbose cli 'whoami'
0 verbose cli ]
1 info using npm@8.1.0
2 info using node@v16.13.0
3 timing npm:load:whichnode Completed in 1ms
4 timing config:load:defaults Completed in 3ms
5 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
6 timing config:load:builtin Completed in 4ms
7 timing config:load:cli Completed in 3ms
8 timing config:load:env Completed in 1ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:C:\Users\dimka\.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:C:\Users\dimka\AppData\Roaming\npm\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:validate Completed in 1ms
15 timing config:load:credentials Completed in 1ms
16 timing config:load:setEnvs Completed in 2ms
17 timing config:load Completed in 18ms
18 timing npm:load:configload Completed in 18ms
19 timing npm:load:setTitle Completed in 0ms
20 timing npm:load:setupLog Completed in 1ms
21 timing config:load:flatten Completed in 4ms
22 timing npm:load:cleanupLog Completed in 4ms
23 timing npm:load:configScope Completed in 0ms
24 timing npm:load:projectScope Completed in 0ms
25 timing npm:load Completed in 30ms
26 timing command:whoami Completed in 2ms
27 verbose stack Error: This command requires you to be logged in.
27 verbose stack at needsAuthError (C:\Program Files\nodejs\node_modules\npm\lib\utils\get-identity.js:4:17)
27 verbose stack at module.exports (C:\Program Files\nodejs\node_modules\npm\lib\utils\get-identity.js:36:11)
27 verbose stack at Whoami.whoami (C:\Program Files\nodejs\node_modules\npm\lib\whoami.js:25:28)
27 verbose stack at Whoami.exec (C:\Program Files\nodejs\node_modules\npm\lib\whoami.js:21:10)
27 verbose stack at Object.[_runCmd] (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:166:12)
27 verbose stack at C:\Program Files\nodejs\node_modules\npm\lib\npm.js:24:35
27 verbose stack at module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli.js:74:5)
28 verbose cwd C:\Users\dimka
29 verbose Windows_NT 10.0.22000
30 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "whoami"
31 verbose node v16.13.0
32 verbose npm v8.1.0
33 error code ENEEDAUTH
34 error need auth This command requires you to be logged in.
35 error need auth You need to authorize this machine using `npm adduser`
36 verbose exit 1
const Shop = ({ id }: TProps) => {
const client = useRecoilValue(CLIENT);
const panel = useRecoilValue(SUBNAVIGATION_BAR_SELECT)
// eslint-disable-next-line
useMemo(() => client.emit('GET_ITEMS'), [])
return (
<Panel id={id} >
<PanelHeader separator={true}>
<PanelHeaderContent status='Крутые шмотки только тут!' before={true} aside>
Магазин
</PanelHeaderContent>
</PanelHeader>
<CardMyBalance />
<Filter />
<Separator />
{
panel === "businesses" ? <Businesses /> :
panel === "promotions" ? <Promotions /> :
panel === "home" ? <Home /> :
panel === "cars" ? <Cars /> :
panel === "clothes" ? <Clothes /> :
panel === "smartphones" ? <Smartphones /> :
panel === "market" ? <Market /> : null
}
</Panel >
)
}