-
Notifications
You must be signed in to change notification settings - Fork 49
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
Question: css-loader photon.min.css causes error during browserify #18
Comments
Sorry for the late replay. 😅 |
hey... i'm finding the same... can you put together a simple example of using this that doesn't use Electron? I'd love to use this in a new project, but am a bit new to the tooling that surrounds using react, etc. thanks! |
This worked for me if I installed it from npm. I was trying to use it from the git repo.
|
@bradparks @sebastientromp |
and it may get merged, but here's the simple example I had for doing this as a Pull request, in the "example" folder. but, it appears that Git is adding it as a subproject or something, so I may be doing something weird here with my pull request... If so, I put the example here as well: https://dl.dropboxusercontent.com/u/274922/photon_kit_example.zip And you can just download it from there ;-) |
102 /* module.hot.accept("!!./../../../css-loader/index.js!./photon.min.css", function() { If I comment these in photon.js , the problem looked like fixed! |
Hello,
I'm trying to integrate react-photonkit in my js app using grunt-browserify. Everything works fine, except one error:
I couldn't find any photon.min.css anywhere, but even adding an empty css file didn't solve the issue.
I'm not at all familiar with the syntax with the exclamation marks, so I don't really know how to investigate.
Something that may be worth noting though is that running
npm install
doesn't install css-loader module. I tried to install it independently, but with no avail.Moreover, running "cd ./../../.." from yo\node_modules\react-photonkit\dist goes back to `yo, and not node_modules. Changing that to ./../.. doesn't solve the issue however.
Commenting out the portion about css-loader fixes all issues.
Would you have any pointer that would help me figure out what is happening here?
Thanks for your help,
Sébastien
The text was updated successfully, but these errors were encountered: