Cannot set property 'proxyConfig' of undefined
vantk85 opened this issue ยท 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:
Your Environment
- Version used: 4.21.0
- Operating System and version (desktop or mobile): Windows 10
Hi @vantk85, thanks for creating this issue. I'm going to look into this over the weekend!
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.
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
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?
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, 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. โค๏ธ