Git Product home page Git Product logo

Comments (4)

killerwzb avatar killerwzb commented on May 18, 2024

I run the yarn run dev --server=localhost:8978 at cloudbeaver\webapp\packages\product-default
get this error, following:
Entrypoint mini-css-extract-plugin = *
[../../node_modules/css-loader/dist/cjs.js?!../../node_modules/postcss-loader/src/index.js?!../../node_modules/sass-loader/dist/cjs.js?!../plugin-ag-grid/src/styles/base.scss] F:/clouddbeaver/test/cloudbeaver/webapp/node_modules/css-loader/dist/cjs.js??ref--5-oneOf-2-1!F:/clouddbeaver/test/cloudbeaver/webapp/node_modules/postcss-loader/src??ref--5-oneOf-2-2!F:/clouddbeaver/test/cloudbeaver/webapp/node_modules/sass-loader/dist/cjs.js??ref--5-oneOf-2-3!../plugin-ag-grid/src/styles/base.scss 369 KiB {mini-css-extract-plugin} [built]
[../../node_modules/css-loader/dist/runtime/api.js] F:/clouddbeaver/test/cloudbeaver/webapp/node_modules/css-loader/dist/runtime/api.js 2.46 KiB {mini-css-extract-plugin} [built]
i 「wdm」: Compiled successfully.
[HPM] Error occurred while trying to proxy request /dbeaver/gql from localhost:3100 to localhost:8978 (ENOTFOUND) (https://nodejs.org/api/errors.html#errors_common_system_errors)

from cloudbeaver.

Wroud avatar Wroud commented on May 18, 2024

Hi, please try this:

cd webapp/
lerna bootstrap
lerna run dev --stream --scope=@cloudbeaver/product-default -- -- --server=localhost:8978

from cloudbeaver.

killerwzb avatar killerwzb commented on May 18, 2024

Hi, please try this:

cd webapp/
lerna bootstrap
lerna run dev --stream --scope=@cloudbeaver/product-default -- -- --server=localhost:8978

Hi,i try to do this and type the url like as localhost:3100 to visit the frontend, but i get this error "Error occurred while loading Refresh"

details :

bootstrap.ts:7 Uncaught (in promise) GQLError: GraphQL Error (Code: 504): {"response":{"error":"Error occured while trying to proxy to: localhost:3100/dbeaver/gql","status":504,"headers":{}},"request":{"query":"\n mutation openSession {\n session: openSession {\n createTime\n lastAccessTime\n cacheExpired\n locale\n connections {\n id\n name\n driverId\n connected\n features\n authNeeded\n authModel\n }\n }\n}\n "}}
at eval (webpack-internal:///../core-sdk/src/GraphQLService.ts:60:17)
at Generator.throw ()
at asyncGeneratorStep (webpack-internal:///../core-sdk/src/GraphQLService.ts:13:103)
at _throw (webpack-internal:///../core-sdk/src/GraphQLService.ts:15:291)

from cloudbeaver.

Wroud avatar Wroud commented on May 18, 2024

It's probably occurred because backend server wasn't start on localhost:8978
Try next steps:
run backend by:

  1. cd deploy/cloudbeaver
  2. ./run-server.sh
  3. cd ../../webapp/
  4. lerna bootstrap
  5. lerna run dev --stream --scope=@cloudbeaver/product-default -- -- --server=http://localhost:8978

Also I'm changed server from localhost:8978 to http://localhost:8978

from cloudbeaver.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.