firebase-tools: Not able to create a new project

[REQUIRED] Environment info

firebase-tools: 7.15.0

Platform: linux

[REQUIRED] Test case

$ firebase projects:create
? Please specify a unique project id (warning: cannot be modified afterward) [6-30 characters]:
 bird-test
? What would you like to call your project? (defaults to your project ID) Bird Com
✖ Creating Google Cloud Platform project

Error: Failed to create Google Cloud project. See firebase-debug.log for more info.

[REQUIRED] Steps to reproduce

firebase projects:create

[REQUIRED] Expected behavior

Create new firebase project

[REQUIRED] Actual behavior

Showing Error:

✖ Creating Google Cloud Platform project

Error: Failed to create Google Cloud project. See firebase-debug.log for more info.
[2020-03-16T13:06:26.340Z] ----------------------------------------------------------------------
[2020-03-16T13:06:26.342Z] Command:       /usr/bin/node /usr/bin/firebase projects:create --debug
[2020-03-16T13:06:26.343Z] CLI Version:   7.15.0
[2020-03-16T13:06:26.343Z] Platform:      linux
[2020-03-16T13:06:26.343Z] Node Version:  v10.16.0
[2020-03-16T13:06:26.343Z] Time:          Mon Mar 16 2020 18:36:26 GMT+0530 (India Standard Time)
[2020-03-16T13:06:26.343Z] ----------------------------------------------------------------------
[2020-03-16T13:06:26.343Z] 
[2020-03-16T13:06:26.347Z] > command requires scopes: ["email","openid","https://www.googleapis.com/auth/cloudplatformprojects.readonly","https://www.googleapis.com/auth/firebase","https://www.googleapis.com/auth/cloud-platform"]
[2020-03-16T13:06:26.347Z] > authorizing via signed-in user
? Please specify a unique project id (warning: cannot be modified afterward) [6-30 characters]:
 bird-test
? What would you like to call your project? (defaults to your project ID) 
⠋ Creating Google Cloud Platform project[2020-03-16T13:06:33.371Z] >>> HTTP REQUEST POST https://cloudresourcemanager.googleapis.com/v1/projects  
 projectId=bird-test, name=bird-test, parent=undefined
⠧ Creating Google Cloud Platform project[2020-03-16T13:06:35.604Z] <<< HTTP RESPONSE 409 vary=X-Origin, Referer, Origin,Accept-Encoding, content-type=application/json; charset=UTF-8, date=Mon, 16 Mar 2020 13:06:35 GMT, server=ESF, cache-control=private, x-xss-protection=0, x-frame-options=SAMEORIGIN, x-content-type-options=nosniff, server-timing=gfet4t7; dur=1658, alt-svc=quic=":443"; ma=2592000; v="46,43",h3-Q050=":443"; ma=2592000,h3-Q049=":443"; ma=2592000,h3-Q048=":443"; ma=2592000,h3-Q046=":443"; ma=2592000,h3-Q043=":443"; ma=2592000, accept-ranges=none, transfer-encoding=chunked
[2020-03-16T13:06:35.605Z] <<< HTTP RESPONSE BODY code=409, message=Requested entity already exists, status=ALREADY_EXISTS
[2020-03-16T13:06:35.613Z] HTTP Error: 409, Requested entity already exists
✖ Creating Google Cloud Platform project
[2020-03-16T13:06:36.512Z] FirebaseError: HTTP Error: 409, Requested entity already exists
    at module.exports (/usr/lib/node_modules/firebase-tools/lib/responseToError.js:38:12)
    at Request._callback (/usr/lib/node_modules/firebase-tools/lib/api.js:39:35)
    at Request.self.callback (/usr/lib/node_modules/firebase-tools/node_modules/request/request.js:185:22)
    at Request.emit (events.js:198:13)
    at Request.EventEmitter.emit (domain.js:448:20)
    at Request.<anonymous> (/usr/lib/node_modules/firebase-tools/node_modules/request/request.js:1154:10)
    at Request.emit (events.js:198:13)
    at Request.EventEmitter.emit (domain.js:448:20)
    at IncomingMessage.<anonymous> (/usr/lib/node_modules/firebase-tools/node_modules/request/request.js:1076:12)
    at Object.onceWrapper (events.js:286:20)
    at IncomingMessage.emit (events.js:203:15)
    at IncomingMessage.EventEmitter.emit (domain.js:448:20)
    at endReadableNT (_stream_readable.js:1129:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)

Error: Failed to create Google Cloud project. See firebase-debug.log for more info.

Output of firebase projects:list

✔ Preparing the list of your Firebase projects
No projects found.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (5 by maintainers)

Most upvoted comments

@monticp could be! I would suggest creating your project in the Firebase console in that case.

I’ve faced same issues! ? Please specify a unique project id (warning: cannot be modified afterward) [6-30 characters]: RNTStudentsWeb ? What would you like to call your project? (defaults to your project ID) × Creating Google Cloud Platform project

Error: Failed to create project. See firebase-debug.log for more info.

I had the same issue , I disconnected my vpn and it worked right away