DeprecationWarning: Using 'compiler' as the first argument is deprecated. Please use 'options' as the first argument and 'compiler' as the second argument error on React Native.

I am trying to start my React Native App in offline mode using the command below

npx expo start -c --offline 

But the app does'nt start and instead outputs the error below in the console

[DEP_WEBPACK_DEV_SERVER_CONSTRUCTOR] DeprecationWarning: Using 'compiler' as the first argument is deprecated. Please use 'options' as the first argument and 'compiler' as the second argument.

 

message profile
Admin
2023-07-26

This error is becasue of the arrangement of the command you are using to start the React Native application, all you need to do is switch the positions of -c and --offline as shown below.

npx expo start --offline -c 

 

Add Message

Click on the button below to add a new message to this thread

Tags

#Javascript #ReactNative

Thread detail

Satus: Open
Messages: 1Started: 2023-07-26
loading..

DEVMAESTERS

Newsletter

Services

Frontend Development |Backend Development |Full Website Development |Bootstrap Website upgrades | Website Debbugging | Website Hosting & deployment

Contact

Interested in hiring me or collaborating with me on a project, click on any of the links below to get my social media handle

Or contact me via Tel: (+234)-806-225-7480 | Email: abubakarzakari1703@gmail.com

Copywright@devmaesters.com
Privacy Policy

By using our website,
you agree that devmaesters can store cookies on your device and disclose information in accordance with our privacy policy.