Git Product home page Git Product logo

angular2-shop's Issues

Product thumbnail not showing properly

Product thumbnails are looking weird in my development server. View Details and Cart Option are not showing properly within the thumbnail.
Image Link : http://imgur.com/a/tTjcB
ecomm

Using the latest angular/cli. Below is my package.json =>

package.json


package,json.txt

angular-cli.json


{
"project": {
"version": "1.0.0-beta.15",
"name": "angular2-store"
},
"apps": [{
"root": "src",
"outDir": "dist",
"assets": "assets",
"index": "index.html",
"main": "main.ts",
"test": "test.ts",
"tsconfig": "tsconfig.json",
"prefix": "app",
"mobile": false,
"styles": [
"styles.sass"
],
"scripts": [],

"environmentSource": "environments/environment.ts",
"environments": {
  "dev": "environments/environment.ts",
  "prod": "environments/environment.prod.ts"
}

}],
"addons": [],
"packages": [],
"e2e": {
"protractor": {
"config": "./protractor.conf.js"
}
},
"test": {
"karma": {
"config": "./karma.conf.js"
}
},
"defaults": {
"styleExt": "sass",
"prefixInterfaces": false
}
}

Looking forward to your help. Other than this issue, the site looks amazing !

Getting Weird Error on ng serve

I cloned the project, went into the dir and ran npm install and I am getting this error:

Versions of @angular/compiler-cli and typescript could not be determined.
The most common reason for this is a broken npm install.

Please make sure your package.json contains both @angular/compiler-cli and typescript in
devDependencies, then delete node_modules and package-lock.json (if you have one) and
run npm install again.

I've tried looking around the net for anyone having similar problem, and cannot find anyone else with this error message. Any ideas?

Hi

Hello Caroso,

This is Swadesh (ShopNx). Could not find your email. Hence contacting you this way.
I am working on Javascript e-commerce (ShopNx) http://mshop.codenx.com/

I am really impressed with the ui of your ecommerce app. I thought if you have time together we could make a much better product.

Contact me at [email protected]

webpack: Failed to compile.

Hi Caroso
I tried to run your application after (npm install) however, I get these bunch of errors; I think the configuration or the packages are not up to date. it will be very helpful if you update this project.

Thanks

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:113:37
A parameter initializer is only allowed in a function or constructor implementation.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:113:45
Cannot find name 'keyof'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:113:51
'=' expected.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:121:45
A parameter initializer is only allowed in a function or constructor implementation.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:121:55
Cannot find name 'keyof'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:121:61
'=' expected.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:137:41
Cannot find name 'Partial'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:182:21
Cannot find name 'Partial'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:182:34
Cannot find name 'Partial'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:551:12
Invalid use of 'arguments'. Modules are automatically in strict mode.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:6
A computed property name must be of type 'string', 'number', 'symbol', or 'any'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:7
Cannot find name 'k'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:12
Cannot find name 'keyof'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:18
']' expected.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:18
Cannot find name 'T'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:19
';' expected.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:20
Declaration or statement expected.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:614:22
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:619:23
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:621:31
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:623:40
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:625:32
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:627:33
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:629:16
Cannot find name 'Spy'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:668:36
Cannot find name 'Reporter'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:674:20
Cannot find name 'RunDetails'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:678:18
Cannot find name 'Suite'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:679:32
Cannot find name 'SuiteOrSpec'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:688:14
Cannot find name 'Spec'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:689:15
Cannot find name 'Clock'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:693:29
Cannot find name 'HtmlReporter'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:694:31
Cannot find name 'HtmlSpecFilter'.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:697:0
Declaration or statement expected.

ERROR in [default] /Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index.d.ts:702:25
Module '"/Users/Saber/Desktop/angular2-shop/node_modules/@types/jasmine/index".jasmine' has no exported member 'Jasmine'.
Child html-webpack-plugin for "index.html":
Asset Size Chunks Chunk Names
index.html 3.09 kB 0
webpack: Failed to compile.

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.