strapi-community / strapi-tool-dockerize

Easy add support for docker to your strapi project
MIT License
504 stars 34 forks source link

Error: Command failed with exit code 1: yarn add mysqlError: EISDIR: illegal operation on a directory, read at Object.readSync (node:fs:738:3) at tryReadSync (node:fs:438:20) at Object.readFileSync (node:fs:484:19) at onUnexpectedError (C:\Users\surre\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:88622:100) at C:\Users\surre\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:88734:9yarn add v1.22.19 #73

Closed surrey-kapkoti closed 1 year ago

surrey-kapkoti commented 1 year ago

πŸ› Bug Report

πŸ€·β€β™€οΈ What did you do

⛔️ Error log

Command failed with exit code 1: yarn add mysql Error: EISDIR: illegal operation on a directory, read at Object.readSync (node:fs:738:3) at tryReadSync (node:fs:438:20) at Object.readFileSync (node:fs:484:19) at onUnexpectedError (C:\Users\surre\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:88622:100) at C:\Users\surre\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:88734:9 yarn add v1.22.19

πŸ•΅οΈβ€β™€οΈ Stack trace

Error: Command failed with exit code 1: yarn add mysql
Error: EISDIR: illegal operation on a directory, read
    at Object.readSync (node:fs:738:3)
    at tryReadSync (node:fs:438:20)
    at Object.readFileSync (node:fs:484:19)
    at onUnexpectedError (C:\Users\surre\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:88622:100)
    at C:\Users\surre\AppData\Roaming\npm\node_modules\yarn\lib\cli.js:88734:9
yarn add v1.22.19
    at makeError (C:\Users\surre\AppData\Local\npm-cache\_npx\c78dafd2dc881eeb\node_modules\execa\lib\error.js:60:11)
    at handlePromise (C:\Users\surre\AppData\Local\npm-cache\_npx\c78dafd2dc881eeb\node_modules\execa\index.js:118:26)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async installDependecies (C:\Users\surre\AppData\Local\npm-cache\_npx\c78dafd2dc881eeb\node_modules\@strapi-community\dockerize\core\dependencies.js:21:3)
    at async C:\Users\surre\AppData\Local\npm-cache\_npx\c78dafd2dc881eeb\node_modules\@strapi-community\dockerize\index.js:62:4

πŸ™‡β€β™€οΈ Expected behavior/code

A clear and concise description of what you expected to happen (or code).

πŸ‘©β€πŸ’» Environment

πŸ’‘ Possible Solution

πŸ“Ί Additional context/Screenshots