The root level IIFE didn't have an array for it's first parameter, aborting...
- 主要言語
- JavaScript
- スター
- 737
- フォーク
- 141
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
@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:
```
mkdir debundle-test1 && cd debundle-test1
npm init -y
npm i --save-dev debundle
```
Your configuration that you passed with the `-c` argument when debundling.
```
{
"type": "webpack",
"entryPoint": 1,
"knownPaths": {}
}
```
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:
```
Error: The root level IIFE didn't have an array for it's first parameter, aborting...
at webpackDecoder (~\debundle-test1\node_modules\debundle\src\decoders\webpack.js
:19:11)
at Object. (~\debundle-test1\node_modules\debundle\src\index.js:104:13
)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:389:7)
at startup (bootstrap_node.js:149:9)
```
If you omit any of these parts, I can't help you!
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
The error occurs in src/decoders/webpack.js at line 19. Examine the webpack decoder's handling of the root IIFE structure. The bundle causing the issue is at pastebin.com/eg22rLqE. Start by understanding the bundle format and the decoder's expectations for the first parameter. Run the failing command with the provided configuration to reproduce the error.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript, webpack
- 領域
- tooling
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- 明確に書かれている
- 初心者へのやさしさ
- 35/100