@@ -2,6 +2,10 @@ The website for Urbit.
3## Getting Started
3## Getting Started
5+Install Node 14. [nvm](https://github.com/nvm-sh/nvm) should handle this by running `nvm install 14`, then `nvm use` whenever in the repository (or automate it with a script - see [here](https://github.com/nvm-sh/nvm#deeper-shell-integration)).
7+Install our dependencies:
6npm install
10npm install
@@ -16,39 +20,6 @@ yarn dev
17Finally, open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
21Finally, open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
19−### Errors with Digital Envelope Routines
21−Gatsby v4 is not compatible with Webpack v4. If you're building with Node.js v17 or greater, you may experience some issues when building [urbit.org](https://urbit.org). The incompatibility between Gatsby and Webpack will present as the following error message on `yarn dev` or `npm run dev`:
24−Error: error:0308010C:digital envelope routines::unsupported
25− at new Hash (node:internal/crypto/hash:67:19)
26− at Object.createHash (node:crypto:130:10)
27− at module.exports.__webpack_modules__.15660.module.exports (~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:111680:62)
28− at NormalModule._initBuildHash (~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:85092:16)
29− at handleParseError (~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:85146:10)
30− at ~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:85178:5
31− at ~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:85033:12
32− at ~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:51096:3
33− at iterateNormalLoaders (~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:50937:10)
34− at Array.<anonymous> (~/urbit.org/node_modules/next/dist/compiled/webpack/bundle4.js:50928:4) {
35− opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ],
36− library: 'digital envelope routines',
37− reason: 'unsupported',
38− code: 'ERR_OSSL_EVP_UNSUPPORTED'
42−To work around this error, you can take the following steps:
47−export NODE_OPTIONS=--openssl-legacy-provider
50−Adding the `openssl-legacy-provider` option should allow you to build the site successfully.
52## Framework and Library Documentation
23## Framework and Library Documentation
54To learn more about Next.js, take a look at the following resources:
25To learn more about Next.js, take a look at the following resources:
@@ -62,7 +33,7 @@ To learn more about Tailwind CSS, take a look at the docs:
63## Deployment
34## Deployment
65−WIP
36+We deploy using Vercel. All pull requests will show a deployment preview via the same.
67## Upgrades
38## Upgrades