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

Unable to resolve path to module 'lib/Injector' #35

Closed
Zauberfisch opened this issue Apr 17, 2021 · 1 comment
Closed

Unable to resolve path to module 'lib/Injector' #35

Zauberfisch opened this issue Apr 17, 2021 · 1 comment

Comments

@Zauberfisch
Copy link

This template will not work out of the box.
Building actually works (NODE_ENV=production webpack -p --bail --progress), but if you run the build task (yarn && yarn lint && NODE_ENV=production webpack -p --bail --progress) it will also lint, which throws the following errors:

$ eslint client/src

/vagrant/silverstripe/silverstripe-module/client/src/boot/registerComponents.js
  1:22  error  Unable to resolve path to module 'lib/Injector'  import/no-unresolved
  1:22  error  Missing file extension for "lib/Injector"        import/extensions

✖ 2 problems (2 errors, 0 warnings)
@maxime-rainville
Copy link

Fixed by #37

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