jfrohnhofen / metamaterial-mechanisms

https://jfrohnhofen.github.io/metamaterial-mechanisms
MIT License
56 stars 13 forks source link

npm install issue #2

Open batuhancerli opened 7 years ago

batuhancerli commented 7 years ago

while the npm install process operating, suddenly the system gave this error saying that contact with the author. Therefore, I have decided to write an issue. The error is shared below. adsiz

batuhancerli commented 7 years ago

Please, give me a hand to overcome this issue. This editor plays an important role for my project

alexiiion commented 7 years ago

thank you for writing in the right repository!

as I see from your screenshot you are in the wrong folder. please navigate to the correct folder, as described in the readme: "2. run npm install in the root folder (where package.json lies)"

this will create a folder "node_modules" for you.

batuhancerli commented 7 years ago

Actually , I operated the npm install in C\ Program Files\node.js\npm in which package.jnson lied. So, I think , I was in correct folder, or my assumtion is not correct could you help me in details where I should operate npm install.

alexiiion notifications@github.com şunları yazdı (12 Nis 2017 13:28):

thank you for writing in the right repository!

as I see from your screenshot you are in the wrong folder. please navigate to the correct folder, as described in the readme: "2. run npm install in the root folder (where package.json lies)"

this will create a folder "node_modules" for you.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexiiion commented 7 years ago

you need to navigate to the root folder of the editor, since you want to install the dependencies for the editor.

please navigate to .../metamaterial-mechanisms/editor (or whatever your folder structure is)

alexiiion commented 7 years ago

i have also updated the readme bases on our discussion. let me know if it runs for you now.

batuhancerli commented 7 years ago

Thanks for everthing, I could download and operate both simulater and editor. Howevet, the simulatar is very complicated not like shown in the HPI's videos.

alexiiion notifications@github.com şunları yazdı (12 Nis 2017 19:23):

i have also updated the readme bases on our discussion. let me know if it runs for you now.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexiiion commented 7 years ago

what do you mean? it's the same software. the simulation just runs in the background and everything is operated in the editor as shown in the video.

batuhancerli commented 7 years ago

When I operate the simulator , I counter this scheme.Actually, I do not understand this.

iPhone'umdan gönderildi

alexiiion notifications@github.com şunları yazdı (12 Nis 2017 19:37):

what do you mean? it's the same software. the simulation just runs in the background and everything is operated in the editor as shown in the video.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

batuhancerli commented 7 years ago

Actually, when I tried it via editor , It did not work

iPhone'umdan gönderildi

alexiiion notifications@github.com şunları yazdı (12 Nis 2017 19:37):

what do you mean? it's the same software. the simulation just runs in the background and everything is operated in the editor as shown in the video.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

batuhancerli commented 7 years ago

And my downloaded editor, again operates in google chrome instead of a software, when I code npm start throug tye comment promp. Is there any problem with this situation or it works like that

iPhone'umdan gönderildi

alexiiion notifications@github.com şunları yazdı (12 Nis 2017 19:37):

what do you mean? it's the same software. the simulation just runs in the background and everything is operated in the editor as shown in the video.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

alexiiion commented 7 years ago

the simulation is slow. it should work. yes, the editor is a javascript editor so it runs in chrome. but offline

prashantbalagaonkar commented 7 years ago

Hi Alex,

Thanks for this thread, I read and followed the procedure given in this thread, but still, I am getting below error

capture

Please guide.

remigiuszknitter commented 6 years ago

1 I have the same problem...

alexiiion commented 6 years ago

hi @prashantbalagaonkar

apparently you don't have git installed, or not set as environment variable. google can guide you on this: https://www.google.de/search?q=npm+install+error+not+found+git&oq=npm+install+error

alexiiion commented 6 years ago

hi @remigiuszknitter

did you do "npm install"? I can't see the full error message, so it's hard to help much. what does the log file say?

eryktobiasz commented 6 years ago

hi @alexiiion

I have the same problem as @remigiuszknitter

After npm install image

After npm start image

KonradZukowski commented 6 years ago

@eryktobiasz

To resolve this problem, you should change package.json (line 33): "vinyl-source-stream": "^1.1.0" to "vinyl-source-stream": "^2.0.0"

Pozdrawiam! 👍

eryktobiasz commented 6 years ago

I had to delete all files, change package.json and install it again. It works now :+1:

Mobin-M commented 6 years ago

Hi. I am trying to install the editor. I reach this error installing npm.

image

alexiiion commented 6 years ago

same error as above, you are in wrong folder. please read the thread :)

alexiiion commented on Apr 12, 2017 you need to navigate to the root folder of the editor, since you want to install the dependencies for the editor.please navigate to .../metamaterial-mechanisms/editor(or whatever your folder structure is)

Mobin-M commented 6 years ago

@alexiiion "C:\Program Files\nodejs\node_modules\npm" is the directory of the file "package.json"

alexiiion commented 6 years ago

I am telling you that this is the wrong folder.

Please navigate to the root folder of the editor: " .../metamaterial-mechanisms/editor" in your command line and run npm install there!

qoopen0815 commented 5 years ago

image

I'm facing this error. please help me

qoopen0815 commented 5 years ago

image

logfile

alexiiion commented 5 years ago

did you download the source code in this repository before running npm install? this looks like some git error which has nothing to do with the editor. please verify (or reinstall) your git installation

qoopen0815 commented 5 years ago

I fixed this error.

This error was caused by the absence of a # 4.0 branch in the gulp repository. So I fixed the error by correcting the package.json you created.

pull request => #7

Joaquin31 commented 4 years ago

I have this problem, and I'm in the editor folder where the "package.json" file lies npm_install issue

loudonicus commented 4 years ago

I have found the same, it seems that gulpjs has been deprecated;

https://github.com/gulpjs/gulp-util

loudonicus commented 4 years ago

@alexiiion can I ask is it possible to have an example json file as I was thinking of setting up a simulation of one of your mechanisms directly in Rhino/GH without the use of the editor front end?

DoMinhHieu192004 commented 10 months ago

loi @alexiiion help me pleas :<<