New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Advanced Install Instructions Out of Date #23
Comments
Another error: ❯ pwd
/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server
❯ npm start
> @web-desktop-environment/home-edition-server@1.0.2 start
> nodemon .
[nodemon] 2.0.4
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/* node_modules/**/*
[nodemon] watching extensions: ts,tsx,js
[nodemon] starting `ts-node -r tsconfig-paths/register ./src/index.ts .`
[ root:desktop-manager:settings-manager ]: finish initializing settings manager 111ms
[ root:desktop-manager:port-manager ]: port 9200 is avilable as app port 3ms
[ root:desktop-manager:download-manager ]: starting static file server at port 9200 1ms
[ root:desktop-manager:port-manager ]: port 5000 is avilable as main port 0ms
[ root ]: starting web-desktop-environment on port 5000 0ms
The above error occurred in the <RenderApp> component:
at RenderApp (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/@web-desktop-environment/server-sdk/node_modules/@react-fullstack/render/lib/render.js:14:30)
Consider adding an error boundary to your tree to customize error handling behavior.
Visit https://reactjs.org/link/error-boundaries to learn more about error boundaries.
(node:10918) UnhandledPromiseRejectionWarning: Error: Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
1. You might have mismatching versions of React and the renderer (such as React DOM)
2. You might be breaking the Rules of Hooks
3. You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.
at resolveDispatcher (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/@web-desktop-environment/server-sdk/node_modules/react/cjs/react.development.js:1476:13)
at Object.useState (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/@web-desktop-environment/server-sdk/node_modules/react/cjs/react.development.js:1507:20)
at RenderApp (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/@web-desktop-environment/server-sdk/node_modules/@react-fullstack/render/lib/render.js:14:30)
at renderWithHooks (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:6412:18)
at mountIndeterminateComponent (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:9238:13)
at beginWork (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:10476:16)
at Object.invokeGuardedCallbackProd (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:12101:10)
at invokeGuardedCallback (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:12292:31)
at beginWork$1 (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:16531:7)
at performUnitOfWork (/home/alex/projects/web-desktop-environment/packages/servers/home-edition-server/node_modules/react-reconciler/cjs/react-reconciler.development.js:15340:12)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:10918) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:10918) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. |
@alexfornuto I have updated the advance run install instructions, thanks for the heads up |
@shmuelhizmi thank you. Might you also be able to address this question?
|
@alexfornuto yes, you can install - @web-desktop-environment/home-edition-server |
It took me a moment to realize that the updates were on the |
should be resolved |
Following up from the tail of #19 in a new issue, since this is separate from the original issue.
Heads up, looks like the commands in #advanced are outdated:
It looks like lerna no longer passes flags to npm: lerna/lerna#2315
Additionally, I wonder how I could install the web-desktop without code-server? I already have it running as an independent process, and don't need it in my web-desktop environment.
The text was updated successfully, but these errors were encountered: