Giter Site home page Giter Site logo

Comments (8)

frolovv avatar frolovv commented on May 13, 2024

@richiesgr

i see that you are deploying on ec2

make sure that your .env file contains
BACKEND_PUBLIC_URL=<public ip of the ec2 machine>:8081

please update the .env and run docker-compose down && docker-compose up -d

from quix.

richiesgr avatar richiesgr commented on May 13, 2024

Hi
After git pull last version and add BACKEND_PUBLIC_URL to .env the frontend don't start anymore
I get this

[Nest] 17 - 04/28/2019, 8:37 AM [NestFactory] Starting Nest application...
****** Current Enviorment: DEV ******
[Nest] 17 - 04/28/2019, 8:37 AM [InstanceLoader] TypeOrmModule dependencies initialized +31ms
[Nest] 17 - 04/28/2019, 8:37 AM [InstanceLoader] ConfigModule dependencies initialized +1ms
[Nest] 17 - 04/28/2019, 8:37 AM [ExceptionHandler] Nest can't resolve dependencies of the FileTreePlugin (function Connection(options) {
/**
* Indicates if connection is initialized or not.
/
this.isConnected = false;
/
*
* Migration instances that are registered for this connection.
/
this.migrations = [];
/
*
* Entity subscriber instances that are registered for this connection.
/
this.subscribers = [];
/
*
* All entity metadatas that are registered for this connection.
/
this.entityMetadatas = [];
this.name = options.name || "default";
this.options = options;
this.logger = new LoggerFactory_1.LoggerFactory().create(this.options.logger, this.options.logging);
this.driver = new DriverFactory_1.DriverFactory().create(this);
this.manager = this.createEntityManager();
this.namingStrategy = options.namingStrategy || new DefaultNamingStrategy_1.DefaultNamingStrategy();
this.queryResultCache = options.cache ? new QueryResultCacheFactory_1.QueryResultCacheFactory(this).create() : undefined;
this.relationLoader = new RelationLoader_1.RelationLoader(this);
this.relationIdLoader = new RelationIdLoader_1.RelationIdLoader(this);
}_DbFolderRepository, ?). Please make sure that the argument at index [1] is available in the EventSourcingModule context. +25ms
Error: Nest can't resolve dependencies of the FileTreePlugin (function Connection(options) {
/
*
* Indicates if connection is initialized or not.
/
this.isConnected = false;
/
*
* Migration instances that are registered for this connection.
/
this.migrations = [];
/
*
* Entity subscriber instances that are registered for this connection.
/
this.subscribers = [];
/
*
* All entity metadatas that are registered for this connection.
/
this.entityMetadatas = [];
this.name = options.name || "default";
this.options = options;
this.logger = new LoggerFactory_1.LoggerFactory().create(this.options.logger, this.options.logging);
this.driver = new DriverFactory_1.DriverFactory().create(this);
this.manager = this.createEntityManager();
this.namingStrategy = options.namingStrategy || new DefaultNamingStrategy_1.DefaultNamingStrategy();
this.queryResultCache = options.cache ? new QueryResultCacheFactory_1.QueryResultCacheFactory(this).create() : undefined;
this.relationLoader = new RelationLoader_1.RelationLoader(this);
this.relationIdLoader = new RelationIdLoader_1.RelationIdLoader(this);
}_DbFolderRepository, ?). Please make sure that the argument at index [1] is available in the EventSourcingModule context.
at Injector.lookupComponentInExports (/service/node_modules/@nestjs/core/injector/injector.js:180:19)
at processTicksAndRejections (internal/process/task_queues.js:86:5)
at process.runNextTicks [as _tickCallback] (internal/process/task_queues.js:56:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:880:11)
at Object. (/service/node_modules/ts-node/src/bin.ts:157:12)
at Module._compile (internal/modules/cjs/loader.js:816:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:827:10)
at Module.load (internal/modules/cjs/loader.js:685:32)
at Function.Module._load (internal/modules/cjs/loader.js:620:12)
at Function.Module.runMain (internal/modules/cjs/loader.js:877:12)
1: 0x95b8f0 node::Abort() [node]
2: 0x9c75f9 [node]
3: 0xbc4eda [node]
4: 0xbc5a89 v8::internal::Builtin_HandleApiCall(int, v8::internal::Object
*, v8::internal::Isolate*) [node]
5: 0x2b65b77cfc5d
Aborted (core dumped)
npm ERR! code ELIFECYCLE
npm ERR! errno 134
npm ERR! [email protected] start: ts-node --files -r tsconfig-paths/register build-scripts/start.ts
npm ERR! Exit status 134
npm ERR!
npm ERR! Failed at the [email protected] start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-04-28T08_37_28_942Z-debug.log

any idea ?

from quix.

antonpodolsky avatar antonpodolsky commented on May 13, 2024

@richiesgr please see if rebuilding (docker-compose build) solves it

from quix.

richiesgr avatar richiesgr commented on May 13, 2024

@AntonPOD No it's not same error

from quix.

sthuck avatar sthuck commented on May 13, 2024

@richiesgr
I'm on it, will update

from quix.

sthuck avatar sthuck commented on May 13, 2024

@richiesgr
the nestjs issues is fixed, please rebuild the docker image. Sorry for sudden breakage and thanks for helping 👍
let us know if it works

from quix.

richiesgr avatar richiesgr commented on May 13, 2024

Hi
it's ok now the frontend run
however I'm not going to close this ticket now because I've not checked yet the first issue.
Thanks for your quick help

from quix.

antonpodolsky avatar antonpodolsky commented on May 13, 2024

@richiesgr
Closing for now. Please update if you're still experiencing issues.

from quix.

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.