I am using React and using the fintoc-js package. It works fine, but I get this warning while developing and building my application.
Developing / running in developer mode
Running react-scripts start
Compiled with warnings.
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/index.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/index.ts'
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/constants.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/constants.ts'
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/core.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/core.ts'
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/core.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/core.ts'
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/index.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/index.ts'
WARNING in ./node_modules/@fintoc/fintoc-js/build/module/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/<MY_PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/index.ts' file: Error: ENOENT: no such file or directory, open '/<MY_PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/index.ts'
@ ./src/views/Dashboard/index.tsx 14:0-46 41:25-34
@ ./src/routes/routes.ts 5:0-40 15:13-22
@ ./src/routes/index.tsx 6:0-35 12:14-29
@ ./src/App.tsx 8:0-31 23:41-50
@ ./src/index.tsx 10:0-24 18:37-40
WARNING in ./node_modules/@fintoc/fintoc-js/build/module/lib/constants.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/constants.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/constants.ts'
@ ./node_modules/@fintoc/fintoc-js/build/module/lib/core.js 1:0-59 3:60-70 4:44-65 8:15-25
@ ./node_modules/@fintoc/fintoc-js/build/module/index.js 1:0-39 1:0-39
@ ./src/views/Dashboard/index.tsx 14:0-46 41:25-34
@ ./src/routes/routes.ts 5:0-40 15:13-22
@ ./src/routes/index.tsx 6:0-35 12:14-29
@ ./src/App.tsx 8:0-31 23:41-50
@ ./src/index.tsx 10:0-24 18:37-40
WARNING in ./node_modules/@fintoc/fintoc-js/build/module/lib/core.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/core.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/lib/core.ts'
@ ./node_modules/@fintoc/fintoc-js/build/module/index.js 1:0-39 1:0-39
@ ./src/views/Dashboard/index.tsx 14:0-46 41:25-34
@ ./src/routes/routes.ts 5:0-40 15:13-22
@ ./src/routes/index.tsx 6:0-35 12:14-29
@ ./src/App.tsx 8:0-31 23:41-50
@ ./src/index.tsx 10:0-24 18:37-40
WARNING in ./node_modules/@fintoc/fintoc-js/build/module/types/core.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/core.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/core.ts'
@ ./node_modules/@fintoc/fintoc-js/build/module/types/index.js 1:0-23 1:0-23
@ ./node_modules/@fintoc/fintoc-js/build/module/index.js 2:0-24 2:0-24
@ ./src/views/Dashboard/index.tsx 14:0-46 41:25-34
@ ./src/routes/routes.ts 5:0-40 15:13-22
@ ./src/routes/index.tsx 6:0-35 12:14-29
@ ./src/App.tsx 8:0-31 23:41-50
@ ./src/index.tsx 10:0-24 18:37-40
WARNING in ./node_modules/@fintoc/fintoc-js/build/module/types/index.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/index.ts' file: Error: ENOENT: no such file or directory, open '/<PATH_TO_MY_REPO>/node_modules/@fintoc/fintoc-js/src/types/index.ts'
@ ./node_modules/@fintoc/fintoc-js/build/module/index.js 2:0-24 2:0-24
@ ./src/views/Dashboard/index.tsx 14:0-46 41:25-34
@ ./src/routes/routes.ts 5:0-40 15:13-22
@ ./src/routes/index.tsx 6:0-35 12:14-29
@ ./src/App.tsx 8:0-31 23:41-50
@ ./src/index.tsx 10:0-24 18:37-40
Building in production
Running react-scripts build
Compiled with warnings.
Failed to parse source map from '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/index.ts' file: Error: ENOENT: no such file or directory, open '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/index.ts'
Failed to parse source map from '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/lib/constants.ts' file: Error: ENOENT: no such file or directory, open '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/lib/constants.ts'
Failed to parse source map from '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/lib/core.ts' file: Error: ENOENT: no such file or directory, open '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/lib/core.ts'
Failed to parse source map from '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/types/core.ts' file: Error: ENOENT: no such file or directory, open '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/types/core.ts'
Failed to parse source map from '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/types/index.ts' file: Error: ENOENT: no such file or directory, open '/tmp/build_c8b82b10/node_modules/@fintoc/fintoc-js/src/types/index.ts'