user93190: When I'm trying to create a wallet in react app using the following code:
const seed = bip39.mnemonicToSeed(mnemonic);
const master = bitcoin.HDNode.fromSeedBuffer(seed, "testnet");

I got error: Expected property "0" of type ECPair, got p

user60443: 
HDNode was removed and is now a separated package.
npm install bip32 See Issue #1243

const bitcoin = require('bitcoinjs-lib')
const bip39 = require('bip39')
const bip32 = require('bip32')

const mnemonic = 'praise you muffin lion enable neck grocery crumble super myself license ghost'
const seed = bip39.mnemonicToSeed(mnemonic)
const node = bip32.fromSeed(seed)

Test examples: bitcoinjs-lib tests

93190: <p>When I'm trying to create a wallet in react app using the following code:</p>

<pre><code>const seed = bip39.mnemonicToSeed(mnemonic);
const master = bitcoin.HDNode.fromSeedBuffer(seed, "testnet");
</code></pre>

<p>I got <code>error: Expected property "0" of type ECPair, got p</code></p>
 60443: <blockquote>
  <p>HDNode was removed and is now a separated package.</p>
  
  <p>npm install bip32 See <a href="https://github.com/bitcoinjs/bitcoinjs-lib/issues/1243#issuecomment-429627079" rel="nofollow noreferrer">Issue #1243</a></p>
</blockquote>

<pre><code>const bitcoin = require('bitcoinjs-lib')
const bip39 = require('bip39')
const bip32 = require('bip32')

const mnemonic = 'praise you muffin lion enable neck grocery crumble super myself license ghost'
const seed = bip39.mnemonicToSeed(mnemonic)
const node = bip32.fromSeed(seed)
</code></pre>

<p>Test examples: <a href="https://github.com/bitcoinjs/bitcoinjs-lib/blob/master/test/integration/bip32.js#L19" rel="nofollow noreferrer">bitcoinjs-lib tests</a></p>
