blitz-js / blitz-js/blitz

secure-password deps not usable

Open
#4,354 8 comments 0 reactions 0 assignees View on GitHub
kind/bug status/triage
Dominant language
TypeScript
Stars
14.1k
Forks
803
PR merge metrics
No merged PRs in 30d

Description

### What is the problem?

not working on node.js

### Paste all your error logs here:

```
Error: No native build was found for platform=darwin arch=x64 runtime=node abi=115 uv=1 libc=glibc node=20.13.0
loaded from: /private/tmp/blitz14-demo/[project]/node_modules/.pnpm/sodium-native@3.4.1/node_modules/sodium-native/index.js [app-ssr] (ecmascript)
```

### Paste all relevant code snippets here:

```
PASTE_HERE (leave the ``` marks)
```

### What are detailed steps to reproduce this?

new blitz project

### Run `blitz -v` and paste the output here:

```
macOS Sonoma | darwin-x64 | Node: v20.13.0

Package manager: pnpm

System:
OS: macOS 14.5
CPU: (16) x64 Intel(R) Core(TM) i9-9900K CPU @ 3.60GHz
Memory: 1.38 GB / 32.00 GB
Shell: 3.7.1 - /usr/local/bin/fish
Binaries:
Node: 20.13.0 - /usr/local/bin/node
Yarn: 1.22.22 - ~/Library/pnpm/yarn
npm: 10.5.2 - /usr/local/bin/npm
npmPackages:
@blitzjs/auth: 2.0.10 => 2.0.10
@blitzjs/next: 2.0.10 => 2.0.10
@blitzjs/rpc: 2.0.10 => 2.0.10
@prisma/client: 5.4.2 => 5.4.2
blitz: 2.0.10 => 2.0.10
next: 14.2.4 => 14.2.4
prisma: 5.4.2 => 5.4.2
react: 18.2.0 => 18.2.0
react-dom: 18.2.0 => 18.2.0
typescript: ^4.8.4 => 4.9.5

```

### Please include below any other applicable logs and screenshots that show your problem:

Maybe remove secure-password dep, switch to argon2 or use bcrypt.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.