Giter VIP home page Giter VIP logo

Comments (4)

riteshnahar avatar riteshnahar commented on August 23, 2024

I am also facing the same issue, any workarounds?

from sfdx-plugin-generate.

richclark808 avatar richclark808 commented on August 23, 2024

@amphro Hi Thomas, don't know if you'd seen this one already but we're looking to publish our DX plugin on NPM and VS Code Extensions this week and this is an issue we've also come across recently.

from sfdx-plugin-generate.

zerkz avatar zerkz commented on August 23, 2024

I had an old plugin I generated awhile back that IS giving me the actual test / mocha output. I will see if I can compare the dependency versions from there to the newest generator's dependencies, see if I can find any common links...

from sfdx-plugin-generate.

baksale avatar baksale commented on August 23, 2024

same issue on latest generator.

Update:
If I change package.json dependencies to

  "dependencies": {
    "@oclif/command": "^1.8.0",
    "@oclif/config": "^1.17.0",
    "@oclif/plugin-help": "^3.2.0",
    "@oclif/errors": "^1",
    "@salesforce/command": "2.1.0",
    "@salesforce/core": "2.1.4",
    "tslib": "^1.13.0"
  },
  "devDependencies": {
    "@salesforce/dev-config": "^1",
    "@oclif/dev-cli": "^1.22.2",
    "@oclif/test": "^1.2.6",
    "@types/chai": "^4.2.12",
    "@types/mocha": "^5.2.7",
    "@types/node": "^10.17.28",
    "chai": "^4.2.0",
    "globby": "^10.0.2",
    "mocha": "^5.2.0",
    "nyc": "^14.1.1",
    "rimraf": "^3.0.2",
    "ts-node": "^8.10.2",
    "typescript": "^3.6.4"
  },
  "engines": {
    "node": ">=8.0.0"
  },

It does work.

But had to also change tsconfig.json to have '"strictNullChecks": false' in it.

from sfdx-plugin-generate.

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.