How to use D on M2 macOS?

Albert albeva at me.com
Mon Jul 21 16:42:31 UTC 2025


On Monday, 21 July 2025 at 16:24:31 UTC, Luna wrote:
> The script works by adding a special startup script to your 
> shell session; as such you may need to restart your mac for it 
> to fully work.

I've tried everything I can think of, now getting the following 
errors:

```
Could not initialize dub for /Users/albert/Developer/lbc-d. 
Falling back to limited functionality! Cannot use dub with 
invalid configuration, cannot list import paths needed for build 
and auto-complete. Selected config: '' (targetType: autodetect) - 
available: ["application", "library"] Try selecting a different 
configuration.
```

Sorry to be blunt, but not great first impression so far. I'm 
still trying to make this work, but stuck with no clue...


More information about the Digitalmars-d-learn mailing list