leahkatherine / react-monorepo

0 stars 0 forks source link

BUG: React-is-not-defined #40

Open leahkatherine opened 7 months ago

leahkatherine commented 7 months ago

console error: {"level":50,"time":1705887764930,"pid":13288,"hostname":"LAPTOP-CPFDCM6J","err":{"type":"ReferenceError","message":"React is not defined","stack":"ReferenceError: React is not defined\n at Object. (C:\Users\Leahanestos\Desktop\Projects\react-monorepo\libs\web\design-system\src\lib\components\icons\action\ArrowDownIcon.tsx:4:3)\n at Module._compile (node:internal/modules/cjs/loader:1356:14)\n at Object.Module._extensions..js (node:internal/modules/cjs/loader:1414:10)\n at Module.load (node:internal/modules/cjs/loader:1197:32)\n at Function.Module._load (node:internal/modules/cjs/loader:1013:12)\n at Function.Module._load (C:\Users\Leahanestos\Desktop\Projects\react-monorepo\node_modules\@nx\js\src\executors\node\node-with-require-overrides.js:18:31)\n at Module.require (node:internal/modules/cjs/loader:1225:19)\n at require (node:internal/modules/helpers:177:18)\n at Object. (C:\Users\Leahanestos\Desktop\Projects\react-monorepo\libs\web\design-system\src\lib\components\icons\action\index.tsx:2:15)\n at Module._compile (node:internal/modules/cjs/loader:1356:14)"},"msg":"React is not defined"}

leahkatherine commented 7 months ago

Issue is still unresolved. I have updated my web development environment with MAC os. Going to try a few things before I scrap and start over.

leahkatherine commented 6 months ago

Server is not connecting because of Docker - Need to figure out the docker file for the front end, and test. However, WE need to figure out why backend isn't working to atleast receive calls. Docker issue, or no?