This repository has been archived by the owner on Dec 6, 2021. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 255
ERROR in ./index.js Module not found: Error: Can't resolve 'postcss-loader' #408
Closed
pbastowski opened this issue
Apr 10, 2018
· 5 comments
· May be fixed by Raoul1996/poi#88 or Raoul1996/poi#143
Closed
ERROR in ./index.js Module not found: Error: Can't resolve 'postcss-loader' #408
pbastowski opened this issue
Apr 10, 2018
· 5 comments
· May be fixed by Raoul1996/poi#88 or Raoul1996/poi#143
Comments
Fixed in latest version. |
Thanks for your help. I still get the following errors, just in a different colour now: 🚨 Failed to compile with 139 errors
Cannot find module "postcss-loader" in "/Users/paul/dev/kpmg/SOFY/client"!
You may run yarn add postcss-loader to install missing dependencies.
...
Cannot find module "vue-loader" in "/Users/paul/dev/kpmg/SOFY/client"!
You may run yarn add vue-loader to install missing dependencies.
62 authorizations updated successfully.
✨ Done in 43.20s.
And this is what I mean by different coulour: Before the errors were mostly red. |
To test if the error was isolated to my poi.config.js, I created a simple App.vue and index.js. When I try to run it with After reverting to 9.6.13 everything runs as expected with no changes to the code or config. |
@pbastowski I've tested it with https://gist.github.com/egoist/5e2f5ee0364b4bfbe144bb4e6cd660d4 and it works fine for me |
It still doesn’t work for me. I will stick with 9.6.13 for now, because it works. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Do you want to request a feature or report a bug?
bug
What is the current behavior?
results in
Please note that the
post-css
error message appears many times over, I just provided a sampleIf the current behavior is a bug, please provide the steps to reproduce.
Here is the poi.config.js file I use:
What is the expected behavior?
When using 9.x version of poi, I get a successful build. I expect that version 10.x will produce the same results, but currently it fails with the error messages above.
Now, I'm not sure if this is actually a build failure or just some warnings, but is sure looks scary to see all those post-css errors.
Update: just confirmed that this is a hard failure. No build folder is created at all.
If this is a feature request, what is the motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, Poi version and Operating System.
The text was updated successfully, but these errors were encountered: