claytonfarr / sveltekit-netlify-stripe-fauna-example Goto Github PK
View Code? Open in Web Editor NEWSaaS boilerplate example with SvelteKit + Tailwind + Netlify Identity (GoTrue) + Stripe + Fauna.
SaaS boilerplate example with SvelteKit + Tailwind + Netlify Identity (GoTrue) + Stripe + Fauna.
I followed all the steps with no issues at all until the 12th step which I am now stuck on because the deploy fails. I even tried adding NODE_VERSION environment variable to tell it to use the LTS version of node (16.15.1). But it made no difference. And all my other environment variables are set correctly. Did something change that broke this or is there something I am missing preventing it from working for me?
Here is my deploy log...
2:42:15 PM: Build ready to start
2:42:19 PM: build-image version: 72a309a113b53ef075815b129953617827965e48 (focal)
2:42:19 PM: build-image tag: v4.8.2
2:42:19 PM: buildbot version: 72ebfe61ef7a5152002962d9129cc52f5b1bb560
2:42:19 PM: Fetching cached dependencies
2:42:19 PM: Failed to fetch cache, continuing with build
2:42:19 PM: Starting to prepare the repo for build
2:42:20 PM: No cached dependencies found. Cloning fresh repo
2:42:20 PM: git clone https://github.com/cmarabate/sveltekit-netlify-stripe-fauna-example-master
2:42:20 PM: Preparing Git Reference refs/heads/master
2:42:21 PM: Parsing package.json dependencies
2:42:22 PM: Starting build script
2:42:22 PM: Installing dependencies
2:42:22 PM: Python version set to 2.7
2:42:22 PM: Attempting node version '14' from .nvmrc
2:42:22 PM: Downloading and installing node v14.19.3...
2:42:22 PM: Downloading https://nodejs.org/dist/v14.19.3/node-v14.19.3-linux-x64.tar.xz...
2:42:23 PM: Computing checksum with sha256sum
2:42:23 PM: Checksums matched!
2:42:25 PM: Now using node v14.19.3 (npm v6.14.17)
2:42:25 PM: Started restoring cached build plugins
2:42:25 PM: Finished restoring cached build plugins
2:42:25 PM: Attempting ruby version 2.7.2, read from environment
2:42:26 PM: Using ruby version 2.7.2
2:42:27 PM: Using PHP version 8.0
2:42:27 PM: Started restoring cached yarn cache
2:42:27 PM: Finished restoring cached yarn cache
2:42:27 PM: No yarn workspaces detected
2:42:27 PM: Started restoring cached node modules
2:42:27 PM: Finished restoring cached node modules
2:42:27 PM: Installing NPM modules using Yarn version 1.22.10
2:42:28 PM: yarn install v1.22.10
2:42:28 PM: warning package.json: No license field
2:42:28 PM: warning package-lock.json found. Your project contains lock files generated by tools other than Yarn. It is advised not to mix package managers in order to avoid resolution inconsistencies caused by unsynchronized lock files. To clear this warning, remove package-lock.json.
2:42:28 PM: warning [email protected]: No license field
2:42:28 PM: [1/4] Resolving packages...
2:42:28 PM: [2/4] Fetching packages...
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: Creating deploy upload records
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:38 PM: Failed during stage 'building site': Build script returned non-zero exit code: 1 (https://ntl.fyi/exit-code-1)
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The platform "linux" is incompatible with this module.
2:42:37 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
2:42:37 PM: info [email protected]: The CPU architecture "x64" is incompatible with this module.
2:42:37 PM: error @sveltejs/[email protected]: The engine "node" is incompatible with this module. Expected version ">=16.7". Got "14.19.3"
2:42:37 PM: error Found incompatible module.
2:42:37 PM: info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
2:42:37 PM: Error during Yarn install
2:42:37 PM: Build was terminated: Build script returned non-zero exit code: 1
2:42:37 PM: Failing build: Failed to build site
2:42:38 PM: Finished processing build request in 19.047244663s
I'm getting started with sveltekit, gotrue, and supabase. Your starter seems like a great resource since gotrue-js (and supabase-js) rely on window (browser) which makes session handling with sveltekit (SSR) more difficult than it should be. Your approach to solving this is beautifully written by the way.
My issue is that Netlify Identity requires an upgraded account ($99 per month) in order set the invitation, confirmation, recovery, and email change templates. I'd like to get the example working without having to pay $99 per month.
The cloud gotrue server hosted by supabase seems like it will be just fine for what I want to do.
Since it's not possible for me to run the example without upgrading my Netlify account, what changes do you recommend I make to bypass Netlify Identity?
Thank you,
Sam
Hi @ClaytonFarr i've looked into this repo a few times and think you've done a great job showcasing what a lot of devs find very difficult. I'm wondering if you plan to update this at all with the latest package versions and solutions to some of the items you didn't get around to (security and so forth)
Thanks!
Hi Clayton Farr,
I cloned your project and run command npm run dev
, it showed success message but I can not open the website on browser with that address , do you know why?. I created my own project from scratch to test if there is any issue with my developement enviroment and it works perfect
` SvelteKit v1.0.0-next.229
local: http://localhost:3000
network: not exposed
Use --host to expose server to other devices on this network
`
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.