DEV Community

Discussion on: How to create React Native App for Android, iOS and Web without Expo

Collapse
 
nts0312 profile image
nts0312 • Edited

[webpack-cli] Error: Unknown option '--inline' , this error i am getting, also if i remove --inline from scripts then , blank html page is shown.

Collapse
 
akshayagashe06 profile image
PetrolHead

'--inline' is deprecated and is treated as true by default.
However, I see the blank screen too. With a message 'Cannot GET /' on it.

Collapse
 
gj_choo_642e75a0e4a2aa83f profile image
GJ Choo

create a "public" folder in the root level, shift your index.html into the "public" folder. Re-run the web app again.

Thread Thread
 
akshayagashe06 profile image
PetrolHead

Thank you.This was helpful to run the application successfully.

Collapse
 
elanjsuriyan profile image
elanjsuriyan

how to resolve this error [webpack-cli] Error: Unknown option '--inline'
[webpack-cli] Run 'webpack --help' to see available commands and options

Collapse
 
elanjsuriyan profile image
elanjsuriyan

please answer this question immediately, It's very urgent...
how to resolve this error
[webpack-cli] Error: Unknown option '--inline'
[webpack-cli] Run 'webpack --help' to see available commands and options

Collapse
 
yalcinyagizkorkmaz profile image
Yalçın Yağız KORKMAZ

how to resolve this error [webpack-cli] Error: Unknown option '--inline'
[webpack-cli] Run 'webpack --help' to see available commands and options
how did u solve this problem?