Closed pedrouid closed 4 years ago
I found a workaround online, the issue came was due to mini-css-extract-plugin
so I first installed it in devDependencies but that didn't work.
However when I also installed to the devDependencies, I was able to get it to work. Not sure why this is happening but you can take a look at the following issue that I used as a guide
https://github.com/webpack-contrib/mini-css-extract-plugin/issues/69
The versions installed are mini-css-extract-plugin@0.8.0
and webpack@4.36.1
Please use playground code as an example of create-react-app
https://github.com/netgum/archanova/tree/develop/packages/sdk-playground
This is a follow-up to issue #39, I've moved away from a Typescript environment with
react-scripts-ts
and I'm using the latestreact-scripts@3.0.1
fromcreate-react-app@3.0.1
.I'm still getting issues with the dev environment but this time with the following error:
TypeError: Cannot destructure property
createHashof 'undefined' or 'null'.
However I've also tested it with the boilerplate create-react-app without any of my code and just installing the
@archanova/sdk
and it workedBut can't get it to work with my setup which has the following dependencies: