I'd really like to try out the app that you built, but I'm having trouble setting it up.
After running npm install and npm start the app throws a bunch of module not found errors.
Is it possible that some files aren't included in the repo?
`Module not found: Can't resolve './config'
22 | } = require("firebase/app-check");
23 | import Icon from "react-native-vector-icons/MaterialCommunityIcons";
24 | import config from "./config";
25 | import AsyncStorage from "@react-native-async-storage/async-storage";
26 |
27 | const firebaseConfig = {
./Home copy.js:65
Module not found: Can't resolve './config'
63 | import { FloatingMenu } from "react-native-floating-action-menu";
64 | import Icon from "react-native-vector-icons/MaterialCommunityIcons";
65 | import config from "./config";
66 | import { Web3Storage, File } from "web3.storage";
67 | import copy from "copy-to-clipboard";
68 |
./node_modules/web3.storage/src/platform.web.js:2
Module not found: Can't resolve 'ipfs-car/blockstore/memory'
1 | // TODO: Use indexedDb
2 | import { MemoryBlockStore } from 'ipfs-car/blockstore/memory'
3 |
4 | export const fetch = globalThis.fetch
5 | export const Request = globalThis.Request
./node_modules/web3.storage/src/lib.js:18
Module not found: Can't resolve 'ipfs-car/pack'
16 | import { transform } from 'streaming-iterables'
17 | import pRetry from 'p-retry'
18 | import { pack } from 'ipfs-car/pack'
19 | import { parseLinkHeader } from '@web3-storage/parse-link-header'
20 | import { unpackStream } from 'ipfs-car/unpack'
21 | import { TreewalkCarSplitter } from 'carbites/treewalk'
./node_modules/web3.storage/src/lib.js:20
Module not found: Can't resolve 'ipfs-car/unpack'
18 | import { pack } from 'ipfs-car/pack'
19 | import { parseLinkHeader } from '@web3-storage/parse-link-header'
20 | import { unpackStream } from 'ipfs-car/unpack'
21 | import { TreewalkCarSplitter } from 'carbites/treewalk'
22 | import { CarReader } from '@ipld/car'
23 | import { filesFromPath, getFilesFromPath } from 'files-from-path'
`
Watch firebase sdk docs on how to connect a firebase project with a web app. The "./config" is a javascript file containing the API to your databases and services in firebase.
Hi @vincenzoAiello ,
I'd really like to try out the app that you built, but I'm having trouble setting it up. After running npm install and npm start the app throws a bunch of module not found errors. Is it possible that some files aren't included in the repo?
`Module not found: Can't resolve './config' 22 | } = require("firebase/app-check"); 23 | import Icon from "react-native-vector-icons/MaterialCommunityIcons";