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

Cannot find module '@poppinss/file-generator' #3

Closed
VladyslavParashchenko opened this issue Jul 11, 2022 · 3 comments
Closed

Cannot find module '@poppinss/file-generator' #3

VladyslavParashchenko opened this issue Jul 11, 2022 · 3 comments
Assignees

Comments

@VladyslavParashchenko
Copy link

VladyslavParashchenko commented Jul 11, 2022

Description

I received error on latest package version. I develop some package for adonis and this package are used as fold dependency.
Cannot find module '@poppinss/file-generator' from 'node_modules/@adonisjs/http server/node_modules/@poppinss/utils/build/src/Helpers/index.js'

I think this issue related to this https://github.com/poppinss/file-generator/commit/58ef657490d97393da1fdfa7b2b9901c860fea7f
All works perfectly with version 1.0.1

Package version

1.0.2

Node.js and npm version

Reproduced on:

  • Node 14.18.1 & NPM 6.14.15
  • Node 16.14.2 & NPM 8.5.0
@thetutlage
Copy link
Member

That shouldn't be creating an issue. What version of @adonisjs/core are you using?

@thetutlage thetutlage self-assigned this Jul 12, 2022
@VladyslavParashchenko
Copy link
Author

I have an issues with @adonis/fold with version 8.2.0

@VladyslavParashchenko
Copy link
Author

I resolved my issue. Now all works fine. If you have a time you can try to clone this brach and run tests. Maybe you will find the reason.

PS: I use this package for testing adonis providers. It would be nice if we can run adonis in memory without this hacks.

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

No branches or pull requests

2 participants