nxpm / stack

🥭 nxpm-stack lets you generate a complete and opinionated full-stack application in a Nx Workspace, ready to extend and deploy!
https://npm.im/@nxpm/stack
MIT License
108 stars 14 forks source link

Cannot set property 'proxyConfig' of undefined #143

Open vantk85 opened 3 years ago

vantk85 commented 3 years ago

Error Cannot set property 'proxyConfig' of undefined when initialize new nxpm workspace

Expected Behavior

The inittialize new nxpm workspace should be success when run the init command

nxpm-stack init --name sandbox

Current Behavior

Cannot create the new workspace because below error: image

Your Environment

beeman commented 3 years ago

Hi @vantk85, thanks for creating this issue. I'm going to look into this over the weekend!

ruslanguns commented 3 years ago

Hi @beeman thanks for feedback, I have also reproduced the issue using Yarn, NPM and PNPM. Same error!

I think this is also related to #142

beeman commented 3 years ago

Hi @beeman thanks for feedback, I have also reproduced the issue using Yarn, NPM and PNPM. Same error!

Thanks @ruslanguns - I'm actually debugging it. Hope to have a fix out tomorrow.

I think this is also related to #142

I doubt about this one as I could not reproduce it on my machine.

beeman commented 3 years ago

Time for heads-up, this turned out to be a snake-pit of issues. I'm probably going to move the project over to a new workspace based on the latest Nx 12, but this will be a weekend project.

For now, if you like to get started building with nxpm-stack, I suggest to clone the latest build and start with that: https://github.com/nxpm/stack-v4210

CsarDev commented 3 years ago

Hi @beeman I have the same issue and use stack-v4210. this works but how can I change the name of NX workspace and all apps, libs, folders, modules names, importing pathss and NX setting etc in the same workspace, same location only diferent name?

beeman commented 3 years ago

Hey all - it took a while but I finally got to re-building NXPM on Nx 12 13 with Angular 12 on board!

It's published to npm under the next tag.

You can run it using the following commands:

npm install -g @nxpm/cli@next

Initialize new project

# --skip-mobile is needed because it doesn't work with Nx 13 yet 
nxpm-stack init --name my-next-app --tag next --skip-mobile true 

Please give it a spin if you have the time. If nothing breaks, this should land as version 5.0.0 by the end of this week 🥳

ruslanguns commented 3 years ago

@beeman, it's working like a charm. Installation just took more than what I expected but probably because my wifi connectivity. I will keep testing it deeper and will keep you informed. ❤️

CsarDev commented 3 years ago

@beeman its works for me thanks for fix this. I have a question about this stack , Can we use a database with tables and relation cretaed in postgres and use this inside the panng stack use introspection in prisma (pull in prisma )