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

Error: Page does not exist: /static/logo.png #3987

Closed
1 task done
glemiere opened this issue Mar 11, 2018 · 2 comments · May be fixed by Jcrowell74/next.js#404, orysmudi/next.js#83, RiftNemesis/next.js#125, Qdigital/next.js#96 or CALISOULB/next.js#119

Comments

@glemiere
Copy link

  • I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Automatically render the static folder to get access to some assets for the manifest.json file.

Current Behavior

The routing seems confused thinking that static is a page instead of an asset folder. Doesn't work in both cases : static folder at the root, and static folder in src.

Steps to Reproduce (for bugs)

https://github.com/glemiere/nextjs-starter/tree/Static-Folder-Routing-Bug

Context

Impossible to set icon in the manifest.json

Your Environment

Tech Version
next 5
node 9
OS OSX
browser X
etc X
@timneutkens
Copy link
Member

timneutkens commented Mar 11, 2018

https://github.com/glemiere/nextjs-starter/tree/Static-Folder-Routing-Bug/src/static

They're supposed to be here.

Note that things like serving the static folder are tested.

@glemiere
Copy link
Author

Wow weird! I just tried again, I was getting a 404 yesterday and now it works without changing anything. I have no idea what's going on, good news though. Thank you!

@lock lock bot locked as resolved and limited conversation to collaborators May 16, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.