javascript-obfuscator / javascript-obfuscator/gulp-javascript-obfuscator
Error: `parentNode` property of given node is `undefined`
- Vorherrschende Sprache
- JavaScript
- Sterne
- 103
- Forks
- 37
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Just for some hours now, our gulp build process stopped working due to an error in `gulp-javascript-obfuscator`:
```
C:\...\node_modules\gulp-javascript-obfuscator\
node_modules\javascript-obfuscator\dist\webpack:\JavaScriptObfuscator\src\node\N
odeUtils.ts:237
throw new ReferenceError('`parentNode`property of given node is `un
defined`');
^
ReferenceError: `parentNode` property of given node is `undefined`
```
(Note that I have "..." the path to the actual folder.)
After quickly digging into the problem, I have found that `javascript-obfuscator` has release v0.17.0 just today (some hours) ago. If I manually downgrade inside the `gulp-javascript-obfuscator` the `javascript-obfuscator` to `0.16.0` (instead of `latest`) it works again. I know this cannot be the actual solution, but it could be a starting point however.
Any suggestions?
Thanks in advance.
Please, if more information is required from my side, tell me.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, den gulp-Build mit javascript-obfuscator 0.17.0 nachzubilden und ihn mit dem gemeldeten funktionierenden Setup mit 0.16.0 zu vergleichen. Untersuche das Abhängigkeitsverhalten rund um den gemeldeten nodeUtils.ts:237-Fehler; als erledigt gilt die Aufgabe, wenn das Plugin mit der betroffenen Abhängigkeitsversion erfolgreich gebaut wird oder eine kompatible Versionsbeschränkung dokumentiert ist.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- build-system
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100