You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Herror I have a bug I try to solved it but I don't have any clue,
I installed firebase globaly
I create my front end project
I went to firebase console on my navigator
I created my project
I tryed to link it by doing:
* firebase init
* Are you ready to proceed? Y (I pressed enter key)
* Then I selected my features (I pressed enter key)
* Use an existing project (I pressed enter key)
* And when I arrive to this step: What file should be used for Firestore Rules? (firestore.rules) and press enter I have the following error
and know this is the bug I am facing
[debug] [2025-05-10T16:26:05.034Z] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.isAbsolute (node:path:452:5)
at Config.path (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\config.js:130:18)
at Config.writeProjectFile (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\config.js:162:32)
at C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\firestore\rules.js:37:23
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async doSetup (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\firestore\index.js:48:5)
at async init (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\index.js:41:9)
at async Command.initAction [as actionFn] (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\commands\init.js:188:5)
The text was updated successfully, but these errors were encountered:
bubulbobul
changed the title
TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
Firebase init a project TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
May 10, 2025
Herror I have a bug I try to solved it but I don't have any clue,
I installed firebase globaly
I create my front end project
I went to firebase console on my navigator
I created my project
I tryed to link it by doing:
* firebase init
* Are you ready to proceed? Y (I pressed enter key)
* Then I selected my features (I pressed enter key)
* Use an existing project (I pressed enter key)
* And when I arrive to this step: What file should be used for Firestore Rules? (firestore.rules) and press enter I have the following error
and know this is the bug I am facing
[debug] [2025-05-10T16:26:05.034Z] TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received undefined
at Object.isAbsolute (node:path:452:5)
at Config.path (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\config.js:130:18)
at Config.writeProjectFile (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\config.js:162:32)
at C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\firestore\rules.js:37:23
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async doSetup (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\features\firestore\index.js:48:5)
at async init (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\init\index.js:41:9)
at async Command.initAction [as actionFn] (C:\Users\winda\AppData\Roaming\npm\node_modules\firebase-tools\lib\commands\init.js:188:5)
The text was updated successfully, but these errors were encountered: