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

util.error: Use console.error instead #325

Closed
Bizarrus opened this issue Mar 11, 2015 · 4 comments · Fixed by #334
Closed

util.error: Use console.error instead #325

Bizarrus opened this issue Mar 11, 2015 · 4 comments · Fixed by #334
Assignees
Labels
Milestone

Comments

@Bizarrus
Copy link

The error message util.error: Use console.error instead comes up each line

util.error: Use console.error instead
yuidoc: (warn): Setting default charset to binary
util.error: Use console.error instead
info: (yuidoc): Starting YUIDoc@0.6.0 using YUI@3.18.1 with NodeJS@0.12.0
util.error: Use console.error instead
info: (yuidoc): Starting YUIDoc with the following options:
util.error: Use console.error instead
info: (yuidoc):
{ outdir: 'Docs',
  linkNatives: 'true',
  extension: '.java',
  port: 3000,
  nocode: true,
  helpers: [ './Theme/helpers/helpers.js' ],
  themedir: './Theme/',
  configfile: './yuidoc.json',
  paths: [ '.\\\\Source\\\\' ],
  project:
   { name: 'Example API',
     description: '',
     version: '0.0.1',
     url: 'http://example.com/',
     logo: 'assets/img/logo.png' } }
util.error: Use console.error instead
info: (yuidoc): YUIDoc Starting from: .\\Source\\
util.error: Use console.error instead
warn: (yuidoc): Found out dir, deleting: Docs
util.error: Use console.error instead
info: (yuidoc): Making out dir: Docs
util.error: Use console.error instead
info: (yuidoc): Parsed 40 files in 0.06 seconds
util.error: Use console.error instead
info: (builder): Importing helpers: ./Theme/helpers/helpers.js
util.error: Use console.error instead
info: (builder): Building..
util.error: Use console.error instead
info: (builder): Compiling Templates
util.error: Use console.error instead
info: (builder): Making default directories: classes,modules,files
util.error: Use console.error instead
info: (builder): Copying Assets
util.error: Use console.error instead
info: (builder): Rendering and writing 0 modules pages.
util.error: Use console.error instead
info: (builder): Finished writing module files
util.error: Use console.error instead
info: (builder): Rendering and writing 37 class pages.
util.error: Use console.error instead
info: (builder): Loading theme from Theme\theme.json
util.error: Use console.error instead
info: (builder): Preparing index.html
util.error: Use console.error instead
info: (builder): Writing API Meta Data
util.error: Use console.error instead
info: (builder): Writing index.html
util.error: Use console.error instead
info: (builder): Finished writing class files
util.error: Use console.error instead
info: (builder): Finished writing 38 files in 0.86 seconds
util.error: Use console.error instead
info: (yuidoc): Completed in 0.95 seconds
@okuryu
Copy link
Member

okuryu commented Mar 11, 2015

Yeah, it's occurs on Node.js v0.12 and io.js. I'll take a look.

@Bizarrus
Copy link
Author

Thanks :)
I had try to find it out to fix it locally but i dont find any utils.log in the files.

@okuryu
Copy link
Member

okuryu commented Mar 11, 2015

Yes. Actually, YUI uses util.error (not YUIDoc). I'll try to remove YUI's functions or change it to something.

@okuryu okuryu mentioned this issue Mar 21, 2015
17 tasks
okuryu added a commit to okuryu/yuidoc that referenced this issue Mar 28, 2015
`util.error` have been deprecated on Node v0.12, but YUI still uses it. It uses
`logFn` configuration of YUI to avoid this problem. Basically, it'll uses
`console.*` functions instead.

Fix yui#325.
@okuryu okuryu added this to the v0.7.0 milestone Mar 30, 2015
@okuryu okuryu self-assigned this Apr 4, 2015
@okuryu
Copy link
Member

okuryu commented Apr 29, 2015

Published yuidocjs@0.7.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants