-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
if user runs npm install in a module folder with no package.json, node_helper folder is erased #1758
Comments
Can confirm. Leaves my MM all black. A workaround is to checkout the
Edit: Fix git command, should be "checkout". |
right.. (should be checkout , not check) but if you don't know git that well, etc.. its a fun time.. |
why does this even happen? Shouldn't an |
I hadn't seen reports of this until recently, but npm has been updated too.. so I don't know what is causing it. but even if its npm, we STILL need to DO something to work around the destructive effects. |
After I ran "git checkout modules/node_modules/node_helper/index.js" , I received an error message of: |
this worked for me
|
how can I submit a pr, which updates the package.json, and creates a new separate repo under your userid? |
can i get you @MichMich to create a github repo with just the node_helper module.. then i can submit a pr change to the package.json to depend on it. see my comment on Sept 2 above but the module has to BE someplace.. |
can i get you @MichMich to create a github repo with just the node_helper module.. then i can submit a pr change to the package.json to depend on it. see my comment on Sept 2 above |
added my own repo |
pr #1827 submitted |
This should be closed. Fix in 2.10 |
I am still having this issue. Any help is greatly appreciated. |
@johnnybfireman please don't post in multiple issues.. one will do.. I replied in the other |
Sorry my bad! Thank you for replying
…Sent from my iPhone
On Dec 27, 2021, at 12:52 PM, sam detweiler ***@***.***> wrote:
@johnnybfireman please don't post in multiple issues.. one will do.. I replied in the other
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you were mentioned.
|
if you run npm install in a module folder with no package.json, a side effect is that the MM shipped modules/node_modules/node_helper/index.js is erased, and now nothing (with node helper.js) will run, and MM goes black screen..
without knowledge of git, github, etc, there is no recovery of this required module..
happens on 2.8.0
on my odroid its node 8.10.0, npm 6.10.2, unbuntu 18.04.3
on pi its node 10.6.0, npm 6.1.0, Raspbian 9.4/stretch
on jetson nano, its node 10.16.3, npm 6.9.0, ubuntu 18.04.2
i think we might have to specify this as a dependency, and have a github repo for it..
https://stackoverflow.com/questions/28728665/how-to-use-private-github-repo-as-npm-dependency/28729646#28729646
The text was updated successfully, but these errors were encountered: