Skip to content
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

Error: parentNode property of given node is undefined #15

Open
IanStorm opened this issue Jun 27, 2018 · 0 comments
Open

Error: parentNode property of given node is undefined #15

IanStorm opened this issue Jun 27, 2018 · 0 comments

Comments

@IanStorm
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant