n8n-nodes-influtics 1.0.4 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +18 -4
- package/package.json +20 -4
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
Official [Influtics](https://influtics.com) integration for [n8n](https://n8n.io) — track influencer videos, bloggers, and trends across TikTok, Instagram, YouTube, VK, and more.
|
|
4
4
|
|
|
5
|
+
## About Influtics
|
|
6
|
+
|
|
7
|
+
Influtics is a paid influencer-marketing platform that monitors creators and their videos across TikTok, Instagram, YouTube, VK, and other channels. This node wraps the public Influtics REST API — every endpoint listed under [docs.influtics.com](https://docs.influtics.com/) is reachable from n8n workflows. Use it to: track new campaign videos, pull daily performance metrics into Notion / Sheets, fire alerts on viral spikes, or sync creator rosters across tools.
|
|
8
|
+
|
|
5
9
|
## Install
|
|
6
10
|
|
|
7
11
|
1. In n8n, open **Settings → Community Nodes**.
|
|
@@ -57,9 +61,17 @@ The **Track** operation is async; pair it with **Get Job** using the expression
|
|
|
57
61
|
|
|
58
62
|
## Troubleshooting
|
|
59
63
|
|
|
60
|
-
### `Error loading package: Unexpected token '*'`
|
|
64
|
+
### `Error loading package: Unexpected token '*'` on install
|
|
65
|
+
|
|
66
|
+
This error originates inside n8n (`loadClassInIsolation`), not in your environment. It means n8n's `PackageDirectoryLoader` failed to load one of the node entry-point files declared in `package.json`'s `n8n` field.
|
|
67
|
+
|
|
68
|
+
**If you're on v1.0.5 or later:** the published `package.json` declares explicit relative paths in `n8n.nodes` and `n8n.credentials`. If you still see this error, n8n is loading a stale on-disk install left behind by an earlier (≤ v1.0.4) version — wipe the install cache and reinstall (steps below).
|
|
61
69
|
|
|
62
|
-
|
|
70
|
+
**If you're on v1.0.4 or earlier:** the package.json declared glob patterns (`dist/nodes/**/*.node.js`). n8n's `PackageDirectoryLoader.loadAll()` does NOT expand globs — it treats them as literal file paths, and `directory-loader.ts:loadClass` extracts the className via `path.parse(sourcePath).name.split('.')[0]`, which yields the string `"**"`. n8n then interpolates that into its `vm.Script` template `new (require('${filePath}').${className})()` and V8 throws `SyntaxError: Unexpected token '*'` at parse time. **Upgrade to v1.0.5** — no other workaround exists on the package side.
|
|
71
|
+
|
|
72
|
+
#### Wipe the install cache (v1.0.5+ still seeing the error)
|
|
73
|
+
|
|
74
|
+
n8n's community-node installer (`CommunityPackagesController`) reuses the on-disk folder between upgrades. If a previous install left broken files behind, the new install lands on top of them.
|
|
63
75
|
|
|
64
76
|
**Self-hosted (Docker):**
|
|
65
77
|
|
|
@@ -81,9 +93,11 @@ sudo systemctl start n8n
|
|
|
81
93
|
# Reinstall via Settings → Community Nodes → Install a community node.
|
|
82
94
|
```
|
|
83
95
|
|
|
84
|
-
|
|
96
|
+
#### Confirm the install succeeded
|
|
97
|
+
|
|
98
|
+
Open a workflow, add a node, search for `Influtics`. All four should appear: **Influtics Video**, **Influtics Blogger**, **Influtics Trend**, **Influtics Account**.
|
|
85
99
|
|
|
86
|
-
If they still don't appear, capture the install log from
|
|
100
|
+
If they still don't appear, capture the install log from **Settings → Community Nodes → click the package → View error log** and open an issue at https://github.com/Influtics/n8n-nodes-influtics/issues with the log attached.
|
|
87
101
|
|
|
88
102
|
## Documentation
|
|
89
103
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "n8n-nodes-influtics",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "Official Influtics integration for n8n — track influencer videos, bloggers, and trends",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Influtics",
|
|
@@ -18,6 +18,14 @@
|
|
|
18
18
|
"license": "MIT",
|
|
19
19
|
"main": "dist/index.js",
|
|
20
20
|
"files": ["dist"],
|
|
21
|
+
"repository": {
|
|
22
|
+
"type": "git",
|
|
23
|
+
"url": "git+https://github.com/Influtics/n8n-nodes-influtics.git"
|
|
24
|
+
},
|
|
25
|
+
"bugs": {
|
|
26
|
+
"url": "https://github.com/Influtics/n8n-nodes-influtics/issues"
|
|
27
|
+
},
|
|
28
|
+
"homepage": "https://github.com/Influtics/n8n-nodes-influtics#readme",
|
|
21
29
|
"scripts": {
|
|
22
30
|
"prepublishOnly": "npm run build && npm run lint && npm test",
|
|
23
31
|
"build": "n8n-node build",
|
|
@@ -26,7 +34,8 @@
|
|
|
26
34
|
"lintfix": "eslint . --ext .ts --fix",
|
|
27
35
|
"format": "prettier --write .",
|
|
28
36
|
"test": "vitest run --passWithNoTests",
|
|
29
|
-
"test:watch": "vitest"
|
|
37
|
+
"test:watch": "vitest",
|
|
38
|
+
"scan:package": "npx --yes @n8n/scan-community-package n8n-nodes-influtics"
|
|
30
39
|
},
|
|
31
40
|
"engines": {
|
|
32
41
|
"node": ">=20.0.0"
|
|
@@ -50,7 +59,14 @@
|
|
|
50
59
|
},
|
|
51
60
|
"n8n": {
|
|
52
61
|
"n8nNodesApiVersion": 1,
|
|
53
|
-
"nodes": [
|
|
54
|
-
|
|
62
|
+
"nodes": [
|
|
63
|
+
"dist/nodes/InfluticsAccount/InfluticsAccount.node.js",
|
|
64
|
+
"dist/nodes/InfluticsBlogger/InfluticsBlogger.node.js",
|
|
65
|
+
"dist/nodes/InfluticsTrend/InfluticsTrend.node.js",
|
|
66
|
+
"dist/nodes/InfluticsVideo/InfluticsVideo.node.js"
|
|
67
|
+
],
|
|
68
|
+
"credentials": [
|
|
69
|
+
"dist/credentials/InfluticsApi.credentials.js"
|
|
70
|
+
]
|
|
55
71
|
}
|
|
56
72
|
}
|