@TulioPintoNeto Thanks, I’d never encountered anyone using that feature before and figured that you were looking at the documentation but I simply couldn’t spot it.
@hrishikesh Can you confirm if this feature is working as intended?
The issue with netlify dev has been fixed in v2.0.7 of @netlify/angular-runtime. However, I tried your repo after that and any requests to /api/activties gets redirected back to home page. It’s possible that the path is being consumed by Angular and therefore it’s not hitting the Function.
For the original issue, you might have to file a bug on the CLI repo.
Hey @hrishikesh, currently the package library for @netlify/angular-runtime says that:
Netlify automatically detects Angular projects and sets up the latest version of this plugin. There’s no further configuration needed from Netlify users.
So currently I have no control over the version Netlify is using for this package, in my project, as my only dependency declared is with @netlify/functions. I’m still getting the same error of missing folder, two questions regarding this:
Maybe I missed some setting up? FWIW I used everything from this Getting Started;
If I didn’t miss anything, is there a correctly way to enforce Netlify to pick the new version (2.0.7)?
You can always download and install a package from npm. Since it’s already published as the latest version, it should be used as that one. Try deleting your .netlify folder.