Express.Static Tam Çalışmıyor

Yarım yamalaktan kastınız nedir?
Ortada ne hata ne kod var.
(node:5336) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use Collection.countDocuments or Collection.estimatedDocumentCount instead
(Use `node --trace-deprecation ...` to show where the warning was created)
GET /user/sitesuperolmus 304 58.262 ms - -
GET /stylesheets/style.css 304 1.397 ms - -
GET /javascripts/main.js 304 1.306 ms - -
GET /images/logo.png 304 0.416 ms - -
GET /favicon.ico 200 1.633 ms - 1150

Hata sayılır mı bu?
 
(node:5336) DeprecationWarning: collection.count is deprecated, and will be removed in a future version. Use Collection.countDocuments or Collection.estimatedDocumentCount instead
(Use `node --trace-deprecation ...` to show where the warning was created)
GET /user/sitesuperolmus 304 58.262 ms - -
GET /stylesheets/style.css 304 1.397 ms - -
GET /javascripts/main.js 304 1.306 ms - -
GET /images/logo.png 304 0.416 ms - -
GET /favicon.ico 200 1.633 ms - 1150

Hata sayılır mı bu?
Herhangi bir hata yok burda.
Yukarıda kaldırılacak bir fonksiyon uyarısını vermiş. Eski bir modül kullanıyorsanız kaldırın.
 
"npm i express" komutunu uygulayınca son sürümü yükler.
Kodu gönderebilir misiniz?
rmznkapar/kodsozluk (bana ait değil).
"npm i express" komutunu uygulayınca son sürümü yükler.
Kodu gönderebilir misiniz?
Kodda bir hata yok bu arada çalışıyor başkalarında.
"Npm i Express" komutunu uygulayınca son sürümü yükler.
Kodu gönderebilir misiniz?

Sorun Express. Static'de.
 
Uyarı! Bu konu 6 yıl önce açıldı.
Muhtemelen daha fazla tartışma gerekli değildir ki bu durumda yeni bir konu başlatmayı öneririz. Eğer yine de cevabınızın gerekli olduğunu düşünüyorsanız buna rağmen cevap verebilirsiniz.

Bu konuyu görüntüleyen kullanıcılar

Technopat Haberler

Yeni konular

Geri
Yukarı