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

Webpack loader not found for import type in js file #2490

Closed
1 task done
Leena-Sharma-rsys opened this issue Feb 21, 2023 · 2 comments
Closed
1 task done

Webpack loader not found for import type in js file #2490

Leena-Sharma-rsys opened this issue Feb 21, 2023 · 2 comments
Labels

Comments

@Leena-Sharma-rsys
Copy link

Leena-Sharma-rsys commented Feb 21, 2023

Is there an existing issue for this?

  • I have searched the existing issues

Describe the issue

HI,
I am using react native version - 0.69.6
after installing react-native-web and configuring webpack i am getting issues from nodemodules

eg:

You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
|
| import React from 'react';

import type react from 'react';

The above error also comes from nodemodules/library/image

import type resolveAssetResource from ./AssetResource

IT works fine with react-native version - 0.66.0

Expected behavior

Should not give this error

Steps to reproduce

insall react-native version - 0.69.6
and setup react-native-web

Test case

insall react-native version - 0.69.6 and setup react-native-web

Additional comments

No response

@Leena-Sharma-rsys Leena-Sharma-rsys changed the title Webpack loader not found fot Webpack loader not found for import type in js file Feb 21, 2023
@necolas
Copy link
Owner

necolas commented Feb 21, 2023

@VectorLeeYang
Copy link

the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants