javascript-obfuscator / javascript-obfuscator/gulp-javascript-obfuscator

Error: Cannot read property 'ecmaFeatures' of undefined - EspreeFacade.ts:82

Open
#14 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
103
Forks
37
PR merge metrics
No merged PRs in 30d

Description

```
C:\projects\myApp\node_modules\javascript-obfuscator\dist\webpack:\JavaScriptObfuscator\src\EspreeFacade.ts:82
throw new Error(errorMessage);
^
Error: Cannot read property 'ecmaFeatures' of undefined
```

Any thoughts on this? Used to work fine and I can't find anything that's changed.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the error and inspect EspreeFacade.ts:82, the only code location named in the report. Check the plugin and javascript-obfuscator versions and configuration involved; the issue is done when the cause of the undefined ecmaFeatures value is identified and the plugin no longer raises this exception for the reported setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.