[wp-trac] [WordPress Trac] #43055: Reorganize Core JS / introduce build step

WordPress Trac noreply at wordpress.org
Mon Mar 26 03:28:12 UTC 2018


#43055: Reorganize Core JS / introduce build step
------------------------------+-------------------------
 Reporter:  omarreiss         |       Owner:
     Type:  enhancement       |      Status:  new
 Priority:  normal            |   Milestone:  5.0
Component:  Build/Test Tools  |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  dev-feedback      |     Focuses:  javascript
------------------------------+-------------------------

Comment (by pento):

 A few notes:

 - Needs an `.nvmrc` file.
 - `node-sass` is the worst, and regularly needs rebuilding.
 - `grunt build` gives me an error when it tries to build `jquery-color`:

 {{{
 npm ERR! path /srv/www/wordpress-develop/public_html/node_modules/jquery-
 color/node_modules/nyc/node_modules/yargs/node_modules/cliui/package.json.3362228139
 npm ERR! code ENOENT
 npm ERR! errno -2
 npm ERR! syscall open
 npm ERR! enoent ENOENT: no such file or directory, open '/srv/www
 /wordpress-develop/public_html/node_modules/jquery-
 color/node_modules/nyc/node_modules/yargs/node_modules/cliui/package.json.3362228139'
 npm ERR! enoent This is related to npm not being able to find a file.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43055#comment:41>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list