Skip to content

Getting: Error: Cannot find module '@firebase/component' on 8.6.0 #714

Closed
@cgarg

Description

@cgarg

After moving to 8.8.0 and reverting back to 8.6.0 started getting the following error:

Error: Cannot find module '@firebase/component'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:571:15)
at Function.Module._load (internal/modules/cjs/loader.js:497:25)
at Module.require (internal/modules/cjs/loader.js:626:17)
at require (internal/modules/cjs/helpers.js:20:18)
at Object. (/opt/deployment/production/longwalks_666/node_modules/@firebase/database/dist/index.node.cjs.js:9:17)
at Module._compile (internal/modules/cjs/loader.js:678:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:689:10)
at Module.load (internal/modules/cjs/loader.js:589:32)
at tryModuleLoad (internal/modules/cjs/loader.js:528:12)

NPM verstion: 6.4.1
Node Version: 10.14.2

Have tried npm uninstall and reinstall removing the lock file.

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions