Closed manuelquezada23 closed 5 months ago
Hi @manuelquezada23 please update @types/node
. That should resolve the issue for you.
Hi @ddelgrosso1, unfortunately after running npm update @types/node
, I am still seeing the same message. I see the error message when running npm ci; npm run build
. If it helps, this is my tsconfig.json
:
{
"compilerOptions": {
"outDir": "./dist/",
"noImplicitAny": false,
"sourceMap": true,
"module": "commonjs",
"esModuleInterop": true,
"resolveJsonModule": true,
"allowSyntheticDefaultImports": true,
"target": "ES2017",
"jsx": "react",
"allowJs": true,
"moduleResolution": "node",
"experimentalDecorators": true,
"useDefineForClassFields": true
}
}
@manuelquezada23 what version of @types/node
did you update to?
I am using ^13.13.52
. It shows up under devDependencies
in my package.json
:
...
"devDependencies": {
"@types/body-parser": "^1.19.0",
"@types/cors": "^2.8.12",
"@types/express": "^4.17.12",
"@types/jest": "^27.0.1",
"@types/lodash": "^4.14.171",
"@types/mongodb": "^3.5.27",
"@types/node": "^13.13.52",
"@types/uniqid": "^5.3.2"
},
...
I was able to fix it by updating it to ^20.11.0
. Thank you!
I am getting this error from @google-cloud/storage when using the
firebase
andfirebase-admin
modules. Any ideas what is going on?I am using Typescript. This is my package.json: