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

Cannot find module 'firebase/app' #15

Closed
hooh88 opened this issue Aug 15, 2018 · 11 comments
Closed

Cannot find module 'firebase/app' #15

hooh88 opened this issue Aug 15, 2018 · 11 comments

Comments

@hooh88
Copy link

hooh88 commented Aug 15, 2018

Hi
After run ng serve the error below is displayed :

ERROR in node_modules/angularfire2/auth/auth.d.ts(1,27): error TS2307: Cannot find module 'firebase/app'.
node_modules/angularfire2/database/database.d.ts(1,26): error TS2307: Cannot find module 'firebase/app'.
node_modules/angularfire2/database/interfaces.d.ts(1,27): error TS2307: Cannot find module 'firebase/app'.
node_modules/angularfire2/database/list/audit-trail.d.ts(3,26): error TS2307: Cannot find module 'firebase/app'.
node_modules/angularfire2/database/list/state-changes.d.ts(3,26): error TS2307: Cannot find module 'firebase/app'.
node_modules/angularfire2/firebase.app.module.d.ts(3,27): error TS2307: Cannot find module 'firebase/app'.

@harikrishna266
Copy link
Member

Do you have this issue on the latest pull?

@hooh88
Copy link
Author

hooh88 commented Aug 16, 2018

Yes

@harikrishna266
Copy link
Member

harikrishna266 commented Aug 23, 2018

Sorry about the late response, Is this issue still there?

@kamleshkatpara
Copy link

@harikrishna266 Yes, even I faced the same issue after cloning your repo, I tried npm install and then ng server gives that error

@harikrishna266
Copy link
Member

can you try this.

@kamleshkatpara
Copy link

@harikrishna266 try what ?

@harikrishna266
Copy link
Member

harikrishna266 commented Aug 24, 2018

@kamleshkatpara sorry did not realise that the copy paste did not work
try this.
https://stackoverflow.com/questions/47920838/typescript-error-cannot-find-module-firebase-app

@kamleshkatpara
Copy link

@harikrishna266 Nope, still not working, can you try to clone this repo on your end and check whether it works ?

@kamleshkatpara
Copy link

kamleshkatpara commented Aug 24, 2018

ERROR in ./src/theme/theme.scss (./node_modules/raw-loader!./node_modules/postcs
s-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!./src
/theme/theme.scss)
Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\cdk-a
dmin\node_modules\node-sass\vendor'
    at Object.readdirSync (fs.js:759:3)
    at Object.getInstalledBinaries (D:\cdk-admin\node_modules\node-sass\lib\exte
nsions.js:129:13)
    at foundBinariesList (D:\cdk-admin\node_modules\node-sass\lib\errors.js:20:1
5)
    at foundBinaries (D:\cdk-admin\node_modules\node-sass\lib\errors.js:15:5)
    at Object.module.exports.missingBinary (D:\cdk-admin\node_modules\node-sass\
lib\errors.js:45:5)
    at module.exports (D:\cdk-admin\node_modules\node-sass\lib\binding.js:15:30)

    at Object.<anonymous> (D:\cdk-admin\node_modules\node-sass\lib\index.js:14:3
5)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (D:\cdk-admin\node_modules\sass-loader\lib\loader.js:3
:14)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
ERROR in ./src/theme/typography.scss (./node_modules/raw-loader!./node_modules/p
ostcss-loader/lib??embedded!./node_modules/sass-loader/lib/loader.js??ref--15-3!
./src/theme/typography.scss)
Module build failed: Error: ENOENT: no such file or directory, scandir 'D:\cdk-a
dmin\node_modules\node-sass\vendor'
    at Object.readdirSync (fs.js:759:3)
    at Object.getInstalledBinaries (D:\cdk-admin\node_modules\node-sass\lib\exte
nsions.js:129:13)
    at foundBinariesList (D:\cdk-admin\node_modules\node-sass\lib\errors.js:20:1
5)
    at foundBinaries (D:\cdk-admin\node_modules\node-sass\lib\errors.js:15:5)
    at Object.module.exports.missingBinary (D:\cdk-admin\node_modules\node-sass\
lib\errors.js:45:5)
    at module.exports (D:\cdk-admin\node_modules\node-sass\lib\binding.js:15:30)

    at Object.<anonymous> (D:\cdk-admin\node_modules\node-sass\lib\index.js:14:3
5)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:20:18)
    at Object.<anonymous> (D:\cdk-admin\node_modules\sass-loader\lib\loader.js:3
:14)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
ERROR in node_modules/angularfire2/firebase.app.module.d.ts(5,22): error TS2420:
 Class 'FirebaseApp' incorrectly implements interface 'App'.
  Property 'functions' is missing in type 'FirebaseApp'.

i ?wdm?: Failed to compile.

@yeshwanthmn
Copy link

Can I add bootstrap in this theme

@Xonshiz
Copy link

Xonshiz commented Jan 10, 2019

Why was this closed? I've cloned this repo and I'm still facing this issue. Unfortunately, that StackoverFlow link doesn't help either.

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

5 participants