firebase / firebase/functions-samples

google sheet sync with firebase database

Open
#364 2 comments 0 reactions 1 assignee Claimed by @nicolasgarnier View on GitHub
Dominant language
JavaScript
Stars
12.2k
Forks
3.8k
Avg merge
1d 23h
Merged PRs (30d)
2

Description

I am trying to deploy code on firebase but, shows deployment error like:
```
Code in file index.js can't be loaded. Did you list all modules package.json in depndecies ?
Cannot find module google-auth-library.
```
Now here package.json has all modules listed
```
"dependencies": {
"firebase-admin": "~5.11.0",
"firebase-functions": "^1.0.0",
"google-auth-library": "^1.3.2",
"googleapis": "^28.1.0"
},
"private": true
}

```
also there is folder named googleapis, google-auth-library in the node_modules.
And I tried ith npm-install googleapis
and installs with version 28.1.0
And I tried ith npm-install google-auth-library
and version is 1.3.2.
then in functions folder wrote `firebase deploy --only functions`
```
it says could not install /workspace/node_modules/google-auth-library.
/workspace/node_modules/googleapis.
```
and many more errors.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.