GithubHelp home page GithubHelp logo

Comments (4)

mavogel avatar mavogel commented on May 20, 2024 1

@arthurvasconcelos : plz make a PR. I faced the same issue today. Thx for the solution!

from ionic-boilerplate.

marcoturi avatar marcoturi commented on May 20, 2024

How did you install node_modules ? Through yarn or npm ?

from ionic-boilerplate.

arthurvasconcelos avatar arthurvasconcelos commented on May 20, 2024

@marcoturi I use npm.

So I was successful fixing the problem... I had to update a lot of dependencies but everything is working now.

Here my package.json:

  ...
  "dependencies": {
    "@angular/common": "2.4.8",
    "@angular/compiler": "2.4.8",
    "@angular/compiler-cli": "2.4.8",
    "@angular/core": "2.4.8",
    "@angular/forms": "2.4.8",
    "@angular/http": "2.4.8",
    "@angular/platform-browser": "2.4.8",
    "@angular/platform-browser-dynamic": "2.4.8",
    "@angular/platform-server": "2.4.8",
    "@angular/tsc-wrapped": "^0.5.2",
    "@ionic/storage": "1.1.9",
    "ionic-angular": "2.2.0",
    "ionic-native": "^2.4.1",
    "ionicons": "3.0.0",
    "lodash-es": "^4.17.4",
    "rxjs": "5.0.1",
    "sw-toolbox": "^3.6.0",
    "zone.js": "0.7.2"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.1.4",
    "@types/jasmine": "2.5.41",
    "@types/lodash-es": "^4.14.2",
    "angular2-template-loader": "^0.6.2",
    "awesome-typescript-loader": "^3.1.2",
    "better-npm-run": "0.0.14",
    "codelyzer": "2.0.1",
    "commitizen": "^2.9.6",
    "css-loader": "^0.26.2",
    "cz-conventional-changelog": "^2.0.0",
    "finalhandler": "^1.0.0",
    "husky": "^0.13.1",
    "istanbul-instrumenter-loader": "0.2.0",
    "jasmine-core": "^2.5.2",
    "jasmine-spec-reporter": "^3.2.0",
    "json-loader": "^0.5.4",
    "karma": "^1.5.0",
    "karma-chrome-launcher": "^2.0.0",
    "karma-coverage": "^1.1.1",
    "karma-jasmine": "^1.1.0",
    "karma-mocha-reporter": "^2.2.2",
    "karma-phantomjs-launcher": "^1.0.2",
    "karma-remap-coverage": "0.1.2",
    "karma-sourcemap-loader": "^0.3.7",
    "karma-webpack": "2.0.2",
    "phantomjs-prebuilt": "^2.1.14",
    "protractor": "^5.1.1",
    "protractor-jasmine2-screenshot-reporter": "^0.3.3",
    "raw-loader": "0.5.1",
    "serve-static": "^1.12.0",
    "source-map-loader": "^0.1.6",
    "standard-version": "^4.0.0",
    "to-string-loader": "^1.1.4",
    "ts-helpers": "^1.1.1",
    "ts-node": "^2.1.0",
    "tslint": "4.0.0",
    "tslint-loader": "^3.4.2",
    "typedoc": "^0.5.7",
    "typescript": "2.1.4",
    "validate-commit-msg": "^2.11.1",
    "webpack": "2.2.1",
    "xml2js": "^0.4.17"
  },
  ...

I also change the script name post-install to postinstall.

You want me to make a pull request?

from ionic-boilerplate.

marcoturi avatar marcoturi commented on May 20, 2024

Latest release should have fixed this problem, sore for the late response.

If anyone is getting problems with typescript types, cosider setting the type version to the one of typescript of the project (in this case ts2.0, "@types/lodash-es": "ts2.0").

from ionic-boilerplate.

Related Issues (20)

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.