ERROR in ./src/Login.js 8:0-32
Module not found: Error: Package path . is not exported from package F:\React\amazon-clone\node_modules\firebase (see exports field in F:\React\amazon-clone\node_modules\firebase\package.json)
Did you mean './firebase'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (node_modules, F:\React\amazon-clone\node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.
webpack compiled with 1 error and 1 warning
ERROR in ./src/Login.js 8:0-32
Module not found: Error: Package path . is not exported from package F:\React\amazon-clone\node_modules\firebase (see exports field in F:\React\amazon-clone\node_modules\firebase\package.json)
Did you mean './firebase'?
Requests that should resolve in the current directory need to start with './'.
Requests that start with a name are treated as module requests and resolve within module directories (node_modules, F:\React\amazon-clone\node_modules).
If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too.
webpack compiled with 1 error and 1 warning