Describe the issue/error/question
Updating custom node package n8n dependencies is causing typing issues in a dependency of n8n-workflow
I bumped two version in my package.json
:
-
n8n-workflow
from0.134.0
to0.135.0
-
n8n-core
from0.152.0
to0.153.0
What is the error message (if any)?
$ npm run build
> [email protected] build
> tsc && gulp
node_modules/n8n-workflow/dist/Expression.d.ts:1:23 - error TS7016: Could not find a declaration file for module '@n8n_io/riot-tmpl'. '/Users/dorney/src/my-nodes/node_modules/@n8n_io/riot-tmpl/dist/tmpl.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/n8n_io__riot-tmpl` if it exists or add a new declaration (.d.ts) file containing `declare module '@n8n_io/riot-tmpl';`
1 import * as tmpl from '@n8n_io/riot-tmpl';
~~~~~~~~~~~~~~~~~~~
Found 1 error in node_modules/n8n-workflow/dist/Expression.d.ts:1
Following the errors suggestions does not help much.
The custom nodes build with no issue and on the original versions.
I feel like there is something I am neglecting to update. Any guidance appreciated!