mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-25 09:25:55 +03:00
[GH-ISSUE #35] Development environment running issues #32
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#32
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @sh4444dow on GitHub (Dec 12, 2018).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/35
Hey @jc21,
I'm trying to run
docker-composein development mode from JetBrains WebStorm IDE with exactlynginx-proxy-manager/bin/build-devscript meant for that purpose I suppose. I'm runningdocker-composecommand from Docker for Windows in "linux containers" mode. As you may know, thebcrypt_lib.nodecontained innodes_modules/bcrypt/lib/is OS dependent, and all modules innode_modulesare compiled with windows, and due to.:/appvolume binding configuration in docker compose, the foldernode_moduleseffectively compiled in windows is now in linux app container, and also contains an invalid bcrypt_lib.node, illisible by linux (Please see this link for more details about the problem).I tried to switch docker for windows into "windows containers" mode, but docker-compose for windows version is too old (1.22, expected 1.24).
I finally tried to run into an ubuntu 18.04.1 VM, and the
nginx-proxy-manager/bin/build-devthrows a third another error which is a weird thing likecannot find module '../'.Can you please tell me in what environment you managed to run
nginx-proxy-manager/bin/build-devplease ? I'm will try to do pull request about various enhancement and bugfixes, but it will be so good wether I could run it in development mode x)My windows environment
WebStorm IDE version : 11.0.1
Docker 18.09.0
Docker compose 1.23.1
Docker Machine 0.16.0
Kitematic 0.17.5
Linux Kernel 4.9.125
Sincerely,
@sh4444dow
@jc21 commented on GitHub (Dec 12, 2018):
Glad to see somone is interested in developing too :)
First, I don't actually use the
bin/build-devscript, I tried to get webpack hotloading working and I don't think it's quite right. So I usebin/buildinstead - if that one doesn't work,build-devdefinitely won't.Next, yes because you need the packages that are specific for the container using them, you have to delete your existing
node_modulesfolder and then runbin/yarn installwhich will run yarn inside the same docker container that's going to use the node packages.Let me know how you go.
@sh4444dow commented on GitHub (Dec 13, 2018):
I'll try to do that tonight =) That being said, have you managed to enable hot reload on backend and frontend in the same time ? Is this the role of
yarnactually ?Sincerely,
@sh4444dow
@jc21 commented on GitHub (Jan 4, 2019):
Reopen if you are still having issues.