Error
When running $ firelink (doesn't matter what arguments I give) I receive
skipping non-regular file "performance/node_modules/.bin/eslint"
skipping non-regular file "performance/node_modules/.bin/ts-node"
skipping non-regular file "performance/node_modules/.bin/ts-node-cwd"
skipping non-regular file "performance/node_modules/.bin/ts-node-script"
skipping non-regular file "performance/node_modules/.bin/ts-node-transpile-only"
skipping non-regular file "performance/node_modules/.bin/ts-script"
skipping non-regular file "performance/node_modules/.bin/tsc"
skipping non-regular file "performance/node_modules/.bin/tsserver"
skipping non-regular file "performance/node_modules/eslint/node_modules/.bin/js-yaml"
skipping non-regular file "performance/node_modules/eslint/node_modules/.bin/semver"
npm ERR! could not determine executable to run
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/johnbailey/.npm/_logs/2022-01-04T20_44_21_921Z-debug.log
Context
Using @rxdi/firelink@^0.7.75 with firebase@9.23.1 (firebase-tools) within a monorepo (lerna + yarn)
Due to client privacy I've called the project @example but that is the only thing replaced from my package.json
{
"name": "@example/cloud-functions",
"version": "1.0.0",
"scripts": {
"dev": "yarn build --watch",
"lint": "eslint --ext .js,.ts .",
"build": "rm -rf lib && tsc --resolveJsonModule",
"shell": "yarn build && firebase functions:shell",
"start": "yarn shell",
"deploy": "firelink deploy --only functions",
"logs": "firebase functions:log"
},
"engines": {
"node": "16",
"yarn": ">=1.18.0"
},
"main": "lib/index.js",
"dependencies": {
"@example/performance": "^1.0.0",
"@google-cloud/functions-framework": "^1.6.0",
"@hubspot/api-client": "^3.4.1",
"ajv": "^8.8.2",
"ajv-formats": "^2.1.1",
"analytics-node": "^5.0.0",
"axios": "^0.24.0",
"cookie-parser": "^1.4.5",
"cors": "^2.8.5",
"express": "^4.17.1",
"firebase": "^9.6.1",
"firebase-admin": "^10.0.1",
"firebase-functions": "^3.16.0",
"hubspot": "^2.3.14",
"lodash": "^4.17.21",
"node-petname": "^1.0.1",
"short-uuid": "^4.2.0"
},
"devDependencies": {
"@rxdi/firelink": "^0.7.75",
"@types/analytics-node": "^3.1.5",
"@types/cookie-parser": "^1.4.2",
"@types/request": "^2.48.7",
"@types/request-promise": "^4.1.48",
"@typescript-eslint/eslint-plugin": "^5.8.0",
"@typescript-eslint/parser": "^5.8.0",
"eslint": "^7.32.0",
"eslint-config-standard": "^16.0.3",
"eslint-config-standard-with-typescript": "^21.0.1",
"eslint-plugin-import": "^2.25.3",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^5.2.0",
"firebase-functions-test": "^0.2.0",
"typescript": "^4.5.4"
},
"fireDependencies": {
"@example/performance": "../../performance"
},
"private": true,
"fireConfig": {
"runner": "firebase",
"outFolderName": ".packages",
"outFolderLocation": ".",
"excludes": ["node_modules"]
}
}
Thoughts
I am investigating a fix in rsync
Error
When running
$ firelink(doesn't matter what arguments I give) I receiveContext
Using
@rxdi/firelink@^0.7.75withfirebase@9.23.1(firebase-tools) within a monorepo (lerna + yarn)Due to client privacy I've called the project
@examplebut that is the only thing replaced from my package.json{ "name": "@example/cloud-functions", "version": "1.0.0", "scripts": { "dev": "yarn build --watch", "lint": "eslint --ext .js,.ts .", "build": "rm -rf lib && tsc --resolveJsonModule", "shell": "yarn build && firebase functions:shell", "start": "yarn shell", "deploy": "firelink deploy --only functions", "logs": "firebase functions:log" }, "engines": { "node": "16", "yarn": ">=1.18.0" }, "main": "lib/index.js", "dependencies": { "@example/performance": "^1.0.0", "@google-cloud/functions-framework": "^1.6.0", "@hubspot/api-client": "^3.4.1", "ajv": "^8.8.2", "ajv-formats": "^2.1.1", "analytics-node": "^5.0.0", "axios": "^0.24.0", "cookie-parser": "^1.4.5", "cors": "^2.8.5", "express": "^4.17.1", "firebase": "^9.6.1", "firebase-admin": "^10.0.1", "firebase-functions": "^3.16.0", "hubspot": "^2.3.14", "lodash": "^4.17.21", "node-petname": "^1.0.1", "short-uuid": "^4.2.0" }, "devDependencies": { "@rxdi/firelink": "^0.7.75", "@types/analytics-node": "^3.1.5", "@types/cookie-parser": "^1.4.2", "@types/request": "^2.48.7", "@types/request-promise": "^4.1.48", "@typescript-eslint/eslint-plugin": "^5.8.0", "@typescript-eslint/parser": "^5.8.0", "eslint": "^7.32.0", "eslint-config-standard": "^16.0.3", "eslint-config-standard-with-typescript": "^21.0.1", "eslint-plugin-import": "^2.25.3", "eslint-plugin-node": "^11.1.0", "eslint-plugin-promise": "^5.2.0", "firebase-functions-test": "^0.2.0", "typescript": "^4.5.4" }, "fireDependencies": { "@example/performance": "../../performance" }, "private": true, "fireConfig": { "runner": "firebase", "outFolderName": ".packages", "outFolderLocation": ".", "excludes": ["node_modules"] } }Thoughts
I am investigating a fix in
rsyncfirelink/src/helpers/copy-packages.ts
Line 15 in 46e5946