You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when i try to import the model data to my mongodb using npm run data:import
I get this error ValidationError: password: Path password is required., email: Path email is required., name: Path name is required.
LOG FILE
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 'run',
0 verbose cli 'data:import'
0 verbose cli ]
1 info using npm@7.0.2
2 info using node@v15.0.0
3 timing config:load:defaults Completed in 3ms
4 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
5 timing config:load:builtin Completed in 4ms
6 timing config:load:cli Completed in 3ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:C:\Users\RILWAN\Pictures\Proshop.npmrc Completed in 0ms
9 timing config:load:project Completed in 2ms
10 timing config:load:file:C:\Users\RILWAN.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:C:\Users\RILWAN\AppData\Roaming\npm\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 1ms
17 timing config:load:setEnvs Completed in 2ms
18 timing config:load Completed in 18ms
19 verbose npm-session 52ebecba1e5d9ebc
20 timing npm:load Completed in 41ms
21 timing command:run-script Completed in 7279ms
22 verbose stack Error: command failed
22 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\promise-spawn\index.js:63:27)
22 verbose stack at ChildProcess.emit (node:events:327:20)
22 verbose stack at maybeClose (node:internal/child_process:1048:16)
22 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
23 verbose pkgid proshop@1.0.0
24 verbose cwd C:\Users\RILWAN\Pictures\Proshop
25 verbose Windows_NT 10.0.19042
26 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "data:import"
27 verbose node v15.0.0
28 verbose npm v7.0.2
29 error code 1
30 error path C:\Users\RILWAN\Pictures\Proshop
31 error command failed
32 error command C:\Windows\system32\cmd.exe /d /s /c "node backend/seeder"
33 verbose exit 1
The text was updated successfully, but these errors were encountered:
when i try to import the model data to my mongodb using npm run data:import
I get this error ValidationError: password: Path
password
is required., email: Pathemail
is required., name: Pathname
is required.LOG FILE
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 'run',
0 verbose cli 'data:import'
0 verbose cli ]
1 info using npm@7.0.2
2 info using node@v15.0.0
3 timing config:load:defaults Completed in 3ms
4 timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 4ms
5 timing config:load:builtin Completed in 4ms
6 timing config:load:cli Completed in 3ms
7 timing config:load:env Completed in 1ms
8 timing config:load:file:C:\Users\RILWAN\Pictures\Proshop.npmrc Completed in 0ms
9 timing config:load:project Completed in 2ms
10 timing config:load:file:C:\Users\RILWAN.npmrc Completed in 1ms
11 timing config:load:user Completed in 1ms
12 timing config:load:file:C:\Users\RILWAN\AppData\Roaming\npm\etc\npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 1ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 1ms
17 timing config:load:setEnvs Completed in 2ms
18 timing config:load Completed in 18ms
19 verbose npm-session 52ebecba1e5d9ebc
20 timing npm:load Completed in 41ms
21 timing command:run-script Completed in 7279ms
22 verbose stack Error: command failed
22 verbose stack at ChildProcess. (C:\Program Files\nodejs\node_modules\npm\node_modules@npmcli\promise-spawn\index.js:63:27)
22 verbose stack at ChildProcess.emit (node:events:327:20)
22 verbose stack at maybeClose (node:internal/child_process:1048:16)
22 verbose stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:5)
23 verbose pkgid proshop@1.0.0
24 verbose cwd C:\Users\RILWAN\Pictures\Proshop
25 verbose Windows_NT 10.0.19042
26 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "run" "data:import"
27 verbose node v15.0.0
28 verbose npm v7.0.2
29 error code 1
30 error path C:\Users\RILWAN\Pictures\Proshop
31 error command failed
32 error command C:\Windows\system32\cmd.exe /d /s /c "node backend/seeder"
33 verbose exit 1
The text was updated successfully, but these errors were encountered: