1egoman / debundle

:card_file_box: A javascript debundler. Takes a Browserify or Webpack bundle and recreates the initial, pre-bundled source.
https://www.npmjs.com/package/debundle
706 stars 145 forks source link

Cannot read property 'element' of underfined #17

Closed dsalodki closed 6 years ago

dsalodki commented 6 years ago

I try command: debundle -i inline.bundle.js -o dist/ -c debundle.config.js StackTrace: index.js:63

dsalodki commented 6 years ago

debundle -i inline.bundle.js -o dist/ -c debundle.config.json

TypeError: Cannot read property 'elements' of undefined at Object. (/usr/local/lib/node_modules/debundle/src/index.js:63:59) at Module._compile (internal/modules/cjs/loader.js:702:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10) at Module.load (internal/modules/cjs/loader.js:612:32) at tryModuleLoad (internal/modules/cjs/loader.js:551:12) at Function.Module._load (internal/modules/cjs/loader.js:543:3) at Function.Module.runMain (internal/modules/cjs/loader.js:744:10) at startup (internal/bootstrap/node.js:238:19) at bootstrapNodeJSCore (internal/bootstrap/node.js:572:3) root@dsalodki-Dell-System-XPS-L702X:/media/dsalodki/Data/exchange/wwwroot#

1egoman commented 6 years ago

https://github.com/1egoman/debundle#dragon-here-be-dragons-dragon

Sorry, this project is not really maintained anymore. Let me make that a bit more clear in its documentation.