You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In last version of react-scripts, warnings are now being shown for problems with parsing source maps in dependencies. As a result, with every run of react-scripts, there is a warning:
WARNING in ./node_modules/@demvsystems/yup-ast/dist/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/home/hydrandt/ark/ark-react-frontend/frontend/node_modules/@demvsystems/yup-ast/src/index.ts' file: Error: ENOENT: no such file or directory, open '/home/hydrandt/ark/ark-react-frontend/frontend/node_modules/@demvsystems/yup-ast/src/index.ts'
There is a MR in react-scripts about disabling these warnings:
Hey, so we checked this out and the warning is totally correct. Since we didn't include our sources in the package the source map referenced a file that does not exist in the package.
After some research we decided we include the source files in the package as you can see in #24 .
I have tested this locally already with CRA and didn't get any warnings for yup-ast 👍
In last version of react-scripts, warnings are now being shown for problems with parsing source maps in dependencies. As a result, with every run of react-scripts, there is a warning:
There is a MR in react-scripts about disabling these warnings:
facebook/create-react-app#11752
Still I thought it may be worth reporting.
The text was updated successfully, but these errors were encountered: