Algolia-Error: Cannot find module 'firebase'












0















Im following algolia documents.



https://www.algolia.com/doc/tutorials/indexing/3rd-party-service/firebase-algolia/



I did every step that document tell me to do.But It gives me error.



internal/modules/cjs/loader.js:589
throw err;
^

Error: Cannot find module 'firebase'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
at Function.Module._load (internal/modules/cjs/loader.js:513:25)
at Module.require (internal/modules/cjs/loader.js:643:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.<anonymous> (/home/ali/Desktop/algolia/index.js:3:18)
at Module._compile (internal/modules/cjs/loader.js:707:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
at Module.load (internal/modules/cjs/loader.js:605:32)
at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
at Function.Module._load (internal/modules/cjs/loader.js:536:3)


How to fix it?



this is what i got when i tried to install firebase module with npm.



error:



   node-pre-gyp WARN Using needle for node-pre-gyp https download 
node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.16.0/node-v67-linux-x64-glibc.tar.gz
node-pre-gyp WARN Pre-built binaries not found for grpc@1.16.0 and node@11.1.0 (node-v67 ABI, glibc) (falling back to source compile with node-gyp)
gyp ERR! build error
gyp ERR! stack Error: not found: make
gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:13:12)
gyp ERR! stack at F (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:68:19)
gyp ERR! stack at E (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:29)
gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:89:16
gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5
gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5
gyp ERR! stack at FSReqCallback.oncomplete (fs.js:161:21)
gyp ERR! System Linux 4.19.2-1-MANJARO
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc" "--napi_version=3" "--node_abi_napi=napi"
gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
gyp ERR! node -v v11.1.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/ali/Desktop/algolia/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
node-pre-gyp ERR! System Linux 4.19.2-1-MANJARO
node-pre-gyp ERR! command "/usr/bin/node" "/home/ali/Desktop/algolia/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
node-pre-gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
node-pre-gyp ERR! node -v v11.1.0
node-pre-gyp ERR! node-pre-gyp -v v0.10.3
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
npm WARN algolia@1.0.0 No description
npm WARN algolia@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! grpc@1.16.0 install: `node-pre-gyp install --fallback-to-build --library=static_library`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the grpc@1.16.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /home/ali/.npm/_logs/2018-11-23T17_32_22_514Z-debug.log









share|improve this question





























    0















    Im following algolia documents.



    https://www.algolia.com/doc/tutorials/indexing/3rd-party-service/firebase-algolia/



    I did every step that document tell me to do.But It gives me error.



    internal/modules/cjs/loader.js:589
    throw err;
    ^

    Error: Cannot find module 'firebase'
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
    at Function.Module._load (internal/modules/cjs/loader.js:513:25)
    at Module.require (internal/modules/cjs/loader.js:643:17)
    at require (internal/modules/cjs/helpers.js:22:18)
    at Object.<anonymous> (/home/ali/Desktop/algolia/index.js:3:18)
    at Module._compile (internal/modules/cjs/loader.js:707:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
    at Module.load (internal/modules/cjs/loader.js:605:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
    at Function.Module._load (internal/modules/cjs/loader.js:536:3)


    How to fix it?



    this is what i got when i tried to install firebase module with npm.



    error:



       node-pre-gyp WARN Using needle for node-pre-gyp https download 
    node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.16.0/node-v67-linux-x64-glibc.tar.gz
    node-pre-gyp WARN Pre-built binaries not found for grpc@1.16.0 and node@11.1.0 (node-v67 ABI, glibc) (falling back to source compile with node-gyp)
    gyp ERR! build error
    gyp ERR! stack Error: not found: make
    gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:13:12)
    gyp ERR! stack at F (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:68:19)
    gyp ERR! stack at E (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:29)
    gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:89:16
    gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5
    gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5
    gyp ERR! stack at FSReqCallback.oncomplete (fs.js:161:21)
    gyp ERR! System Linux 4.19.2-1-MANJARO
    gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc" "--napi_version=3" "--node_abi_napi=napi"
    gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
    gyp ERR! node -v v11.1.0
    gyp ERR! node-gyp -v v3.8.0
    gyp ERR! not ok
    node-pre-gyp ERR! build error
    node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
    node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/ali/Desktop/algolia/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
    node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
    node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
    node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
    node-pre-gyp ERR! System Linux 4.19.2-1-MANJARO
    node-pre-gyp ERR! command "/usr/bin/node" "/home/ali/Desktop/algolia/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
    node-pre-gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
    node-pre-gyp ERR! node -v v11.1.0
    node-pre-gyp ERR! node-pre-gyp -v v0.10.3
    node-pre-gyp ERR! not ok
    Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
    npm WARN algolia@1.0.0 No description
    npm WARN algolia@1.0.0 No repository field.

    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! grpc@1.16.0 install: `node-pre-gyp install --fallback-to-build --library=static_library`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the grpc@1.16.0 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

    npm ERR! A complete log of this run can be found in:
    npm ERR! /home/ali/.npm/_logs/2018-11-23T17_32_22_514Z-debug.log









    share|improve this question



























      0












      0








      0








      Im following algolia documents.



      https://www.algolia.com/doc/tutorials/indexing/3rd-party-service/firebase-algolia/



      I did every step that document tell me to do.But It gives me error.



      internal/modules/cjs/loader.js:589
      throw err;
      ^

      Error: Cannot find module 'firebase'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
      at Function.Module._load (internal/modules/cjs/loader.js:513:25)
      at Module.require (internal/modules/cjs/loader.js:643:17)
      at require (internal/modules/cjs/helpers.js:22:18)
      at Object.<anonymous> (/home/ali/Desktop/algolia/index.js:3:18)
      at Module._compile (internal/modules/cjs/loader.js:707:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
      at Module.load (internal/modules/cjs/loader.js:605:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
      at Function.Module._load (internal/modules/cjs/loader.js:536:3)


      How to fix it?



      this is what i got when i tried to install firebase module with npm.



      error:



         node-pre-gyp WARN Using needle for node-pre-gyp https download 
      node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.16.0/node-v67-linux-x64-glibc.tar.gz
      node-pre-gyp WARN Pre-built binaries not found for grpc@1.16.0 and node@11.1.0 (node-v67 ABI, glibc) (falling back to source compile with node-gyp)
      gyp ERR! build error
      gyp ERR! stack Error: not found: make
      gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:13:12)
      gyp ERR! stack at F (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:68:19)
      gyp ERR! stack at E (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:29)
      gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:89:16
      gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5
      gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5
      gyp ERR! stack at FSReqCallback.oncomplete (fs.js:161:21)
      gyp ERR! System Linux 4.19.2-1-MANJARO
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc" "--napi_version=3" "--node_abi_napi=napi"
      gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
      gyp ERR! node -v v11.1.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
      node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/ali/Desktop/algolia/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
      node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
      node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
      node-pre-gyp ERR! System Linux 4.19.2-1-MANJARO
      node-pre-gyp ERR! command "/usr/bin/node" "/home/ali/Desktop/algolia/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
      node-pre-gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
      node-pre-gyp ERR! node -v v11.1.0
      node-pre-gyp ERR! node-pre-gyp -v v0.10.3
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
      npm WARN algolia@1.0.0 No description
      npm WARN algolia@1.0.0 No repository field.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! grpc@1.16.0 install: `node-pre-gyp install --fallback-to-build --library=static_library`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the grpc@1.16.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/ali/.npm/_logs/2018-11-23T17_32_22_514Z-debug.log









      share|improve this question
















      Im following algolia documents.



      https://www.algolia.com/doc/tutorials/indexing/3rd-party-service/firebase-algolia/



      I did every step that document tell me to do.But It gives me error.



      internal/modules/cjs/loader.js:589
      throw err;
      ^

      Error: Cannot find module 'firebase'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:587:15)
      at Function.Module._load (internal/modules/cjs/loader.js:513:25)
      at Module.require (internal/modules/cjs/loader.js:643:17)
      at require (internal/modules/cjs/helpers.js:22:18)
      at Object.<anonymous> (/home/ali/Desktop/algolia/index.js:3:18)
      at Module._compile (internal/modules/cjs/loader.js:707:30)
      at Object.Module._extensions..js (internal/modules/cjs/loader.js:718:10)
      at Module.load (internal/modules/cjs/loader.js:605:32)
      at tryModuleLoad (internal/modules/cjs/loader.js:544:12)
      at Function.Module._load (internal/modules/cjs/loader.js:536:3)


      How to fix it?



      this is what i got when i tried to install firebase module with npm.



      error:



         node-pre-gyp WARN Using needle for node-pre-gyp https download 
      node-pre-gyp WARN Tried to download(404): https://node-precompiled-binaries.grpc.io/grpc/v1.16.0/node-v67-linux-x64-glibc.tar.gz
      node-pre-gyp WARN Pre-built binaries not found for grpc@1.16.0 and node@11.1.0 (node-v67 ABI, glibc) (falling back to source compile with node-gyp)
      gyp ERR! build error
      gyp ERR! stack Error: not found: make
      gyp ERR! stack at getNotFoundError (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:13:12)
      gyp ERR! stack at F (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:68:19)
      gyp ERR! stack at E (/usr/lib/node_modules/node-gyp/node_modules/which/which.js:80:29)
      gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/which/which.js:89:16
      gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/index.js:42:5
      gyp ERR! stack at /usr/lib/node_modules/node-gyp/node_modules/isexe/mode.js:8:5
      gyp ERR! stack at FSReqCallback.oncomplete (fs.js:161:21)
      gyp ERR! System Linux 4.19.2-1-MANJARO
      gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--library=static_library" "--module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node" "--module_name=grpc_node" "--module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc" "--napi_version=3" "--node_abi_napi=napi"
      gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
      gyp ERR! node -v v11.1.0
      gyp ERR! node-gyp -v v3.8.0
      gyp ERR! not ok
      node-pre-gyp ERR! build error
      node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
      node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/ali/Desktop/algolia/node_modules/grpc/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
      node-pre-gyp ERR! stack at ChildProcess.emit (events.js:182:13)
      node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:970:16)
      node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:257:5)
      node-pre-gyp ERR! System Linux 4.19.2-1-MANJARO
      node-pre-gyp ERR! command "/usr/bin/node" "/home/ali/Desktop/algolia/node_modules/grpc/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--library=static_library"
      node-pre-gyp ERR! cwd /home/ali/Desktop/algolia/node_modules/grpc
      node-pre-gyp ERR! node -v v11.1.0
      node-pre-gyp ERR! node-pre-gyp -v v0.10.3
      node-pre-gyp ERR! not ok
      Failed to execute '/usr/bin/node /usr/lib/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --library=static_library --module=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc/grpc_node.node --module_name=grpc_node --module_path=/home/ali/Desktop/algolia/node_modules/grpc/src/node/extension_binary/node-v67-linux-x64-glibc --napi_version=3 --node_abi_napi=napi' (1)
      npm WARN algolia@1.0.0 No description
      npm WARN algolia@1.0.0 No repository field.

      npm ERR! code ELIFECYCLE
      npm ERR! errno 1
      npm ERR! grpc@1.16.0 install: `node-pre-gyp install --fallback-to-build --library=static_library`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the grpc@1.16.0 install script.
      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

      npm ERR! A complete log of this run can be found in:
      npm ERR! /home/ali/.npm/_logs/2018-11-23T17_32_22_514Z-debug.log






      firebase algolia






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 23 '18 at 17:39







      UzaySan

















      asked Nov 23 '18 at 9:03









      UzaySanUzaySan

      808




      808
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Try using command npm-install firebase.
          It will come up with message firebase install with version.
          After that go to package.Json under dependencies add "firebase":"version number". This will solve your issue.






          share|improve this answer


























          • it doesnt work still same error i have edited my question please take a look

            – UzaySan
            Nov 23 '18 at 17:39











          Your Answer






          StackExchange.ifUsing("editor", function () {
          StackExchange.using("externalEditor", function () {
          StackExchange.using("snippets", function () {
          StackExchange.snippets.init();
          });
          });
          }, "code-snippets");

          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "1"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443491%2falgolia-error-cannot-find-module-firebase%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          0














          Try using command npm-install firebase.
          It will come up with message firebase install with version.
          After that go to package.Json under dependencies add "firebase":"version number". This will solve your issue.






          share|improve this answer


























          • it doesnt work still same error i have edited my question please take a look

            – UzaySan
            Nov 23 '18 at 17:39
















          0














          Try using command npm-install firebase.
          It will come up with message firebase install with version.
          After that go to package.Json under dependencies add "firebase":"version number". This will solve your issue.






          share|improve this answer


























          • it doesnt work still same error i have edited my question please take a look

            – UzaySan
            Nov 23 '18 at 17:39














          0












          0








          0







          Try using command npm-install firebase.
          It will come up with message firebase install with version.
          After that go to package.Json under dependencies add "firebase":"version number". This will solve your issue.






          share|improve this answer















          Try using command npm-install firebase.
          It will come up with message firebase install with version.
          After that go to package.Json under dependencies add "firebase":"version number". This will solve your issue.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Nov 23 '18 at 12:02

























          answered Nov 23 '18 at 11:54









          weknowtheweknowthe

          115




          115













          • it doesnt work still same error i have edited my question please take a look

            – UzaySan
            Nov 23 '18 at 17:39



















          • it doesnt work still same error i have edited my question please take a look

            – UzaySan
            Nov 23 '18 at 17:39

















          it doesnt work still same error i have edited my question please take a look

          – UzaySan
          Nov 23 '18 at 17:39





          it doesnt work still same error i have edited my question please take a look

          – UzaySan
          Nov 23 '18 at 17:39


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53443491%2falgolia-error-cannot-find-module-firebase%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Feedback on college project

          Futebolista

          Albești (Vaslui)