Skip to content

Commit b6e70e0

Browse files
committed
chore: remove demo override
1 parent 53cf290 commit b6e70e0

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

README.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,16 +43,6 @@ If you use a custom API directory (see [below](#apiDir)), your `api_location` wi
4343

4444
If your `app_location` is in a subfolder (e.g. `./my_app_location`), then your `api_location` should include the path to that subfolder (e.g. `my_app_location/build/server`.) `output_location` should still be `build/static`.
4545

46-
### Building with the correct version of Node
47-
48-
Oryx, Azure's build system, may attempt to build your application with an EOL version of Node that SvelteKit doesn't support. If you get an error like "Unsupported engine - Not compatible with your version of node/npm", you can force Oryx to use the correct version by setting an `engines` field in your app's `package.json`:
49-
50-
```js
51-
"engines": {
52-
"node": ">=18.13 <19"
53-
}
54-
```
55-
5646
### CUSTOM_BUILD_COMMAND considerations
5747

5848
If you are setting a [`CUSTOM_BUILD_COMMAND`](https://github.com/microsoft/Oryx/blob/main/doc/configuration.md) in your build pipeline to customize how the API is built (e.g. to run `npm ci` instead of `npm install`), make sure to run `npm install` inside the API directory to install production dependencies. Otherwise, the SvelteKit render function will not be able to start up.

demo/package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,5 @@
2323
"svelte-check": "^4.0.0",
2424
"typescript": "^5.0.0",
2525
"vite": "^6.0.0"
26-
},
27-
"engines": {
28-
"node": ">=18.13 <19"
2926
}
3027
}

0 commit comments

Comments
 (0)