Code Monkey home page Code Monkey logo

starter-kit's People

Contributors

angular-cli avatar ci-rebot avatar josh3184 avatar nileshpatil-dev avatar semantic-release-bot avatar sinedied avatar stablehacks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

starter-kit's Issues

Invalid module name in argument (After Upgrade Angular 8)

Hi,
I try to upgrade my app angular 7 to angular 8. but after the upgrade , I cannot build app anymore. I got below error. Please advice me. advance thanks
ERROR in src/app/core/http/http.service.ts(10,16): error TS2664: Invalid module name in augmentation, module '@angular/common/http/src/client' cannot be found.

Unable to create New Routes

Hello

I am following all the steps for creating new routes, but still not being able to navigate to them.
When passed the new route path, it redirects to home page.

Thanks

Issue with trailing spaces in HTML

I have started using this project starter kit directly without using the ngx-translate separately or any other services. So I am not sure if this is an issue with any of the underlying libraries or some issue in this project. But in any case I hope you can guide me better.

Bug - <span translate> over60Message </span>

The above code does not translate on changing the language from the top nav bar on home screen of this project. But it works on refreshing it.

This works in every case - <span translate>over60Message</span>

This can also be seen on the project login screen without any changes, on changing the language from the dropdown on login screen. The error messages do not get translated, but are correctly translated on a reload.

The code is similar with trailing spaces - <small [hidden]="loginForm.controls.password.valid || loginForm.controls.password.untouched" class="text-danger" translate> Password is required </small>

Where as the login button gets translated as soon as we select the new language, as it does not have any trailing spaces - <span translate>Login</span>

Impossible to run tests.

Hello,
I've generated a project with generator-ngx-rocket then I tried to run the tests and got the following error:

ERROR in /angular_v4_frontend/node_modules/@types/node/index.d.ts (102,13): Subsequent variable declarations must have the same type. 
Variable 'module' must be of type '{ id: string; }', but here has type 'NodeModule'.

It is fixed by changing the module declaration in starter-kit/src/typings.d.ts:

// SystemJS module definition
declare var module: {
  id: string;
};

by

// SystemJS module definition
declare var module: NodeModule;

If you use i18Service to set LOCALE_ID language is undefined

Hi there,
sorry to bother you, this is not a real bug of ngx-rocket
but it could be an issue if you use i18Service to set LOCALE_ID
to localize i.e date pipe
AppModule

providers: [
    {
      provide: LOCALE_ID,
      useFactory: (i18n: I18nService) => {
        console.log('locale ID', i18n.language);
        return i18n.language;
      },
      deps: [I18nService]
    }
  ],

If you use init method of i18n service in app.component
i18n.language is undefined

this.i18nService.init(environment.defaultLanguage, environment.supportedLanguages);

to work it out you should put it inside the service.

Btw, do you a know a way to localize pipe
without refresh the page?

All in all, when I see the text translate I'd like to see
the date in the right format and should be nice have this
feature in the starter-kit.

I found the way :) ngx-translate/core#409 (comment)
but it works only if you use init directly in the service.
Thanks for sharing :)

npm run build giving error.

I build two separate components for my project purpose, these are working fine on development environment but as soon as I bundle them using npm run build, many errors pop up on the console saying new Module title does not exist on type 'Object' and so forth.
Please help!

Not able to add new module

Hi Team,

i'm unable to add new module for this code. This only displaying "About" and "Home".

Could you please let me know the steps to add new module to this project?

Thanks,
Venu Donthu

npm start encounters with "Cannot read property 'config' of null"

After cloning project and running npm install, when I was trying to launch development server
got

Cannot read property 'config' of null

error !

complete output of npm start :
`> [email protected] start /Users/sr_hosseini/Projects/Angular4
> ng serve --proxy-config proxy.conf.js

Cannot read property 'config' of null
TypeError: Cannot read property 'config' of null
at Class.run (/Users/sr_hosseini/Projects/Angular4/node_modules/@angular/cli/tasks/serve.js:22:63)
at check_port_1.checkPort.then.port (/Users/sr_hosseini/Projects/Angular4/node_modules/@angular/cli/commands/serve.js:103:26)
at process._tickCallback (internal/process/next_tick.js:109:7)

npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/Cellar/node/5.3.0/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v7.8.0
npm ERR! npm v4.2.0
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] start: ng serve --proxy-config proxy.conf.js
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'ng serve --proxy-config proxy.conf.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ngx-starter-kit package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng serve --proxy-config proxy.conf.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ngx-starter-kit
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls ngx-starter-kit
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR! /Users/sr_hosseini/.npm/_logs/2017-04-14T16_36_41_828Z-debug.log`

debug.log content :
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/Cellar/node/5.3.0/bin/node',
1 verbose cli '/usr/local/bin/npm',
1 verbose cli 'start' ]

2 info using [email protected]
3 info using [email protected]

4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle ng
Uploading 2017-04-14T16_36_41_828Z-debug.log…
[email protected]prestart: [email protected]
6 silly lifecycle [email protected]
prestart: no script for prestart, continuing
7 info lifecycle [email protected]start: [email protected]
8 verbose lifecycle [email protected]
start: unsafe-perm in lifecycle true
9 verbose lifecycle [email protected]start: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/sr_hosseini/Projects/Angular4/node_modules/.bin:/usr/local/sbin:/usr/local/sbin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/go/bin:/Users/sr_hosseini/Projects/phalcon-test/vendor/phalcon/devtools:/.composer/vendor/bin
10 verbose lifecycle [email protected]start: CWD: /Users/sr_hosseini/Projects/Angular4
11 silly lifecycle [email protected]
start: Args: [ '-c', 'ng serve --proxy-config proxy.conf.js' ]
12 silly lifecycle [email protected]start: Returned: code: 1 signal: null
13 info lifecycle [email protected]
start: Failed to exec start script
14 verbose stack Error: [email protected] start: ng serve --proxy-config proxy.conf.js
14 verbose stack Exit status 1
14 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:279:16)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at EventEmitter.emit (events.js:194:7)
14 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:40:14)
14 verbose stack at emitTwo (events.js:106:13)
14 verbose stack at ChildProcess.emit (events.js:194:7)
14 verbose stack at maybeClose (internal/child_process.js:899:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
15 verbose pkgid [email protected]
16 verbose cwd /Users/sr_hosseini/Projects/Angular4
17 error Darwin 15.6.0
18 error argv "/usr/local/Cellar/node/5.3.0/bin/node" "/usr/local/bin/npm" "start"
19 error node v7.8.0
20 error npm v4.2.0
21 error code ELIFECYCLE
22 error errno 1
23 error [email protected] start: ng serve --proxy-config proxy.conf.js
23 error Exit status 1
24 error Failed at the [email protected] start script 'ng serve --proxy-config proxy.conf.js'.
24 error Make sure you have the latest version of node.js and npm installed.
24 error If you do, this is most likely a problem with the ngx-starter-kit package,
24 error not with npm itself.
24 error Tell the author that this fails on your system:
24 error ng serve --proxy-config proxy.conf.js
24 error You can get information on how to open an issue for this project with:
24 error npm bugs ngx-starter-kit
24 error Or if that isn't available, you can get their info via:
24 error npm owner ls ngx-starter-kit
24 error There is likely additional logging output above.
25 verbose exit [ 1, true ]

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.