Skip to content
This repository has been archived by the owner on May 14, 2020. It is now read-only.

Using react-json-tree in a webpack project results in errors #109

Open
gitgrimbo opened this issue Jun 14, 2018 · 0 comments
Open

Using react-json-tree in a webpack project results in errors #109

gitgrimbo opened this issue Jun 14, 2018 · 0 comments

Comments

@gitgrimbo
Copy link

Installed as

npm i react-json-tree

Error:

./node_modules/react-json-tree/lib/index.js
Module build failed (from ./node_modules/babel-loader/lib/index.js):
ReferenceError: Unknown plugin "transform-es3-member-expression-literals" specified in "MY_PROJECT\\node_modules\\react-json-tree\\.babelrc" at 2, attempted to resolve relative to "MY_PROJECT\\node_modules\\react-json-tree"

Tried this:

npm install --save-dev babel-plugin-transform-es3-property-literals

still error.

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

No branches or pull requests

1 participant