-
-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom registry must have get
function
#83
Comments
custom registries are a very advanced feature. You probably don't want to be using them. |
@stefanstranger I ran into this error as well. I am not sure how your folder structure is setup but here is mine:
In my
Then in my
The problem was how the Gulp tasks were being exposed in
So I changed those to Gulp tasks and it worked:
FYI - I am using Gulp 4.0 so I had also installed the latest branch of |
In my Gulp build step I get the following error.
`
throw err;
^
AssertionError [ERR_ASSERTION]: Custom registry must have
get
functionat validateRegistry (C:\Users\john\Source\Repos\Contoso\ProductTasksExtension\node_modules\undertaker\lib\helpers\validateRegistry.js:28:5)
at Gulp.registry (C:\Users\john\Source\Repos\Contoso\ProductTasksExtension\node_modules\undertaker\lib\registry.js:17:3)
at Object. (C:\Users\john\Source\Repos\Contoso\ProductTasksExtension\gulpfile.js:10:6)
at Module._compile (module.js:660:30)
at Object.Module._extensions..js (module.js:671:10)
at Module.load (module.js:573:32)
at tryModuleLoad (module.js:513:12)
at Function.Module._load (module.js:505:3)
at Module.require (module.js:604:17)
at require (internal/module.js:11:18)
`
How do I troubleshoot is error?
Thanks
Stefan
The text was updated successfully, but these errors were encountered: