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

In debug mode, few warnings display #1237

Closed
pmbaldha opened this issue Jun 18, 2017 · 6 comments
Closed

In debug mode, few warnings display #1237

pmbaldha opened this issue Jun 18, 2017 · 6 comments
Labels
[Status] Needs More Info Follow-up required in order to be actionable.

Comments

@pmbaldha
Copy link
Contributor

If we enable debug mode, There are some errors displays:

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/utils/build/index.js in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 51

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/date/build/index.js in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 57

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/i18n/build/index.js in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 89

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/element/build/index.js in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 95

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/components/build/index.js in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 101

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/blocks/build/index.js in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 107

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/components/build/style.css in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 115

Warning: filemtime(): stat failed for G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master/blocks/build/style.css in G:\xampp\htdocs\et\wp-content\plugins\gutenberg-master\lib\client-assets.php on line 121

@Soean
Copy link
Member

Soean commented Jun 18, 2017

Hi pmbaldha,
did you run npm as mentioned here? https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTING.md

If you just want to test the plugin, you can run the version from the plugin repository: https://wordpress.org/plugins/gutenberg/

@mrwweb
Copy link

mrwweb commented Jun 22, 2017

@Soean I'm seeing these errors when running the plugin.

@youknowriad
Copy link
Contributor

Is this still an issue?

@karmatosed karmatosed added the [Status] Needs More Info Follow-up required in order to be actionable. label Aug 2, 2017
@jahvi
Copy link
Contributor

jahvi commented Aug 6, 2017

Can confirm this is still an issue, steps to replicate:

  1. Clone repo into plugins directory.
  2. Run npm install and npm run dev` in cloned repo.
  3. Set WP_DEBUG to true.
  4. Warnings mentioned show up in the admin area.

@jahvi
Copy link
Contributor

jahvi commented Aug 6, 2017

Neverming running npm run build fixes the issue

@youknowriad
Copy link
Contributor

Thanks, let's close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Status] Needs More Info Follow-up required in order to be actionable.
Projects
None yet
Development

No branches or pull requests

6 participants