nermal
nermal
Explore posts from servers
SSolidJS
Created by nermal on 6/23/2024 in #support
(Vinxi)Error while deploying a project generated by Solid Start
I dont think theres a need to share the code as i use pnpm create solid and then chose the basic template just for testing anyways this is my package.json
{
"name": "example-basic",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"version": "vinxi version"
},
"dependencies": {
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.13.6",
"@solidjs/start": "^1.0.2",
"solid-js": "^1.8.17",
"vinxi": "^0.3.12"
},
"engines": {
"node": ">=18"
}
}
{
"name": "example-basic",
"type": "module",
"scripts": {
"dev": "vinxi dev",
"build": "vinxi build",
"start": "vinxi start",
"version": "vinxi version"
},
"dependencies": {
"@solidjs/meta": "^0.29.4",
"@solidjs/router": "^0.13.6",
"@solidjs/start": "^1.0.2",
"solid-js": "^1.8.17",
"vinxi": "^0.3.12"
},
"engines": {
"node": ">=18"
}
}
yml for deployment
zerops:
- setup: app
build:
base: nodejs@20
buildCommands:
- pnpm i
- pnpm run build
deployFiles:
- .output
- .vinxi
run:
base: nodejs@20
ports:
- port: 3000
httpSupport: true
start: pnpm start
zerops:
- setup: app
build:
base: nodejs@20
buildCommands:
- pnpm i
- pnpm run build
deployFiles:
- .output
- .vinxi
run:
base: nodejs@20
ports:
- port: 3000
httpSupport: true
start: pnpm start
it fails during the build
32 replies