Comments (6)
I also happened to have this problem, and I just recently downloaded firebase.
So, I decided to dig around in the code and found that it was trying to look for the path google\api\annotations.proto
by going through the parent directories of ...\functions\node_modules\@google-cloud\firestore\protos\google\firestore\v1beta1\firestore.proto
(which I believe was the previous include?), but since the annotations.proto
was inside ...\node_modules\google-proto-files\google\api\annotations.proto
it couldn't be found that way.
I did a temporary fix where I copied the google
folder from inside google-proto-files
outside into node_modules
(which got rid of the error), but I think it has to do with the includePath
passed to grpc.js
. Is this error due to some version mismatch on my side?
Thank you so much!
from nodejs-firestore.
globby
should be replaced in the most recent versions. :)
from nodejs-firestore.
Can you please provide the output of npm list
? You should see a dependency on [email protected]
, which contains the missing file.
from nodejs-firestore.
Hi,
Here is a snippet of npm list.
Just as an update, I have pulled our repo onto a completely new machine and am still getting the same problems.
├─┬ [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ └─┬ [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├─┬ [email protected]
│ │ │ │ │ ├─┬ @mrmlnc/[email protected]
│ │ │ │ │ │ ├── [email protected]
│ │ │ │ │ │ └── [email protected]
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected] deduped
│ │ │ │ │ ├── [email protected]
│ │ │ │ │ └── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected] deduped
│ │ │ │ ├── [email protected]
│ │ │ │ └── [email protected]
│ │ │ ├── [email protected] deduped
│ │ │ ├─┬ [email protected]
from nodejs-firestore.
Hey @hrandeniya, @schmidt-sebastian, I think I found the root cause of this issue: special characters in the user's project path cause globby to fail to expand the include paths so grpc can't find the proto files. In this specific case it exhibits the same cause as me: the Dropbox folder has an extra (something)
in its name, and the parenthesis is throwing globby pattern matching off.
See googleapis/nodejs-datastore#297
from nodejs-firestore.
Thank you for your update! We will look at this internally and can hopefully address this soon.
from nodejs-firestore.
Related Issues (20)
- Setting Firestore databaseId HOT 2
- Client initialization: succeeds for DocumentReference.set() failed HOT 1
- count queries using aggregate api: "after each" hook for "counts with startAt, endAt and offset with DocumentReference cursor" failed
- count queries using aggregate api: "after each" hook for "counts multiple documents with filter" failed
- Aggregation queries: "after each" hook for "performs sum that is negative" failed
- Using document set function, got Error: 5 NOT_FOUND HOT 1
- Improve network latency of `runTransaction()` routine HOT 4
- Aggregation queries: "after each" hook for "performs sum only on numeric fields" failed
- FieldPath only escapes the first `\` and '`', resulting in INVALID_ARGUMENT response HOT 1
- [Firestore] `where` should use a "type safe" approach HOT 1
- Query class: can query by FieldPath.documentId() failed HOT 1
- Firestore Timestamp toMills() not working HOT 1
- Improve TS HOT 1
- When support for range and inequality filters on multiple fields in a single query and support for query explain will be added to the library? HOT 1
- Deprecation warning for servicePath can't be resolved in TypeScript. HOT 1
- Client initialization: succeeds for CollectionReference.get() failed HOT 1
- Firestore class: getAll() supports array destructuring with field mask failed HOT 1
- Types file for ImportDocumentsRequest does not match published doc HOT 1
- Aggregation queries Aggregation queries - sum / average using aggregate() api: can perform max (5) aggregations failed HOT 1
- Query class: limitToLast() supports Query cursors failed HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejs-firestore.