暗いところで

in a dark place

→ 暗い
phrase Rare #30,581
in a dark place ところ means “place” here; で marks where an action or situation takes place.
JA: 暗いところでスマホを使わないでください。
EN: Please don’t use your phone in a dark place.

目に悪いから暗いところで本を読んではいけない。

You shouldn't read in dim light because it's bad for your eyes.

暗いところで本を読んではいけません。

You must not read books in the dark.

暗いところでオモチャの銃が本物に見えた

In the dark, the toy gun looked real.

— ダイ・ハード (1988)