Skip to content

Requirements are incorrect (build e5e1fb27c1c24b5c7bbbbbeb80650fb39ccd69c3) #3

Description

@Sslaxx

According to README.md, the minimum requirements for Node.js are v16+.

Attempting to run Novel Writer using Linux Mint and Node.js 18.19.1, I get the following error(s):

You are using Node.js 18.19.1. Vite requires Node.js version 20.19+ or 22.12+. Please upgrade your Node.js version.
error when starting dev server:
TypeError: crypto.hash is not a function
    at getHash (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:2444:19)
    at getLockfileHash (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:32463:9)
    at getDepHash (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:32466:23)
    at initDepsOptimizerMetadata (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:31925:53)
    at createDepsOptimizer (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:34113:17)
    at new DevEnvironment (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:34893:109)
    at Object.defaultCreateClientDevEnvironment [as createEnvironment] (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:35305:9)
    at file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:25469:52
    at Array.map (<anonymous>)
    at _createServer (file:///home/stuart/CVS/NovelWriter/node_modules/vite/dist/node/chunks/config.js:25468:58)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions