Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

code: 'ERR_INVALID_ARG_TYPE' #10

Open
bfraiman opened this issue Mar 6, 2021 · 1 comment
Open

code: 'ERR_INVALID_ARG_TYPE' #10

bfraiman opened this issue Mar 6, 2021 · 1 comment

Comments

@bfraiman
Copy link

bfraiman commented Mar 6, 2021

When I run yarn startdev i have this issue:

yarn run v1.22.10
$ nodemon --exec babel-node ./src/bin/www
[nodemon] 2.0.7
[nodemon] reading config ./nodemon.json
[nodemon] to restart at any time, enter rs
[nodemon] or send SIGHUP to 93575 to restart
[nodemon] ignoring: *.test.js .spec.js
[nodemon] watching path(s): .env package.json nodemon.json .eslintrc.json .babelrc src/**/

[nodemon] watching extensions: js,mjs,json
[nodemon] starting babel-node ./src/bin/www.js
[nodemon] spawning
[nodemon] child pid: 93581
[nodemon] watching 20 files
node:internal/validators:129
throw new ERR_INVALID_ARG_TYPE(name, 'string', value);
^

TypeError [ERR_INVALID_ARG_TYPE]: The "id" argument must be of type string. Received undefined
at new NodeError (node:internal/errors:329:5)
at validateString (node:internal/validators:129:11)
at Module.require (node:internal/modules/cjs/loader:988:3)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (/Users/bfraiman/Desktop/Workspace/admin/example/packages/server/src/firebaseInit.js:5:24)
at Module._compile (node:internal/modules/cjs/loader:1091:14)
at Module._compile (/Users/bfraiman/Desktop/Workspace/admin/example/node_modules/pirates/lib/index.js:99:24)
at Module._extensions..js (node:internal/modules/cjs/loader:1120:10)
at Object.newLoader [as .js] (/Users/bfraiman/Desktop/Workspace/admin/example/node_modules/pirates/lib/index.js:104:7)
at Module.load (node:internal/modules/cjs/loader:971:32) {
code: 'ERR_INVALID_ARG_TYPE'
}
[nodemon] app crashed - waiting for file changes before starting...

@wasif-ahmed
Copy link

facing same issue, has any one found the solution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants