-
Notifications
You must be signed in to change notification settings - Fork 145
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
The root level IIFE didn't have an array for it's first parameter, aborting... #7
Comments
@lenin-anzen Looks like the bundle you're trying to debundle stores it's modules in an unfamiliar place. Using a tool like http://astexplorer.net/, you should be able to figure out where they are located, and specify the path in the configuration file with the property moduleAst. In addition, I suspect that your
|
I found that the one that makes the package is the following project: With the next notes:
The model.xml file is:
|
I am having the same issue. Could you please explain where in the astexplorer one finds the AST of a bundle.js file? Not very familiar with the whole AST thing... |
Also, wondered if someone knows how to find the correct entrypoint for a webpack bundle?? |
@willvlad make sure your bundle file only have webpack code, the webpack entrypoint is 0 |
@1egoman
In order to troubleshoot, I need:
A bundle that doesn't work, preferably as minimal as possible. Upload it to pastebin.com:
Link: https://pastebin.com/eg22rLqE
Any commands you ran prior to debundling:
Your configuration that you passed with the
-c
argument when debundling.The EXACT command you ran to debundle.
node ./node_modules/debundle/src/index.js -i ext-bundle.js -o ext-dist/ -c debundle.config.json
Tell me what the issue is:
If you omit any of these parts, I can't help you!
The text was updated successfully, but these errors were encountered: