Skip to content

Development environment running issues #35

@sh4444dow

Description

@sh4444dow

Hey @jc21,

I'm trying to run docker-compose in development mode from JetBrains WebStorm IDE with exactly nginx-proxy-manager/bin/build-dev script meant for that purpose I suppose. I'm running docker-compose command from Docker for Windows in "linux containers" mode. As you may know, the bcrypt_lib.node contained in nodes_modules/bcrypt/lib/ is OS dependent, and all modules in node_modules are compiled with windows, and due to .:/app volume binding configuration in docker compose, the folder node_modules effectively 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-dev throws a third another error which is a weird thing like cannot find module '../'.

Can you please tell me in what environment you managed to run nginx-proxy-manager/bin/build-dev please ? 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions