iconv-lite icon indicating copy to clipboard operation
iconv-lite copied to clipboard

Angular Cli error

Open 5sword opened this issue 6 years ago • 3 comments

I just upgraded my angular electron project from using angular-cli 1.7.4 to 6.0.3 and this error shown up. Any ideas? thanks! index.js:144 Uncaught TypeError: webpack_require(...) is not a function at Object../node_modules/iconv-lite/lib/index.js (index.js:144) at webpack_require (bootstrap:76)

5sword avatar Jun 02 '18 20:06 5sword

Maybe that's a question to Angular? Looks like some code transformation is happening, but I'm no expert in it.

-- Alexander Shtuchkin

On Sat, Jun 2, 2018 at 1:21 PM, 5sword [email protected] wrote:

I just upgraded my angular electron project from using angular-cli 1.7.4 to 6.0.3 and this error shown up. Any ideas? thanks! index.js:144 Uncaught TypeError: webpack_require(...) is not a function at Object../node_modules/iconv-lite/lib/index.js (index.js:144) at webpack_require (bootstrap:76)

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ashtuchkin/iconv-lite/issues/191, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmVHfCO-pZl9dQSPXBBdbZ6VHADoExYks5t4vPRgaJpZM4UX0_- .

ashtuchkin avatar Jun 02 '18 20:06 ashtuchkin

Thanks for the quick response! I will try over there!

5sword avatar Jun 02 '18 20:06 5sword

Thanks for the quick response! I will try over there!

Hi, did you find a solution for this? I'm facing the same problem in the same environement.

johann-taberlet avatar Dec 04 '18 18:12 johann-taberlet