Skip to content
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

Does not work as is #2

Closed
marcoarroyo41 opened this issue Mar 4, 2022 · 6 comments
Closed

Does not work as is #2

marcoarroyo41 opened this issue Mar 4, 2022 · 6 comments

Comments

@marcoarroyo41
Copy link

Hello,

When I clone the repo, change directory into it, and npm install && npm start I get the following error. It does not seem to work as is, do I need to update any files?

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF69B3B7B7F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114079
2: 00007FF69B344546 DSA_meth_get_flags+65542
3: 00007FF69B3453FD node::OnFatalError+301
4: 00007FF69BC7B29E v8::Isolate::ReportExternalAllocationLimitReached+94
5: 00007FF69BC6587D v8::SharedArrayBuffer::Externalize+781
6: 00007FF69BB08C4C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
7: 00007FF69BB05D64 v8::internal::Heap::CollectGarbage+4244
8: 00007FF69BB036E0 v8::internal::Heap::AllocateExternalBackingStore+2000
9: 00007FF69BB28266 v8::internal::Factory::NewFillerObject+214
10: 00007FF69B85A735 v8::internal::DateCache::Weekday+1797
11: 00007FF69BD08F91 v8::internal::SetupIsolateDelegate::SetupHeap+494417
12: 0000021900C1F2A0

@dshibaev
Copy link
Collaborator

dshibaev commented Mar 4, 2022

Hi,

This is normally cause by insufficient memory

Try running export NODE_OPTIONS="--max-old-space-size=8192" before running npm start

@marcoarroyo41
Copy link
Author

I'm doing this in PowerShell in a Windows 10 VM with 32gb of RAM. Should I theoretically be able to just git clone the repo, cd into the folder, npm install and npm start run and it just work as is?

@dynamicstrategies
Copy link
Owner

dynamicstrategies commented Mar 4, 2022 via email

@marcoarroyo41
Copy link
Author

I switched to Linux and ran that command, different error this time haha. Is there any other configuration required or any commands besides just downloading the repo and npm install and start run?

Html Webpack Plugin:
Error: Child compilation failed:
Module.createRequire is not a function

  • child-compiler.js:169 childCompiler.runAsChild
    [cardano-wallet-connector]/[html-webpack-plugin]/lib/child-compiler.js:169:1 8

  • Compiler.js:564 compile
    [cardano-wallet-connector]/[webpack]/lib/Compiler.js:564:11

  • Compiler.js:1183 hooks.afterCompile.callAsync.err
    [cardano-wallet-connector]/[webpack]/lib/Compiler.js:1183:17

  • Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
    [cardano-wallet-connector]/[tapable]/lib/Hook.js:18:14

  • Compiler.js:1179 compilation.seal.err
    [cardano-wallet-connector]/[webpack]/lib/Compiler.js:1179:33

  • Compilation.js:2784 finalCallback
    [cardano-wallet-connector]/[webpack]/lib/Compilation.js:2784:11

  • Compilation.js:3089 hooks.afterSeal.callAsync.err
    [cardano-wallet-connector]/[webpack]/lib/Compilation.js:3089:11

  • Hook.js:18 Hook.CALL_ASYNC_DELEGATE [as _callAsync]
    [cardano-wallet-connector]/[tapable]/lib/Hook.js:18:14

@marcoarroyo41
Copy link
Author

I upgraded to Nodejs version 14 and that fixed it!

@dshibaev
Copy link
Collaborator

dshibaev commented Mar 4, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants