codyhouse / codyhouse-framework

A lightweight front-end framework for building accessible, bespoke interfaces.
https://codyhouse.co/
MIT License
1.16k stars 171 forks source link

Issues with npm install and postcss-css variables #32

Closed TadiMercury closed 5 years ago

TadiMercury commented 5 years ago

I've been trying to install the necessary modules for the framework but my computer is running errors. I thought uninstalling everything then reinstalling the files would work but that obviously hasn't worked. I've been struggling with the screenshot below: Screenshot (1)

claudia-romano commented 5 years ago

Hi @TadiMercury, sorry about that.

It looks like there's an issue while trying to download the node modules. Could you please confirm your device is connected to the internet and you are not on a secure connection that may be blocking the download of the node modules? Thanks.

If the connection is not the issue, could you please try using the npm install command again and, if you get the same error, could you please attach the log file that is created? That could have some additional info about your issue. Thanks.

TadiMercury commented 5 years ago

Hi Claudia

My device is connected to the internet and I have done some troubleshooting myself by using it on a secure and unsecured network. Nothing has changed however so it seems like internet connection is not the issue.

Please find attached the log file. Thanks for your help.

TadiMercury

On Tue, Aug 6, 2019 at 9:26 AM Claudia Romano notifications@github.com wrote:

Hi @TadiMercury https://github.com/TadiMercury, sorry about that.

It looks like there's an issue while trying to download the node modules. Could you please confirm your device is connected to the internet and you are not on a secure connection that may be blocking the download of the node modules? Thanks.

If the connection is not the issue, could you please try using the npm install command again and, if you get the same error, could you please attach the log file that is created? That could have some additional info about your issue. Thanks.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/CodyHouse/codyhouse-framework/issues/32?email_source=notifications&email_token=AMZZFBAFP257IJYNHDB372DQDERRZA5CNFSM4IJM6Z6KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3UFRCQ#issuecomment-518543498, or mute the thread https://github.com/notifications/unsubscribe-auth/AMZZFBEU4EHAHVWURJKSQO3QDERRZANCNFSM4IJM6Z6A .

claudia-romano commented 5 years ago

Hi @TadiMercury, thanks for the info. I didn't get the log file though. If you have issues attaching it using GitHub, you can send it to help@codyhouse.co. Thanks.

TadiMercury commented 5 years ago

Apologies, here it is. 2019-08-06T17_22_21_018Z-debug.log

claudia-romano commented 5 years ago

Hi @TadiMercury thanks for the log file.

Could you please try running this first: npm install CodyHouse/postcss-css-variables --save-dev

and then: npm install

Do you still get the error? Thanks.

TadiMercury commented 5 years ago

Hi, I still got the same errors when i ran those commands. Error code: npm ERR! path git npm ERR! code ENOENT npm ERR! errno ENOENT npm ERR! syscall spawn git npm ERR! enoent Error while executing: npm ERR! enoent undefined ls-remote -h -t ssh://git@github.com/CodyHouse/postcss-css-variables.git npm ERR! enoent npm ERR! enoent npm ERR! enoent spawn git ENOENT npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

Here's the log file too; Thanks for the help. 2019-08-08T17_29_11_932Z-debug.log

drinkingjava commented 5 years ago

This is a issue I ran into last night. By the looks of it you are running on windows and do not have git installed or the 'git' command is not callable from your cmd prompt. After installing https://git-scm.com/ from there type git in a new cmd prompt and if it throws no errors then your npm install should work.

TadiMercury commented 5 years ago

Thanks so much, it worked :))