Skip to content

Deploy react/Vite plugin ssr app on product fails since version 3.0 #13

@jaybe78

Description

@jaybe78

I'm following this tutorial https://github.com/aral/vite-plugin-ssr-with-tls
npm run dev => works
npm run prod => fails with:

Module not found: Error: Can't resolve '.' in '/Users/jb/Documents/vps-webpack-5-reproduction/node_modules/@small-tech/auto-encrypt/lib/staging'
 @ ./node_modules/@small-tech/auto-encrypt/index.js 18:0-60 132:8-22
 @ ./node_modules/@small-tech/https/index.js 5:0-50 38:14-25 56:8-28
 @ ./server/index.js 8:0-37 56:32-50 56:83-101

EDIT: Did some more test, it's broken since we moved to version 3.0. Still working on 2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions