I have installed react-big-scheduler package in my react app. Facing warnings like these:
WARNING in ./node_modules/rrule/dist/esm/weekday.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'path\node_modules\rrule\src\weekday.ts' file: Error: ENOENT: no such file
or directory, open 'path\node_modules\rrule\src\weekday.ts'
Is it possible to solve?
So, I was trying to a gallery library names "pro-gallery"
with commend npm install -S pro-gallery and that gave me this kind of error
After the research, I tried npm install -S pro-gallery --legacy-peer-deps
then it kinda seems like installed well. but when I try to start the app
this gets started giving me 270 warnings
I want to ignore all of these warnings and see the react compile complete successfully screen in console
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/proGallery/galleryHelpers.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/galleryHelpers.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/galleryHelpers.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/proGallery/galleryScrollIndicator.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/galleryScrollIndicator.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/galleryScrollIndicator.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/proGallery/galleryView.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/galleryView.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/galleryView.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/proGallery/proGallery.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/proGallery.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/proGallery.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/proGallery/slideshowView.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/slideshowView.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/proGallery/slideshowView.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/rendererIndex.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/rendererIndex.tsx' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/rendererIndex.tsx'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/typeValidator/shouldValidate.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/typeValidator/shouldValidate.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/typeValidator/shouldValidate.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/typeValidator/typeErrorsUI.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/typeValidator/typeErrorsUI.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/typeValidator/typeErrorsUI.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/gallery/typeValidator/validateTypes.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/typeValidator/validateTypes.ts' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/gallery/typeValidator/validateTypes.ts'
WARNING in ./node_modules/pro-gallery/dist/esm/components/group/groupView.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/group/groupView.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/group/groupView.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/cssLayoutsHelper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/cssLayoutsHelper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/cssLayoutsHelper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/cssScrollHelper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/cssScrollHelper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/cssScrollHelper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/layoutUtils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/layoutUtils.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/layoutUtils.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/navigationArrowUtils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/navigationArrowUtils.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/navigationArrowUtils.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/scrollHelper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/scrollHelper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/scrollHelper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/thumbnailsLogic.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/thumbnailsLogic.ts' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/thumbnailsLogic.ts'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/videoScrollHelper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/videoScrollHelper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/videoScrollHelper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/videoScrollHelperWrapper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/videoScrollHelperWrapper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/videoScrollHelperWrapper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/helpers/virtualization.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/virtualization.ts' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/helpers/virtualization.ts'
WARNING in ./node_modules/pro-gallery/dist/esm/components/hoc/withMagnified.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/hoc/withMagnified.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/hoc/withMagnified.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/imageItem.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/imageItem.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/imageItem.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/imageRenderer.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/imageRenderer.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/imageRenderer.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/imageWithMagnified.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/imageWithMagnified.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/imageWithMagnified.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/itemHelper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemHelper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemHelper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/itemHover.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemHover.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemHover.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/itemView.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemView.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemView.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/itemViewStyleProvider.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemViewStyleProvider.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/itemViewStyleProvider.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/printOnlySource.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/printOnlySource.tsx' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/printOnlySource.tsx'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/pure.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/pure.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/pure.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/textItem.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/textItem.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/textItem.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/videos/getStyle.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/getStyle.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/getStyle.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/videos/videoItem.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/videoItem.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/videoItem.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/videos/videoItemPlaceholder.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/videoItemPlaceholder.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/videoItemPlaceholder.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/item/videos/videoItemWrapper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/videoItemWrapper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/item/videos/videoItemWrapper.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/arrowsIconsData.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/arrowsIconsData.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/arrowsIconsData.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/arrow2.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow2.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow2.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/arrow3.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow3.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow3.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/arrow4.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow4.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow4.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/arrow5.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow5.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow5.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/arrow6.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow6.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow6.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/arrow7.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow7.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/arrow7.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/defaultArrow.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/defaultArrow.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/defaultArrow.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/pause.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/pause.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/pause.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/play.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/play.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/play.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/play_background.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/play_background.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/play_background.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/play_triangle.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/play_triangle.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/play_triangle.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/components/x.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/x.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/components/x.js'
WARNING in ./node_modules/pro-gallery/dist/esm/components/svgs/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/index.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/components/svgs/index.js'
WARNING in ./node_modules/pro-gallery/dist/esm/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/index.ts'
WARNING in ./node_modules/pro-gallery/dist/esm/versionLogger.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/versionLogger.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-gallery/src/versionLogger.js'
WARNING in ./node_modules/pro-layouts/dist/esm/classes/galleryGroup.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/classes/galleryGroup.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/classes/galleryGroup.js'
WARNING in ./node_modules/pro-layouts/dist/esm/classes/galleryItem.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/classes/galleryItem.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/classes/galleryItem.js'
WARNING in ./node_modules/pro-layouts/dist/esm/classes/itemsHelper.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/classes/itemsHelper.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/classes/itemsHelper.js'
WARNING in ./node_modules/pro-layouts/dist/esm/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/index.ts' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/index.ts'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/column.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/column.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/column.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/create-layout.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/create-layout.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/create-layout.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/group.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/group.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/group.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/item.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/item.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/item.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/layouter.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/layouter.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/layouter.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/layoutsStore.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/layoutsStore.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/layoutsStore.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/strip.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/strip.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/strip.js'
WARNING in ./node_modules/pro-layouts/dist/esm/logic/utils.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/utils.js' file: Error: ENOENT: no such file or directory, open '/Users/chulchong/cs/wedding/node_modules/pro-layouts/src/logic/utils.js'
webpack compiled with 271 warnings```
Using Amplify to deploy my React app (created with create-react-app) and I get the following error.
2022-04-26T18:52:09.555Z [INFO]: Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Buttons.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Buttons.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Content.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Content.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/CustomIcon.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/CustomIcon.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/ErrorIcon.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/ErrorIcon.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/InfoIcon.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/InfoIcon.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Input.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Input.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Overlay.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Overlay.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/SuccessIcon.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/SuccessIcon.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/SweetAlert.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/SweetAlert.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Title.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/Title.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/ValidationMessage.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/ValidationMessage.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/WarningIcon.tsx' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/components/WarningIcon.tsx'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/constants/patterns.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/constants/patterns.ts'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/default-props.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/default-props.ts'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/index.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/index.ts'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/prop-types.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/prop-types.ts'
Failed to parse source map from '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/styles/SweetAlertStyles.ts' file: Error: ENOENT: no such file or directory, open '/codebuild/output/src963792318/src/pn-toolbox-react/node_modules/react-bootstrap-sweetalert/src/styles/SweetAlertStyles.ts'
I checked the solution provided here
AWS Amplify: DevTools failed to load SourceMap: Unexpected token < in JSON at position 0
but that is already configured as such.
Thanks to a colleague's assistance, this resolved this issue.
Add "GENERATE_SOURCEMAP=false to the "build" line:
Before
"build": "react-scripts build",
After
"build": "GENERATE_SOURCEMAP=false react-scripts build",
I went through setup of react-snap, but when pushing to Heroku it fails.
https://www.npmjs.com/package/react-snap
Do you have any idea why?
remote: Error: Failed to launch chrome!
remote: /tmp/build_7dd913c10a184386f4680b1463b79feb/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: error while loading shared libraries: libX11-xcb.so.1: cannot open shared object file: No such file or directory
I added the buildpacks required:
i am trying to run this command
$ parcel client/src/index.html
for parcel to build my project but i get the following permission errors
"Error: EACCES: permission denied, open
'/home/adexbam/movie_api/client/src/index.html'"