Firebase deploy에서 npm --prefix "$RESOURCE_DIR" run lint 오류가 날때!

=== Deploying to '프로젝트이름'...

i  deploying functions
Running command: npm --prefix "$RESOURCE_DIR" run lint
openssl config failed: error:02001003:system library:fopen:No such process
openssl config failed: error:02001003:system library:fopen:No such process
npm ERR! path \%RESOURCE_DIR%\package.json
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '프로젝트경로\%RESOURCE_DIR%\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\qkrwj\AppData\Roaming\npm-cache\_logs\2018-08-06T11_26_23_424Z-debug.log

Error: functions predeploy error: Command terminated with non-zero exit code4294963238

간단하게도 Firebase.json 파일의 "npm --prefix \"$RESOURCE_DIR\" run lint""npm --prefix \"%RESOURCE_DIR%\" run lint"로 수정하면 깔끔하게 된다.

H2
H3
H4
3 columns
2 columns
1 column
Join the conversation now
Logo
Center