Git Product home page Git Product logo

angularspree's Issues

Social Login

Is anyone working on this? Could I give it a try?

Why there is no inheritance ?

I can't find any inheritance between components, services, etc. I think the project is missing this good practice to define common logic in parent class.

Images not found

I have put some images in assets folder but while i am creating build i didn't get assets folder.

Question on API calls

Gentlemen,

Hello.. Hope all is well.. I´ve been studying the code for AS.. As a beginner in programming it is a great reference.

My question today is how the default apiEndpoint is added in with function call to backend. There is an http service that is included, but is not used. I figure there must be some interceptor configured to rewrite the url. Where is it?

Lastly, how soon will some of the product option functionality be included. I want to deploy an ecommerce store using your code. And my product has options. Thanks

My Address and Overview in My Account is inaccessible

I took a look at the route configuration and it looks like they're both set to redirect to /orders so perhaps this is intentional?

 {
    path: '',
    component: UserComponent,
    children: [
      { path: '', redirectTo: 'orders' },
      { path: 'overview', component: OverviewComponent, redirectTo: 'orders' },
      { path: 'orders', component: OrdersComponent },
      { path: 'orders/detail/:number', component: OrderDetailComponent },
      { path: 'addresses', component: AddressesComponent, redirectTo: 'orders' }
    ]
  }

Rmagick is not installing

Please help me to resolve this.

An error occurred while installing rmagick (2.16.0), and Bundler cannot
continue.
Make sure that gem install rmagick -v '2.16.0' succeeds before bundling.

In Gemfile:
rmagick

Filter, Add to cart, categories

Hi,
First of all, thank you for all your contributions! There are lots of great examples to learn patterns from!
But looks like Filter, Add to cart, categories are not working. Are you guys still actively working on this project?

export 'DropdownModule' was not found in 'ng2-bootstrap/dropdown'

When I run ng serve I'm getting this error saying export 'DropdownModule' was not found in 'ng2-bootstrap/dropdown' and I don't know how to fix this.

WARNING in ./src/app/shared/index.ts
39:12-26 "export 'DropdownModule' was not found in 'ng2-bootstrap/dropdown'

WARNING in ./src/app/shared/index.ts
50:12-26 "export 'DropdownModule' was not found in 'ng2-bootstrap/dropdown'

ERROR in /Users/Yitao/Documents/myProject/angularspree/src/app/shared/index.ts (11,10): Module '"/Users/Yitao/Documents/myProject/angularspree/
node_modules/ng2-bootstrap/dropdown/index"' has no exported member 'DropdownModule'.

ERROR in Error encountered resolving symbol values statically. Calling function 'DropdownModule', function calls are not supported. Consider re
placing the function or lambda with a reference to an exported function, resolving symbol SharedModule in /Users/Yitao/Documents/myProject/angu
larspree/src/app/shared/index.ts, resolving symbol SharedModule in /Users/Yitao/Documents/myProject/angularspree/src/app/shared/index.ts

"Unhandled promise rejection" error in console with npm start

Hi guys!
I'm new to angularjs and to learn it I decided to use your application.
When i start it with npm start the browser console give me this error:

Unhandled Promise rejection: StaticInjectorError(AppModule)[UserEffects -> Actions]: 
  StaticInjectorError(Platform: core)[UserEffects -> Actions]: 
    NullInjectorError: No provider for Actions! ; Zone: <root> ; Task: Promise.then ; Value: Error: StaticInjectorError(AppModule)[UserEffects -> Actions]: 
  StaticInjectorError(Platform: core)[UserEffects -> Actions]: 
    NullInjectorError: No provider for Actions!
    at _NullInjector.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1218)
    at resolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1516)
    at tryResolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1458)
    at StaticInjector.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1326)
    at resolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1516)
    at tryResolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1458)
    at StaticInjector.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1326)
    at resolveNgModuleDep (webpack-internal:///./node_modules/@angular/core/esm5/core.js:11070)
    at _createClass (webpack-internal:///./node_modules/@angular/core/esm5/core.js:11111)
    at _createProviderInstance$1 (webpack-internal:///./node_modules/@angular/core/esm5/core.js:11081) Error: StaticInjectorError(AppModule)[UserEffects -> Actions]: 
  StaticInjectorError(Platform: core)[UserEffects -> Actions]: 
    NullInjectorError: No provider for Actions!
    at _NullInjector.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1218:19)
    at resolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1516:24)
    at tryResolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1458:16)
    at StaticInjector.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1326:20)
    at resolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1516:24)
    at tryResolveToken (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1458:16)
    at StaticInjector.get (webpack-internal:///./node_modules/@angular/core/esm5/core.js:1326:20)
    at resolveNgModuleDep (webpack-internal:///./node_modules/@angular/core/esm5/core.js:11070:25)
    at _createClass (webpack-internal:///./node_modules/@angular/core/esm5/core.js:11111:29)
    at _createProviderInstance$1 (webpack-internal:///./node_modules/@angular/core/esm5/core.js:11081:26)

How can i fix this?

My configurations:

Angular CLI: 1.7.4
Node: 8.9.4
OS: win32 x64
Angular: 5.2.9
... animations, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router

@angular/cli: 1.7.4
@angular-devkit/build-optimizer: 0.3.2
@angular-devkit/core: 0.3.2
@angular-devkit/schematics: 0.3.2
@ngtools/json-schema: 1.2.0
@ngtools/webpack: 1.10.2
@schematics/angular: 0.3.2
@schematics/package-update: 0.3.2
typescript: 2.4.2
webpack: 3.11.0

docker-compose up

run docker-compose on ubuntu 18.10 tried on develop version and 1.0 release

$ sudo docker-compose up Starting angularspree-client-start ... done Attaching to angularspree-client-start angularspree-client-start | npm info it worked if it ends with ok angularspree-client-start | npm info using [email protected] angularspree-client-start | npm info using [email protected] angularspree-client-start | npm ERR! Linux 4.18.0-13-generic angularspree-client-start | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" angularspree-client-start | npm ERR! node v7.7.1 angularspree-client-start | npm ERR! npm v4.1.2 angularspree-client-start | angularspree-client-start | npm ERR! missing script: start angularspree-client-start | npm ERR! angularspree-client-start | npm ERR! If you need help, you may report this error at: angularspree-client-start | npm ERR! <https://github.com/npm/npm/issues> angularspree-client-start | npm ERR! Linux 4.18.0-13-generic angularspree-client-start | npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" angularspree-client-start | npm ERR! node v7.7.1 angularspree-client-start | npm ERR! npm v4.1.2 angularspree-client-start | npm ERR! path npm-debug.log.896050243 angularspree-client-start | npm ERR! code EACCES angularspree-client-start | npm ERR! errno -13 angularspree-client-start | npm ERR! syscall open angularspree-client-start | angularspree-client-start | npm ERR! Error: EACCES: permission denied, open 'npm-debug.log.896050243' angularspree-client-start | npm ERR! { Error: EACCES: permission denied, open 'npm-debug.log.896050243' angularspree-client-start | npm ERR! errno: -13, angularspree-client-start | npm ERR! code: 'EACCES', angularspree-client-start | npm ERR! syscall: 'open', angularspree-client-start | npm ERR! path: 'npm-debug.log.896050243' } angularspree-client-start | npm ERR! angularspree-client-start | npm ERR! Please try running this command again as root/Administrator. angularspree-client-start | angularspree-client-start | npm ERR! Please include the following file with any support request: angularspree-client-start | npm ERR! /home/app/angularspree-client/npm-debug.log angularspree-client-start exited with code 1

screenshot from 2019-01-29 18-27-50

ngu-carousel code update

You upgraded the ngu-carousel plugin but you forgot to update the code.

This works for me

<ngu-carousel #landingBanners [inputs]="carouselOne" (onMove)="onMoveBanner($event)" [dataSource]="bannerItems"> <ngu-tile *nguCarouselDef="let banner;" class="bannerStyle"> <a href="{{banner.link_url}}"> <img src={{banner.image_link}} alt="" style="display: block; width: 100%;"> </a> </ngu-tile> <button NguCarouselPrev class='leftRs'></button> <button NguCarouselNext class='rightRs'></button> </ngu-carousel>

public carouselOne: NguCarouselConfig;

this.carouselOne = { grid: { xs: 1, sm: 1, md: 1, lg: 1, all: 0 }, slide: 1, speed: 400, interval: { timing: 4000 }, point: { visible: true, //pointStyles: '.ngucarouselPoint {}' // <-- this is not available anymore }, load: 2, touch: true, loop: true, custom: 'banner' };

Cannot read property 'order_token' of null

Does anyone know how to fix this problem?

vendor.bundle.js:46635 ERROR TypeError: Cannot read property 'order_token' of null
    at CheckoutService.webpackJsonp../src/app/core/services/checkout.service.ts.CheckoutService.getOrderToken (main.bundle.js:1515)
    at CheckoutService.webpackJsonp../src/app/core/services/checkout.service.ts.CheckoutService.createNewLineItem (main.bundle.js:1375)

Cannot add new address on firebaseapp

Hello,
On angularspree.firebaseapp.com, after proceed to checkout my purchases I try to add new address but nothing happens after click on button "Save". I should be redirected to payment process am I wrong ?

SEO improvement: schema.org / json-LD support

It seems that unlike the traditional Spree frontend, AngularSpree is still missing support for schema.org, used by Google and others to generate rich snippets based on this semantic markup. It'd be cool to see this make it in here as well.

demo version

Add to cart doesn't seem to update and nor does it display any products after adding a product to cart.

Error while serving the application

Hi all,

I am getting following issue when i try to serve the application.

image

Is this something wrong with configuration ?

I am using Windows 10

Regards
Sathya

Unit Testing

Please create test case for all modules , components, and services.
I am following your structure "angularspree"
Thanks
Krishna

Full page is not Loading now.

I think you have changed the repository so Your page has so many errors. That's why this project is not loaded fully. Kindly check your Demo page.

@NgCarousel

problem is it shows error as "Generic type 'NguCarousel' requires 1 type argument(s). [2314]".

Signup form validations

In sign up form, as of now only validating whether the fields are empty or not. Apart from this we can implement some more validations like email type, mobile - number validations etc? Also the mobile number field is of type number which shows a counter icon. This we can remove.
capture

Give me my 4200 port!

this project just busied my 4200 port, even when it is not launched, restarting browser or pc did not help, what's the problem?

Update to Angular version 5.0.0

Hey there,

is there an update to Angular version 5.0.0. lined up? And what is the general state of the project if I may ask? It seems like the "What's coming soon" part is lined up since quite some months...

Keep up the great work :)

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.