Giter VIP home page Giter VIP logo

nuxt-cloudflare-lucia's People

Contributors

chrisreedio avatar tlebeitsuk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

nuxt-cloudflare-lucia's Issues

Build failed because of argon2 dependency

Hey,

tried to deploy to Cloudflare Pages, but get a failing build because of the argon2 dependency. Any idea how to solve this?

used Node 20.11.0

00:37:08.701 | [error] [nitro] Error: Cannot resolve "./argon2.win32-arm64-msvc.node" from "/opt/buildhome/repo/node_modules/.pnpm/@[email protected]/node_modules/@node-rs/argon2/index.js" and externals are not allowed!
-- | --
00:37:08.702 |  
00:37:08.702 |  
00:37:08.703 | undefined
00:37:08.703 | [error] Cannot resolve "./argon2.win32-arm64-msvc.node" from "/opt/buildhome/repo/node_modules/.pnpm/@[email protected]/node_modules/@node-rs/argon2/index.js" and externals are not allowed!
00:37:08.703 | at Object.resolveId (node_modules/.pnpm/[email protected]/node_modules/nitropack/dist/shared/nitro.4ea992bc.mjs:1973:17)
00:37:08.704 | at async PluginDriver.hookFirstAndGetPlugin (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:18631:28)
00:37:08.704 | at async resolveId (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:17298:26)
00:37:08.704 | at async ModuleLoader.resolveId (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:17712:15)
00:37:08.704 | at async node_modules/.pnpm/@[email protected][email protected]/node_modules/@rollup/plugin-commonjs/dist/es/index.js:785:16
00:37:08.704 | at async Promise.all (index 11)
00:37:08.704 | at async node_modules/.pnpm/@[email protected][email protected]/node_modules/@rollup/plugin-commonjs/dist/es/index.js:777:32
00:37:08.705 | at async rewriteRequireExpressionsAndGetImportBlock (node_modules/.pnpm/@[email protected][email protected]/node_modules/@rollup/plugin-commonjs/dist/es/index.js:1354:28)
00:37:08.705 | at async transformCommonjs (node_modules/.pnpm/@[email protected][email protected]/node_modules/@rollup/plugin-commonjs/dist/es/index.js:1928:23)
00:37:08.705 | at async transform (node_modules/.pnpm/[email protected]/node_modules/rollup/dist/es/shared/node-entry.js:17630:16)
00:37:08.705 |  
00:37:08.705 | [error] Cannot resolve "./argon2.win32-arm64-msvc.node" from "/opt/buildhome/repo/node_modules/.pnpm/@[email protected]/node_modules/@node-rs/argon2/index.js" and externals are not allowed!

Local development

Hi! I'm learning almost the same stack you used in this project.

I'm also completely fresh with CF D1...

Can I ask you how exactly you use a local (sqlite) database during the local development (yarn dev)?

Do you use a sqlite in local dev and D1 in production or is there a better way with D1 and wrangler?

I went trough D1 docs:
https://developers.cloudflare.com/d1/learning/local-development/

Local development sessions create a standalone, local-only environment that mirrors the production environment D1 runs in so that you can test your Worker and D1 before you deploy to production.

Is this meant for testing build before deploying or is there a "smoother" way to use D1 / wrangler during local development?

Cheers! :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.