Giter Club home page Giter Club logo

Comments (10)

FabianGosebrink avatar FabianGosebrink commented on May 24, 2024 2

In "node_modules@types\jasmine\package.json" which version are you using (scroll down to the last line)?

from aspnetcore-angular-ngrx.

FabianGosebrink avatar FabianGosebrink commented on May 24, 2024

What is your node and npm version?

Have you done a fresh npm install?

Can you try excluding the node_modules folder explicitly?

Try to change

{
	test: /\.ts$/,
	use: [
		'awesome-typescript-loader',
		'angular-router-loader?aot=true&genDir=aot/',
		'angular2-template-loader',
	]
},

to

var path = require('path');
//...
{
	test: /\.ts$/,
	use: [
		'awesome-typescript-loader',
		'angular-router-loader?aot=true&genDir=aot/',
		'angular2-template-loader',
	],
	exclude: [
		path.resolve(__dirname, "node_modules")
	]
},

from aspnetcore-angular-ngrx.

sharmavikram avatar sharmavikram commented on May 24, 2024

@FabianGosebrink i just changed the code of webpack.prod.js file. but it returns the same error.

from aspnetcore-angular-ngrx.

FabianGosebrink avatar FabianGosebrink commented on May 24, 2024

What is your node and npm version?

Have you done a fresh npm install?

from aspnetcore-angular-ngrx.

sharmavikram avatar sharmavikram commented on May 24, 2024

My node version v6.9.1 and npm version is 4.0.5
Yes, i have fresh node install

from aspnetcore-angular-ngrx.

sharmavikram avatar sharmavikram commented on May 24, 2024

"version": "2.5.42"

from aspnetcore-angular-ngrx.

FabianGosebrink avatar FabianGosebrink commented on May 24, 2024

Just pushed a fix. Can you update and try again?

from aspnetcore-angular-ngrx.

sharmavikram avatar sharmavikram commented on May 24, 2024

Thanks of Angular-Clinet-Webpack Repo.
i just changed the jasmine version "@types/jasmine": "2.5.42", to "@types/jasmine": "2.5.41",

I have another question related to webpack.dev.js
When I paste css to CSS Folder and then import css to import.ts file and run the command "npm run webpack-dev" or "npm start" it return "cssText.replace is not a function"
Below is my screenshot.
image

from aspnetcore-angular-ngrx.

FabianGosebrink avatar FabianGosebrink commented on May 24, 2024

Which "imports.ts" file do you mean?

from aspnetcore-angular-ngrx.

sharmavikram avatar sharmavikram commented on May 24, 2024

@FabianGosebrink Sorry for late reply i mean to say it is vendor.ts file.
Everything is working fine, but one issue after compilation of AOT.
when i run AOT folder under "./dist/web/aot" it return error.

Uncaught reflect-metadata shim is required when using class decorators

image

from aspnetcore-angular-ngrx.

Related Issues (6)

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.