Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught Error: Cannot find module 'react' when using npm 5.3.0 #787
Hi, I was using electron-packager in my app https://github.com/onmyway133/PushNotifications and it was working fine. Now I want to make new release, but all I get is
I don't know if this is a duplicate of #517, but I can't find an answer from that thread.
When I run (with
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
I can't reproduce this on Linux. When I run the packaged app, I get the same screen as in the screenshot in your repo's README. Here's how I did it:
$ git clone https://github.com/onmyway133/PushNotifications $ cd PushNotifications $ yarn $ yarn run release $ PushNotifications-linux-x64/PushNotifications
Can you try with a fresh git checkout of your repo?
changed the title from
Uncaught Error: Cannot find module 'react'
Uncaught Error: Cannot find module 'react' when using yarn
Jan 12, 2018
When I run in debug mode
So maybe it's related to #686