module.d.ts not found after creating local module

Created a local module with the OGB CLI and running into a filepath issue involving the "module.d.ts" file for "ScriptContext"
No description
8 Replies
Nathan
Nathan2y ago
hmm - is opengb dev running? - is the module listed in your registry? it'll be "../module.ts" too btw
brendanthebigboi
brendanthebigboiOP2y ago
It's just what it auto generated as opengb dev is not running one sec and yeah it's listed
brendanthebigboi
brendanthebigboiOP2y ago
I'm not sure what to do for this, this is when running opengb dev
No description
brendanthebigboi
brendanthebigboiOP2y ago
it created module.gen.ts so should it be that
No description
brendanthebigboi
brendanthebigboiOP2y ago
ok it's fixed thanks Does opengb have to be ran in order for the module.gen.ts file to be created?
Nathan
Nathan2y ago
yes. you can also run opengb build
brendanthebigboi
brendanthebigboiOP2y ago
alright

Did you find this page helpful?