skip to Main Content

dockerised react.js app, module not found

I need to dockerize my react app, but incurring in some troubles: Compiled with problems: ERROR in ./node_modules/graphql-tag/lib/index.js 2:0-32 Module not found: Error: Can't resolve 'graphql' in '/app/node_modules/graphql-tag/lib' ERROR in ./node_modules/@apollo/client/core/LocalState.js 3:0-39 Module not found: Error: Can't resolve 'graphql' in…

VIEW QUESTION

my app routs me to a page, but i cant access it directly – Nginx

i have setup a link that routes me to an about page (about.js): import React,{useState,useEffect} from 'react'; import Link from 'next/link' ///------------------------PAGES-------------------------------/// import {default as Main} from '../app/sections/Main.js' export default function Home() { const [site, setSite] = useState('down'); const mainprops…

VIEW QUESTION
Back To Top
Search