Git Product home page Git Product logo

Comments (4)

chenkie avatar chenkie commented on June 18, 2024

thanks! added it

from angular-cli-heroku.

prabhakarBU avatar prabhakarBU commented on June 18, 2024

Hello,
I am also stuck in this situation. Could you guys be a little more specific please, where and how to do this change in package.json file - "":"1.1.9"
Why the key here empty ?

Below is my sample package.json code:

{
"name": "sample-angular-app",
"version": "1.0.0",
"private": true,
"scripts": {
"start": "node ./bin/www",
"build": "del-cli public/js/app && webpack --config webpack.config.dev.js --progress --profile --watch",
"build:prod": "del-cli public/js/app && ngc -p tsconfig.aot.json && ngc -p tsconfig.aot.json && webpack --config webpack.config.prod.js --progress --profile --bail && del-cli 'assets/app//*.js' 'assets/app//.ngsummary.json' 'assets/app/**/.ngstyle.*'"
},
"dependencies": {
"@angular/animations": "^5.0.0",
"@angular/common": "^5.0.0",
"@angular/compiler": "^5.0.0",
"@angular/compiler-cli": "^5.0.0",
"@angular/core": "^5.0.0",
"@angular/forms": "^5.0.0",
"@angular/http": "^5.0.0",
"@angular/platform-browser": "^5.0.0",
"@angular/platform-browser-dynamic": "^5.0.0",
"@angular/platform-server": "^5.0.0",
"@angular/router": "^5.0.0",
"@angular/upgrade": "^5.0.0",
"body-parser": "~1.15.2",
"cookie-parser": "~1.4.3",
"debug": "~2.2.0",
"express": "~4.14.0",
"hbs": "~3.1.0",
"mongoose": "^4.6.3",
"mongoose-unique-validator": "^1.0.2",
"morgan": "~1.6.1",
"reflect-metadata": "^0.1.3",
"core-js": "^2.4.1",
"rxjs": "^5.5.0",
"zone.js": "^0.8.5",
"serve-favicon": "~2.3.0"
},
"devDependencies": {
"@ngtools/webpack": "^1.8.0",
"@types/core-js": "0.9.36",
"@types/node": "^6.0.45",
"angular-router-loader": "^0.5.0",
"angular2-template-loader": "^0.5.0",
"awesome-typescript-loader": "^3.1.2",
"del-cli": "^0.2.0",
"html-loader": "^0.4.4",
"raw-loader": "^0.5.1",
"ts-loader": "^2.0.3",
"typescript": "^2.4.2",
"webpack": "^2.2.1",
"webpack-merge": "^4.1.0"
}
}

-Thanks
Prabhakar

from angular-cli-heroku.

chenkie avatar chenkie commented on June 18, 2024

It looks like you need the Angular framework dependencies where you have empty keys. Why do you have them empty out of curiosity? Here's what it's supposed to look like (for v4 anyway): https://github.com/chenkie/angular-cli-heroku/blob/master/package.json#L19-L30

from angular-cli-heroku.

prabhakarBU avatar prabhakarBU commented on June 18, 2024

from angular-cli-heroku.

Related Issues (4)

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.