1

I have error when import @metaplex-foundation/js lib. I tried following to this docs from metaplex https://github.com/metaplex-foundation/js-examples/tree/main/getting-started-react-cra5 , but it doesn't work for me.

ERROR
process is not defined
ReferenceError: process is not defined
    at ./node_modules/browserify-sign/node_modules/readable-stream/lib/_stream_writable.js (http://localhost:3000/static/js/bundle.js:268288:18)
    at options.factory (http://localhost:3000/static/js/bundle.js:502780:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:502174:32)
    at fn (http://localhost:3000/static/js/bundle.js:502438:21)
    at ./node_modules/browserify-sign/node_modules/readable-stream/readable-browser.js (http://localhost:3000/static/js/bundle.js:269113:20)
    at options.factory (http://localhost:3000/static/js/bundle.js:502780:31)
    at __webpack_require__ (http://localhost:3000/static/js/bundle.js:502174:32)
    at fn (http://localhost:3000/static/js/bundle.js:502438:21)
    at ./node_modules/browserify-sign/browser/index.js (http://localhost:3000/static/js/bundle.js:266539:14)
    at options.factory (http://localhost:3000/static/js/bundle.js:502780:31)

Some one can help me, save me out.

2
  • You can post another question on what you'd like to accomplish and I'll try my best to help out.
    – Jimii
    Commented May 20 at 9:11
  • yeah, I'm so appreciate Commented May 20 at 10:33

1 Answer 1

2

The package is depracated and not in active development.

Please switch to Umi and use the associated plugins

  1. Metadata Program - @metaplex-foundation/mpl-token-metadata
  2. Core Program - @metaplex-foundation/mpl-core
  3. Bubblegum Program - @metaplex-foundation/mpl-bubblegum
  4. Candy Machine Program - @metaplex-foundation/mpl-candy-machine
3

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.