stack icon indicating copy to clipboard operation
stack copied to clipboard

Cannot set property 'proxyConfig' of undefined

Open vantk85 opened this issue 4 years ago • 8 comments

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

  • Version used: 4.21.0
  • Operating System and version (desktop or mobile): Windows 10

vantk85 avatar May 28 '21 05:05 vantk85

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

beeman avatar May 28 '21 14:05 beeman

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

ruslanguns avatar May 29 '21 21:05 ruslanguns

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 avatar May 29 '21 21:05 beeman

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

beeman avatar Jun 01 '21 01:06 beeman

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?

CsarDev avatar Sep 16 '21 04:09 CsarDev

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 🥳

beeman avatar Oct 20 '21 22:10 beeman

@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. ❤️

ruslanguns avatar Oct 21 '21 07:10 ruslanguns

@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 )

CsarDev avatar Oct 22 '21 03:10 CsarDev