problems when deploy

66 views
Skip to first unread message

Luis Ruiz Figueroa

unread,
Mar 7, 2018, 8:54:03 AM3/7/18
to Firebase Google Group
I want to upload my production to the hosting, but I get the following error, which I do not understand


[debug] [2018-03-07T04:25:11.964Z] TypeError: Cannot create property 'error' on string '<!DOCTYPE html>
<html lang=en>
<meta charset=utf-8>
<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
<title>Error 404 (Not Found)!!1</title>
<style>
*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{background:url(//www.google.com/images/errors/robot.png) 100% 5px no-repeat;padding-right:205px}p{margin:11px 0 22px;overflow:hidden}ins{color:#777;text-decoration:none}a img{border:0}@media screen and (max-width:772px){body{background:none;margin-top:0;max-width:none;padding-right:0}}#logo{background:url(//www.google.com/images/branding/googlelogo/1x/googlelogo_color_150x54dp.png) no-repeat;margin-left:-5px}@media only screen and (min-resolution:192dpi){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat 0% 0%/100% 100%;-moz-border-image:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) 0}}@media only screen and (-webkit-min-device-pixel-ratio:2){#logo{background:url(//www.google.com/images/branding/googlelogo/2x/googlelogo_color_150x54dp.png) no-repeat;-webkit-background-size:100% 100%}}#logo{display:inline-block;height:54px;width:150px}
</style>
<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
<p><b>404.</b> <ins>That’s an error.</ins>
<p>The requested URL <code>/v1/projects/sebastianschool-6cf7f/releases/cloud.firestore</code> was not found on this server. <ins>That’s all we know.</ins>
'
at module.exports (/usr/local/lib/node_modules/firebase-tools/lib/responseToError.js:11:16)
at Request._callback (/usr/local/lib/node_modules/firebase-tools/lib/api.js:43:25)
at Request.self.callback (/usr/local/lib/node_modules/firebase-tools/node_modules/request/request.js:186:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request.<anonymous> (/usr/local/lib/node_modules/firebase-tools/node_modules/request/request.js:1163:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/firebase-tools/node_modules/request/request.js:1085:12)
at IncomingMessage.g (events.js:292:16)
[error]
[error] Error: An unexpected error has occurred.


Alex Memering

unread,
Mar 7, 2018, 12:20:11 PM3/7/18
to fireba...@googlegroups.com
My best guess is that your `firebase.json` is configured to also upload Firestore rules, but you haven't yet created a Firestore instance.  If you are only attempting to upload your Hosting content then try running `firebase deploy --only hosting` which will not try and deploy any of the rules that you may have.

Hope that helps,

--
You received this message because you are subscribed to the Google Groups "Firebase Google Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firebase-tal...@googlegroups.com.
To post to this group, send email to fireba...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/firebase-talk/93abbb0d-9f2d-488b-97b2-a3d7bb7a94c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--

Alex Memering | Software Engineer | meme...@google.com
Reply all
Reply to author
Forward
0 new messages