diff --git a/frontend/package.json b/frontend/package.json index 47a0f96..0927f9d 100644 --- a/frontend/package.json +++ b/frontend/package.json @@ -2,6 +2,9 @@ "name": "site", "version": "0.1.0", "private": true, + "engines": { + "node": "18.x.x" + }, "dependencies": { "@testing-library/jest-dom": "^5.12.0", "@testing-library/react": "^11.2.7", @@ -12,7 +15,7 @@ }, "scripts": { "start": "react-scripts start", - "build": "react-scripts build", + "build": "NODE_OPTIONS=--openssl-legacy-provider react-scripts build", "test": "react-scripts test", "eject": "react-scripts eject" }, diff --git a/frontend/src/App.css b/frontend/src/App.css index 05593e7..45be0d6 100644 --- a/frontend/src/App.css +++ b/frontend/src/App.css @@ -5743,8 +5743,8 @@ textarea.w-select { -ms-flex-align: center; align-items: center; border-radius: 6px; - background-color: #4f65f1; - background-image: linear-gradient(59deg, #6d82ff, #4f65f1); + background-color: #C3B1E1; + background-image: linear-gradient(59deg, #DCCBF5, #C3B1E1); -webkit-transition: all 100ms ease; transition: all 100ms ease; color: #fff; @@ -5752,4 +5752,4 @@ textarea.w-select { line-height: 14px; font-weight: 300; letter-spacing: 0.1px; -} \ No newline at end of file +} diff --git a/render.yaml b/render.yaml index 76028fa..639d929 100644 --- a/render.yaml +++ b/render.yaml @@ -3,7 +3,6 @@ previews: expireAfterDays: 3 services: - type: web - plan: standard previews: plan: starter name: express-backend @@ -21,6 +20,8 @@ services: - type: web name: render-todo env: static + # This line fixes the build error by using Node 18 + nodeVersion: "18" buildCommand: cd frontend && yarn install && yarn build staticPublishPath: ./frontend/build envVars: @@ -33,5 +34,4 @@ databases: - name: postgres_db databaseName: test_db user: test_user - plan: standard previewPlan: starter