Unless I'm mistaken the project does not run with node `24.0.0` Switching to node `24.5.0` ( as defined in vscode node runtime requirements in https://github.com/twentyhq/twenty/pull/13730 ) seems to fix the issue ```ts Successfully compiled: 2897 files with swc (188.32ms) (node:77006) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated. (Use `node --trace-deprecation ...` to show where the warning was created) Watching for file changes. /Users/paulrastoin/ws/twenty/node_modules/buffer-equal-constant-time/index.js:37 var origSlowBufEqual = SlowBuffer.prototype.equal; ^ TypeError: Cannot read properties of undefined (reading 'prototype') ``` Updating engines so local constraint suggest a functional node version
41 lines
866 B
JSON
41 lines
866 B
JSON
{
|
|
"name": "twenty-emails",
|
|
"description": "",
|
|
"author": "",
|
|
"private": true,
|
|
"license": "AGPL-3.0",
|
|
"main": "./dist/index.js",
|
|
"scripts": {
|
|
"build": "npx vite build"
|
|
},
|
|
"dependencies": {
|
|
"@lingui/core": "^5.1.2",
|
|
"@lingui/react": "^5.1.2",
|
|
"twenty-shared": "workspace:*"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18.2.0 || ^19.0.0",
|
|
"react-dom": "^18.2.0 || ^19.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"@lingui/cli": "^5.1.2",
|
|
"@lingui/swc-plugin": "^5.1.0",
|
|
"@lingui/vite-plugin": "^5.1.2",
|
|
"@types/react": "^19",
|
|
"@types/react-dom": "^19",
|
|
"react-email": "4.0.3"
|
|
},
|
|
"exports": {
|
|
".": {
|
|
"types": "./dist/index.d.ts",
|
|
"import": "./dist/index.mjs",
|
|
"require": "./dist/index.js"
|
|
}
|
|
},
|
|
"engines": {
|
|
"node": "^24.5.0",
|
|
"npm": "please-use-yarn",
|
|
"yarn": "^4.0.2"
|
|
}
|
|
}
|