-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: EISDIR: illegal operation on a directory, read #50
Comments
So from some further investigation, it appears to be caused by one of our "fireDependencies": {
"@claimsgate/core": "../core",
"@claimsgate/core-types": "../core-types"
}, Removing |
Removing In our |
To summarise:
@claimsgate/core package.json{
"name": "@claimsgate/core",
"version": "1.2.0",
"description": "",
"scripts": {
"compile": "npx tsc",
"compile:watch": "npx tsc -w"
},
"keywords": [],
"main": "dist/index.js",
"types": "dist/index.d.ts",
"author": "",
"dependencies": {
"@claimsgate/core-types": "1.2.0",
"@typescript-eslint/eslint-plugin": "^5.16.0",
"@typescript-eslint/parser": "^5.16.0"
},
"devDependencies": {
"eslint": "^8.11.0",
"typescript": "^4.5.4"
},
"private": true
} @claimsgate/core tsconfig.json{
"compilerOptions": {
"module": "commonjs",
"allowSyntheticDefaultImports": true,
"suppressImplicitAnyIndexErrors": true,
"forceConsistentCasingInFileNames": true,
"sourceMap": true,
"declaration": true,
"strict": false,
"esModuleInterop": true,
"allowJs": false,
"baseUrl": "./src",
"outDir": "dist",
"target": "es2020",
"composite": true,
"types": ["@claimsgate/core-types"],
"paths": {}
},
"references": [{ "path": "../core-types" }],
"exclude": ["node_modules", "**/*.spec.ts", "./dist"],
"include": ["src/**/*.ts"],
"files": ["index.ts"]
} @claimsgate/functions package.json{
"fireDependencies": {
"@claimsgate/core-types": "../core-types",
"@claimsgate/core": "../core"
},
"fireConfig": {
"runner": "firebase",
"outFolderName": ".packages",
"outFolderLocation": ".",
"excludes": [
"node_modules"
]
}
} |
Okay I figured it out. Removing I'm guessing there's an error in resolving the directory of |
Wow thanks for the great information provided i will try to replicate the issue and see what causes it Is your project started with some Yarn or Lerna starter if it is possible to clone it directly and test the things out ? Anyway i will try to mimic the problem using your provided information in this ticket for now. Great job guys! |
We're using a mono-repo with yarn workspaces and lerna. We have no-hoist enabled for packages/functions so all node_modules related to packages/functions are contained there.
When running firelink from to packages/functions we get this error....
Not sure why but running firelink from the root directory of the repo doesn't throw this error.
The text was updated successfully, but these errors were encountered: