Comments (4)
hey @MaximeHeckel! i believe i have some sort of update. it seems the js bundled by netlify and hosted on cloudfront is missing a snippet. see line 16:
i assume this is because the file name has brackets in it, an issue we've seen in other parts of netlify. i haven't confirmed that it's this missing snippet that is causing your issue, but it's the only lead/hunch right now. i've pinged people in slack to make sure our bundling can handle file names with brackets.
all that said, i think we'll recommend not using post processing bundling for next projects on netlify, since next already bundles everything. with that, i'll close the issue, BUT, if i discover anything new, i'll still circle back here :). i also think i'll slightly rename this issue so anyone looking through our closed issues for something similar can find it! <3
from next-on-netlify.
Ok I think I figured it out!
Basically, disabling any kind of "Post Processing" in the "Deploy Settings" on Netlify UI fixes this issue, took me a few hours to find this one 😅
Do you know what's the underlying reason behind that? Maybe this could be a contribution to the docs?
from next-on-netlify.
hey @MaximeHeckel! thanks so much for opening such a detailed issue and for your kind words! we caught wind of your tweet and i've been trying to track down some more info about post processing internally 😆
appreciate the update and sorry this took you a few hours to diagnose!!! sounds like it must've been a pain to find 😅 .
i agree at the very least we should update our docs/README to reflect that post processing with next.js may cause this type of issue (and possibly others).
will also try to get some more insight on why this is an issue and update you here. many thanks again!
from next-on-netlify.
@lindsaylevine thank you for your reply!
And no worries, I'm really excited about advanced NextJS support on Netlify! For the moment this project is just me experimenting thus I'm not in a rush at all
I will keep an eye out for updates regarding this, would love to know why this happened 😄
from next-on-netlify.
Related Issues (20)
- Add tests for root level index pages of all page types for i18n
- Use splats in SSG redirects instead of adding a redirect for every exact prerendered path HOT 5
- Investigate tradeoffs between redirects and copying files [to correct paths] HOT 1
- "blocking" on getStaticPaths' fallback throwing ambiguous error HOT 1
- Cannot find module 'critters' HOT 2
- Missing `pages-manifest.json` HOT 1
- Failure when the publish directory is `public`. HOT 1
- Cannot find module 'jimp' HOT 12
- Header config causes CLI to throw "invalid rule: cannot contain anything after *" HOT 7
- _redirects sorted wrong when using catch all route and dynamic routes HOT 4
- Add clarification for deployment with submodules HOT 4
- Cannot find module critters HOT 15
- [i18n] preview redirects are failing with non-default locales HOT 8
- Forward options params to "nextOnNetlify" function from node command-line args HOT 1
- Allow API routes to optionally run as background function HOT 3
- "The 'path' argument must be of type string. Received undefined" when using next-auth HOT 18
- Missing locale files with next-i18next HOT 10
- Timeout error when using MongoDB in getServerSideProps HOT 4
- *** deprecating next-on-netlify *** (info & feedback) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-on-netlify.