frankcollins3 / ASPokedex

Pokedex with ASP backend / razor pages, and VanillaJS front end
1 stars 0 forks source link

Angular: CLI / template && Desktop/Laptop [7:57am] #33

Closed frankcollins3 closed 11 months ago

frankcollins3 commented 11 months ago

attempting to do: angular & asp app. ASP/swagger returns data from postgreSQL Angular is giving problems.

error: Screen Shot 2023-09-30 at 7 44 26 AM personal but: old hackintosh: problem is the node version 15 yields errors: "Can't use Angular with an odd numbered node version" laptop: express and the app is looking for "./utils.js" but never downloaded them.

// note: it's not the same angular. I couldn't bootstrap angular with hackintosh so used a quick template the laptop ran: npm i @angular

proposed approach: realized while typing the info above... try angular CLI ?

frankcollins3 commented 11 months ago

just realized: I hit Yes during Angular setup to configure "Angular Routing". if ASP is the backend and Angular routing handles nav routes then there isn't a need for express? [8:01am]

frankcollins3 commented 11 months ago

delete node_modules npm cache clean and friends. // note: confused because [ npm i @angular && npm i express ] first thing that this app did. why does it need a clean cache?