Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Random Error with FIles #11

Closed
Arinji2 opened this issue Sep 20, 2022 · 2 comments
Closed

Random Error with FIles #11

Arinji2 opened this issue Sep 20, 2022 · 2 comments

Comments

@Arinji2
Copy link

Arinji2 commented Sep 20, 2022

Hey so I was using the module which i installed from Npm. The module works fabulous with no bugs.. but there is always 3 errors which keep spamming my terminal on saving. Is there any fix for this since I like to keep my terminal clean from Errors.
Version: "react-type-animation": "^2.1.1",

Compiled with warnings.

Failed to parse source map from 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\components\TypeAnimation\index.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\components\TypeAnimation\index.tsx'

Failed to parse source map from 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\hooks\useEffectOnce.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\hooks\useEffectOnce.tsx'

Failed to parse source map from 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\typical.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\typical.ts'

Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.

WARNING in ./node_modules/react-type-animation/dist/esm/index.es.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\components\TypeAnimation\index.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\components\TypeAnimation\index.tsx'

WARNING in ./node_modules/react-type-animation/dist/esm/index.es.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\hooks\useEffectOnce.tsx' file: Error: ENOENT: no such file or directory, open 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\hooks\useEffectOnce.tsx'

WARNING in ./node_modules/react-type-animation/dist/esm/index.es.js
Module Warning (from ./node_modules/source-map-loader/dist/cjs.js):
Failed to parse source map from 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\typical.ts' file: Error: ENOENT: no such file or directory, open 'C:\Users\Arinjay\React Apps\articlechatbot\node_modules\react-type-animation\src\typical.ts'

webpack compiled with 3 warnings

@maxeth
Copy link
Owner

maxeth commented Sep 20, 2022

Hey,

check out this issue: #7 and specifically #7 (comment) for a quick fix.

I assume you're also using create-react-app as I don't get any warnings when using Next.js. The source maps in the build output of the package look fine to me, so I unfortunately have no idea how to fix these warnings for now.

@maxeth
Copy link
Owner

maxeth commented Sep 20, 2022

Duplicate of #7

@maxeth maxeth marked this as a duplicate of #7 Sep 20, 2022
@maxeth maxeth closed this as completed Sep 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants