react-vertical-timeline
react-vertical-timeline copied to clipboard
prop-types issue
This is the issue
node_modules/react-vertical-timeline-component/dist-es6/VerticalTimelineElement.js:6:48:
6 │ var _propTypes = _interopRequireDefault(require("prop-types"));
╵ ~~~~~~~~~~~~
You can mark the path "prop-types" as external to exclude it from the bundle, which
will remove this error and leave the unresolved path in the bundle. You can also
surround this "require" call with a try/catch block to handle this failure at
run-time instead of bundle-time.
/home/vikas/Desktop/formforge/node_modules/esbuild/lib/main.js:1477
let error = new Error(text);
and once I separately install "prop-types" it works fine.