Coder Social home page Coder Social logo

hapinessjs / ng-universal-module Goto Github PK

View Code? Open in Web Editor NEW
17.0 10.0 1.0 504 KB

This is a Hapiness Engine for running Angular Apps on the server for server side rendering.

License: MIT License

Makefile 1.09% TypeScript 98.43% JavaScript 0.48%
angular angular-cli universal server-side-rendering hapiness rxjs6 observable

ng-universal-module's People

Contributors

akanass avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

sopretty

ng-universal-module's Issues

This is not an issue but a doubt

If I need to add a new middle were in server.js file. How can I do it?

In case of pure express app I can do it as follows:

eg:

import * as cookieParser from 'cookie-parser';

app.use(cookieParser('Your private token'));

Building the application fails because of wrong imports

Essentially, I am unable to build my Angular application because of the following error:

ERROR in node_modules/@hapiness/ng-universal/module/services/engine/ng.service.d.ts:3:49 - error TS2307: Cannot find module '@hapiness/core/httpserver'.

3 import { HttpResponse, HttpServerRequest } from '@hapiness/core/httpserver';
                                                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~
node_modules/@hapiness/ng-universal/module/index.d.ts:4:35 - error TS2307: Cannot find module '@hapiness/core/httpserver'.

4 export { HttpServerRequest } from '@hapiness/core/httpserver';
                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~

Is there a dependency, that should be updated or something like that? I installed them, following the docs, so all are latest versions.

"@hapiness/core": "^1.6.1",
    "@hapiness/ng-universal": "^8.1.0",
    "@hapiness/ng-universal-transfer-http": "^10.1.1",

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.