next.js icon indicating copy to clipboard operation
next.js copied to clipboard

custom-server-express - the 'url' property is deprecated.

Open ghost opened this issue 8 years ago • 3 comments

custom-server-express bug report

Example name

custom-server-express

Describe the bug

the warning message 'utils.js:26 Warning: the 'url' property is deprecated.' is being reported whenever you are using an express server. I've started noticing it in my project, and verified it in this example to be sure.

To Reproduce

Just download and start this example

Expected behavior

We shouldn't get any warning message when executing this example.

ghost avatar May 29 '18 05:05 ghost

Im new to Next.js and I'm having this issue too while following their tutorial: https://nextjs.org/learn/basics/clean-urls-with-route-masking/route-masking

Any fix for this?

reginpv avatar Jun 04 '18 15:06 reginpv

I didn't see any warning messages Which version of node are you using?

teleginzhenya avatar Jun 15 '18 11:06 teleginzhenya

nextjs.org/learn has been updated.

timneutkens avatar Jun 15 '18 13:06 timneutkens