Closed spock123 closed 4 years ago
DevDependencies:
"devDependencies": {
"@angular-devkit/build-angular": "^0.1000.0",
"@angular/cli": "~10.0.0",
"@angular/compiler-cli": "~10.0.1",
"@angular/language-service": "~10.0.1",
"@types/jasmine": "~3.5.10",
"@types/jasminewd2": "~2.0.3",
"@types/lodash": "^4.14.149",
"@types/node": "^12.11.1",
"codelyzer": "^5.1.2",
"firebase": "^7.15.5",
"firebase-tools": "^8.4.3",
"jasmine-core": "~3.5.0",
"jasmine-spec-reporter": "~5.0.0",
"karma": "~5.0.0",
"karma-chrome-launcher": "~3.1.0",
"karma-coverage-istanbul-reporter": "~3.0.2",
"karma-jasmine": "~3.3.0",
"karma-jasmine-html-reporter": "^1.5.0",
"ngrx-store-freeze": "^0.2.4",
"npm-run-all": "^4.1.5",
"npx": "^10.2.2",
"protractor": "~7.0.0",
"shx": "^0.3.2",
"ts-node": "~8.8.1",
"tslint": "~6.1.0",
"typescript": "~3.9.5"
}
Firebase-deploy.log
[debug] [2020-06-27T23:09:52.871Z] <<< HTTP RESPONSE 200 {"content-type":"application/json; charset=UTF-8","vary":"X-Origin, Referer, Origin,Accept-Encoding","date":"Sat, 27 Jun 2020 23:09:52 GMT","server":"ESF","cache-control":"private","x-xss-protection":"0","x-frame-options":"SAMEORIGIN","x-content-type-options":"nosniff","alt-svc":"h3-27=\":443\"; ma=2592000,h3-25=\":443\"; ma=2592000,h3-T050=\":443\"; ma=2592000,h3-Q050=\":443\"; ma=2592000,h3-Q046=\":443\"; ma=2592000,h3-Q043=\":443\"; ma=2592000,quic=\":443\"; ma=2592000; v=\"46,43\"","accept-ranges":"none","transfer-encoding":"chunked"}
[debug] [2020-06-27T23:09:53.009Z] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined
at validateString (internal/validators.js:112:11)
at Object.join (path.js:1040:7)
at Object.checkFunctionsSDKVersion [as fn] (/Users/lrj/.nvm/versions/node/v12.13.1/lib/node_modules/firebase-tools/lib/checkFirebaseSDKVersion.js:33:28)
at Command.<anonymous> (/Users/lrj/.nvm/versions/node/v12.13.1/lib/node_modules/firebase-tools/lib/command.js:159:30)
at Generator.next (<anonymous>)
at fulfilled (/Users/lrj/.nvm/versions/node/v12.13.1/lib/node_modules/firebase-tools/lib/command.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
[error]
[error] Error: An unexpected error has occurred.
~
I am guessing you're seeing the effect of this change: https://github.com/firebase/firebase-tools/pull/2047
That's been released in firebase-tools
8.1.0, maybe you were using an older version before the upgrade. I don't see any Angular related commands in your snippets, so I'm not sure how this is actionable for us?
@JoostK thank you , yes I think I've been using 7.x of Firebase-tools.
Update: updated to 8.4.3 of Firebase-tools, problem unfortunately consists.
I'll close the issue now, thank you again.
@JoostK I have filed an issue over at Firebase Tools repo. (https://github.com/firebase/firebase-tools/issues/2408)
I am using the latest Firebase-tools though, not sure what's going on. It consistently works on Angular 9.1, but as soon as I upgrade to 10, firebase deploy throws errors.
Very strange indeed.
I resolved my issue - and I'm such an *diot..
I did update Firebase-Tools to 8.1.. but only now did I realize I had it installed in the project, as well as globally. I only updated the project version, but every time I used the command, it took the globally installed first (7.x)..
Feeling really dumb right now :)
Cheers
This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
This action has been performed automatically by a bot.
Hi, I have a strange issue on all my projects when trying to upgrade from ng9.x to 10.0.1
Build goes fine, but Firebase throws errors when trying to deploy to static hosting.
I am not sure what is going on or if it's even related to Angular, but the same thing has now happened to me on 3 different projects.
Is this a regression?
Possibly, worked in
9.1.x
and as soon as I upgrade to 10.0.1 I can no longer deploy to Firebase.Exception or Error
Npm log after trying
firebase deploy --only hosting --project test
(my test project)🌍 Your Environment
Angular Version:
Anything else relevant?