cartant / firebase-nightlight

An in-memory, JavaScript mock for the Firebase Web API
https://cartant.github.io/firebase-nightlight/
Other
37 stars 8 forks source link

3.1.1 firebase-interface.ts not found after npm install #51

Closed takutoarao closed 5 years ago

takutoarao commented 5 years ago

I execute npm install , but firebase-interface.ts not found.

Did you forget to run npm publish?

jairmilanes commented 5 years ago

Same here, Jest error says Cannot find module 'firebase' from 'mock.js'.

Problem is that firebase-interfaces is a js file and is not being processed by the tsc compiler, I created a pull request with a possible fix #53

cartant commented 5 years ago

This should be fixed in 3.1.2.

Sorry not to notice your opening of this issue, @takutoarao