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

Fixes various build issues that stop the template from building on Netlify #50

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

gezquinndesign
Copy link

After trying to use the "Deploy to Netlify" button on this page, I encountered various failures trying to get it to work. These are the changes I had to make in order for it to build successfully on my Netlify instance. I've tried to keep the changes minimal and only make changes to the packages/processes that were causing the issues.

- npm had dependency conflicts
- opted for yarn
- deleted package-lock.json
- yarn resolved the conflicts after yarn install
- netlify build command is dependent on npm
- delete yarn.lock
- resolve react/react-twitter-embed dependency conflict
- update react-twitter-embed to latest version
- upgrade nextjs to last stable version 10
- upgrade fixes nextjs's postcss dependency error
- add @types/[email protected] -E to match react version
- this repo uses the export command
- netlify auto-adds the next plugin to nextjs repos
- in order to build successfully the plugin has to be skipped
- Netlify's default Node version is currently 18
- when building on this version, there is an error
- ...error:0308010C:digital envelope routines::unsupported
- force version to Node v16 via config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant