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

Followed the docs but I got the below error #4

Open
davidmontgom opened this issue Mar 18, 2018 · 1 comment
Open

Followed the docs but I got the below error #4

davidmontgom opened this issue Mar 18, 2018 · 1 comment

Comments

@davidmontgom
Copy link

/angular-universal-firebase/functions/index.js:12
const functions = require('firebase-functions');
^
SyntaxError: Identifier 'functions' has already been declared
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:545:28)
at Object.Module._extensions..js (module.js:582:10)
at Module.load (module.js:490:32)
at tryModuleLoad (module.js:449:12)
at Function.Module._load (module.js:441:3)
at Module.require (module.js:500:17)
at require (internal/module.js:20:19)
at /usr/local/lib/node_modules/firebase-tools/lib/triggerParser.js:18:11
at Object. (/usr/local/lib/node_modules/firebase-tools/lib/triggerParser.js:38:3)

@davidmontgom
Copy link
Author

resolved it works

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

1 participant