我想使用这个库:
https://github.com/google-map-react/google-map-react
但是当我运行我的项目时,我收到了以下错误消息:
AmazonS3 s3 = AmazonS3ClientBuilder.standard().build();
// Get the object from the event and show its content type
String srcBucket = event.getRecords().get(0).getS3().getBucket().getName();
String srcKey = event.getRecords().get(0).getS3().getObject().getKey();
S3Object s3Object = s3.getObject(new GetObjectRequest(srcBucket, srcKey));
audioInputStream = s3Object.getObjectContent();
processInputStreamMethod1(audioInputStream);
processInputStreamMethod2(audioInputStream);
我的包裹:
ERROR in ./~/google-map-react/lib/google_heatmap.js
[0] Module not found: Error: Can't resolve 'lodash/fp' in '/Users/sm_emamian/Desktop/react js/shadyab/node_modules/google-map-react/lib'
[0] @ ./~/google-map-react/lib/google_heatmap.js 6:10-30
[0] @ ./~/google-map-react/lib/google_map.js
[0] @ ./~/google-map-react/lib/index.js
[0] @ ./app/components/detail/TermsOfUse.js
[0] @ ./app/containers/Detail.js
[0] @ ./app/routes/index.js
[0] @ ./app/app.js