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

in #firebase6 years ago
=== 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"로 수정하면 깔끔하게 된다.

Sort:  

Congratulations @jernon! You received a personal award!

1 Year on Steemit

Click here to view your Board of Honor

Support SteemitBoard's project! Vote for its witness and get one more award!

Congratulations @jernon! You received a personal award!

Happy Birthday! - You are on the Steem blockchain for 2 years!

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Congratulations @jernon! You received a personal award!

Thank you for the witness votes you made to support your Steem community and for keeping the Steem blockchain decentralized

You can view your badges on your Steem Board and compare to others on the Steem Ranking

Do not miss the last post from @steemitboard:

Use your witness votes and get the Community Badge
Vote for @Steemitboard as a witness to get one more award and increased upvotes!

Coin Marketplace

STEEM 0.18
TRX 0.16
JST 0.030
BTC 62226.04
ETH 2440.49
USDT 1.00
SBD 2.63