skip to Main Content

Importing "firebase/app" Module not found: Error: Default condition should be last one

Hi I'm starting with webpack and firebase. Everytime when I do : import { initializeApp } from "firebase/app"; This is the error: File structure: index.html: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>WElcome</title>…

VIEW QUESTION

Visual Studio Code – Npm install and vi fails

Recently I have had some problems regarding basic npm commands. I have the following package.json: { "name": "bundle", "version": "1.0.0", "description": "", "main": "webpack.config.js", "author": "", "license": "ISC", "scripts": { "install": "npm i", "bundle": "webpack", "watch": "webpack --mode=development --watch" },…

VIEW QUESTION
Back To Top
Search