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

Error on npm run serve:dev #2

Open
Utkarshbhimte opened this issue Aug 16, 2020 · 1 comment
Open

Error on npm run serve:dev #2

Utkarshbhimte opened this issue Aug 16, 2020 · 1 comment
Labels
question Further information is requested

Comments

@Utkarshbhimte
Copy link

Node version:

v12.18.2

package.json

"dependencies": {
    "cors": "2.8.4",
    "firebase-admin": "^9.1.0",
    "firebase-functions": "^3.9.1"
  },
  "devDependencies": {
    "tslint": "5.11.0",
    "typescript": "3.0.3",
    "concurrently": "4.0.1",
    "@types/cors": "2.8.4",
    "@types/chai": "4.1.4",
    "@types/mocha": "5.2.5",
    "@types/sinon": "5.0.2",
    "@types/sinon-chai": "3.2.0",
    "chai": "4.1.2",
    "mocha": "5.2.0",
    "ts-node": "7.0.1",
    "sinon": "6.1.5",
    "sinon-chai": "3.2.0",
    "rollup": "0.65.0",
    "rollup-plugin-node-resolve": "3.3.0",
    "rimraf": "2.6.2"
  },
18:31:47 - File change detected. Starting incremental compilation...
[0] 
[0] node_modules/firebase-functions/lib/function-configuration.d.ts(4,64): error TS1005: ']' expected.
[0] node_modules/firebase-functions/lib/function-configuration.d.ts(4,66): error TS1134: Variable declaration expected.
[0] node_modules/firebase-functions/lib/function-configuration.d.ts(4,366): error TS1005: ';' expected.
[0] node_modules/firebase-functions/lib/function-configuration.d.ts(16,61): error TS1005: ']' expected.
[0] node_modules/firebase-functions/lib/function-configuration.d.ts(16,63): error TS1134: Variable declaration expected.
[0] node_modules/firebase-functions/lib/function-configuration.d.ts(16,93): error TS1005: ';' expected.
[0] 
[0] 18:31:47 - Found 6 errors. Watching for file changes.

image

I get this error on npm run serve:dev, any idea why this is happening?

@robisim74
Copy link
Owner

Never seen this error. Something like this issue can be found here: try updating the TypeScript version.

@robisim74 robisim74 added the question Further information is requested label Aug 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants