Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"npm run def" is broken typescript definition #2024

Closed
Vorobeyko opened this issue Nov 13, 2019 · 2 comments
Closed

"npm run def" is broken typescript definition #2024

Vorobeyko opened this issue Nov 13, 2019 · 2 comments
Labels

Comments

@Vorobeyko
Copy link
Collaborator

What are you trying to achieve?

  1. Add new method for helper
  2. Run npm run docs
  3. Run npm run def

What do you get instead?

Changes for typings!
And broken unit tests

and error

ERROR: Unable to find the source file or directory /home/avvorobey/github/TinkoffCreditSystem/CodeceptJS/lib/Helper.js
[TSD-JSDoc] Failed to find parent of doclet 'module.exports' using memberof 'module', this is likely due to invalid JSDoc.
[TSD-JSDoc] Failed to find parent of doclet 'container.mocha' using memberof 'container', this is likely due to invalid JSDoc.
[TSD-JSDoc] Failed to find parent of doclet 'module.exports' using memberof 'module', this is likely due to invalid JSDoc.
[TSD-JSDoc] Failed to find parent of doclet 'context.Scenario' using memberof 'context', this is likely due to invalid JSDoc.
[TSD-JSDoc] Unable to resolve type for an unnamed item, this is likely due to invalid JSDoc. Often this is caused by invalid JSDoc on a parameter. Defaulting to `any`.
[TSD-JSDoc] Unable to resolve type for an unnamed item, this is likely due to invalid JSDoc. Often this is caused by invalid JSDoc on a parameter. Defaulting to `any`.
[TSD-JSDoc] Unable to resolve type for an unnamed item, this is likely due to invalid JSDoc. Often this is caused by invalid JSDoc on a parameter. Defaulting to `any`.

Details

  • CodeceptJS version: master
  • NodeJS Version: v10.17.0
  • Operating System: linux
  • Protractor || WebDriverIO || Nightmare version (if related)
  • Configuration file:
@Vorobeyko
Copy link
Collaborator Author

fixed in release 2.4! 🎉

@Georgegriff
Copy link
Collaborator

Seeing similar issues again in 3.x Does anyone have any knowledge here? Posted in dev channel to discuss

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants