Title: Enable JavaScript! Warning Text!!
Last modified: January 6, 2024

---

# Enable JavaScript! Warning Text!!

 *  Resolved [hamzagoku](https://wordpress.org/support/users/hamzagoku/)
 * (@hamzagoku)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/enable-javascript-warning-text/)
 * Hello! I hope you are doing great!
 * Recently, I tried your plugin, and it worked pretty well. However, I encountered
   some issues:
    1. When using “Create-react-app with TypeScript,” it worked, but it shows a text**“
       n”** “**You need to enable JavaScript to run this app**” on the page after building,
       both locally and in production. Is there a specific solution for this issue?
    2. With Vite, I received the following warning:
 *     ```wp-block-code
          Warning: scandir(D:/Latest/Xammp/htdocs/wordpress/wp-content/reactpress/apps/orbystore2/dist/assets): The system cannot find the file specified (code: 2) in D:\Latest\Xammp\htdocs\wordpress\wp-content\plugins\reactpress\public\User.php on line 177
       ```
   
 * What could be causing this, and how can I resolve it?
 * I am using Windows XAMPP and WordPress 6.4.2. I also attempted to use LocalWP,
   but unfortunately, I had no luck there. Could this issue be related to WordPress
   version incompatibility?
 * Your assistance in resolving these problems would be greatly appreciated! Thank
   you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [rockiger](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/enable-javascript-warning-text/#post-17323252)
 * You need to allow `scandir` in your server configuration, otherwise ReactPress
   can’t find the apps directory.
 *  Thread Starter [hamzagoku](https://wordpress.org/support/users/hamzagoku/)
 * (@hamzagoku)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/enable-javascript-warning-text/#post-17323695)
 * [https://app.gemoo.com/share/image-annotation/602547621646016512?codeId=MlQm8b2AXEJ8r&origin=screenshotuploader&card=602547617640456192](https://app.gemoo.com/share/image-annotation/602547621646016512?codeId=MlQm8b2AXEJ8r&origin=screenshotuploader&card=602547617640456192)
   
   1) vite is working using “LocalWP”but it still shows a “n” you can view this 
   in above screenshot!
 *  Plugin Author [rockiger](https://wordpress.org/support/users/rockiger/)
 * (@rockiger)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/enable-javascript-warning-text/#post-17324400)
 * I see, it seems the `n` is created if a ReactPress app is added to an existing
   page. You can just delete it.
   Only this block is necessary for the React app 
   to work:
 *     ```wp-block-code
       <!-- Please don't change. Block is needed for React app. -->
       <noscript>You need to enable JavaScript to run this app.</noscript>
       <div id="root"></div>
       ```
   
 *  Thread Starter [hamzagoku](https://wordpress.org/support/users/hamzagoku/)
 * (@hamzagoku)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/enable-javascript-warning-text/#post-17328281)
 * Thanks alot man! it seems like everthing is work now 💖

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Enable JavaScript! Warning Text!!’ is closed to new replies.

 * ![](https://ps.w.org/reactpress/assets/icon-256x256.png?rev=2471443)
 * [ReactPress - Create React App for Wordpress](https://wordpress.org/plugins/reactpress/)
 * [Support Threads](https://wordpress.org/support/plugin/reactpress/)
 * [Active Topics](https://wordpress.org/support/plugin/reactpress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/reactpress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/reactpress/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [hamzagoku](https://wordpress.org/support/users/hamzagoku/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/enable-javascript-warning-text/#post-17328281)
 * Status: resolved