Skip to main content
Up and Coming
October 6, 2025
Solved

"Cannot find module 'horizon/npc' or its corresponding type declarations."

Im trying to use the NPC API but its not available to activate in my world's API settings. The npc module loads correctly in the Profit or Perish template but cant be added to any other world?

jackmw94
jackmw94Answer
Inspiring
October 7, 2025

This is one of Horizon's toggleable APIs.

Go to "Scripts {}" => "Settings (cog)" => "API" then toggle horizon/npc. Then recompile and you should be in business 👍

3 replies

jackmw94
jackmw94Answer
Inspiring
October 7, 2025

This is one of Horizon's toggleable APIs.

Go to "Scripts {}" => "Settings (cog)" => "API" then toggle horizon/npc. Then recompile and you should be in business 👍

Up and Coming
October 7, 2025

Thanks, but it seems like its actually not there in the list -   is this still a gradual rollout?

 

jackmw94
Inspiring
October 7, 2025

Apologies, just reread your whole question!