[Quasar + Electron] λΉλ μ Error: EBUSY: resource busy or locked, unlink... μλ¬ ν΄κ²° λ°©λ²
π¨ μν©
$ quasar build -m electron
μ λͺ λ Ήμ΄λ‘ νμ΄μ¬λ‘ μΌλ νΈλ‘ λΉλλ₯Ό νλ €κ³ νμμΌλ μλμ κ°μ μ€λ₯κ° λ¨λ©° λΉλκ° μ€λ¨λ¨.
Error: EBUSY: resource busy or locked, unlink 'nsis μμΆ νμΌ κ²½λ‘'
UnhandledPromiseRejection: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason "undefined".
λ²μ μ
μ μν΄ λΉλλ₯Ό νλ κ²μ΄λΌ μ½λκ° μΆκ°λκΈ΄ νμ§λ§ λ±ν μ΄μν μ½λλ μμκ³ ,
κ°λ° νκ²½λ λ³κ²½λ λΆλΆμ΄ μ ν μμμ.
νΉμλ μΆμ΄μ μ΄μ λ²μ μΌλ‘ λμκ° λΉλ μλν΄λ³΄μμΌλ,
μλ§ λλ μ΄μ λ²μ λ λΉλκ° μλλ κ²μ νμΈν¨.
π¨ ν΄κ²° λ°©λ²
ChatGPT λ stackoverflow λ₯Ό μ μ νλ©° μ½ ν루λμ λ₯κΌ¬μΌλ₯Ό ν¨.
μ¬λΆν
λΆν° μ κ·Όν λ§ν λ°±κ·ΈλΌμ΄λ νλ‘μΈμ€λ₯Ό κ°μ μ’
λ£νλ λ± μ¬λ¬ μλλ₯Ό ν΄λ³΄μμΌλ
μ λΆ μ€ν¨νκ³ μλ λ°©λ²μΌλ‘ λ¨λ²μ μ±κ³΅ν¨. π
- node_modules μμ
- package-lock.json μμ
- npm cache clean --force
- npm install
- quasar build -m electron
μμΈμ μ ννκ² νμ
νμ§ λͺ»ν¨...
μ²μμ νλ‘μ νΈλ₯Ό μ§μ λ€κ° λ€μ clone νκ³ λΉλνλλ° μ±κ³΅ν¨.
κ·Έ ν λ€μ λΉλνλ €νλ λ κ°μ μλ¬κ° λ¨κΈΈλ μ λ°©λ²μΌλ‘ μλνκ³ , μ±κ³΅ν¨.
λκ° ν¨ν€μ§ κ° μΆ©λμ΄ μλκ² μλκΉ κΆμ μ€...