npm explore-“path”인수는 문자열 유형이어야합니다. 수신 유형 정의되지 않음


0

'npm explore vue'를 실행하면 다음 오류가 발생합니다.

The "path" argument must be of type string. Received type undefined

완전한 로그 :

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\Jaimy\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'explore',
1 verbose cli   'vue' ]
2 info using npm@6.4.1
3 info using node@v10.15.1
4 verbose config Skipping project config: C:\Users\Jaimy/.npmrc. (matches userconfig)
5 verbose stack TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
5 verbose stack     at assertPath (path.js:39:11)
5 verbose stack     at Object.normalize (path.js:285:5)
5 verbose stack     at escapify (C:\Users\Jaimy\AppData\Roaming\npm\node_modules\npm\lib\utils\escape-exec-path.js:24:17)
5 verbose stack     at EventEmitter.explore (C:\Users\Jaimy\AppData\Roaming\npm\node_modules\npm\lib\explore.js:27:21)
5 verbose stack     at Object.commandCache.(anonymous function) (C:\Users\Jaimy\AppData\Roaming\npm\node_modules\npm\lib\npm.js:159:13)
5 verbose stack     at EventEmitter.<anonymous> (C:\Users\Jaimy\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js:131:30)
5 verbose stack     at process._tickCallback (internal/process/next_tick.js:61:11)
6 verbose cwd C:\Users\Jaimy
7 verbose Windows_NT 10.0.17134
8 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Jaimy\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "explore" "vue"
9 verbose node v10.15.1
10 verbose npm  v6.4.1
11 error code ERR_INVALID_ARG_TYPE
12 error The "path" argument must be of type string. Received type undefined
13 verbose exit [ 1, true ]

이전 버전의 node 및 npm으로 완전히 작동했습니다.

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.