fingerpich / jalali-moment

Display, parse, manipulate, validate and convert jalali (Persian, Khorshidi, Shamsi) or Gregorian (Miladi) dates and times.
https://fingerpich.github.io/jalali-moment/
MIT License
435 stars 68 forks source link

Why jalali-moment packages remove from my project when i install typescript package? #57

Closed AmirHosein20 closed 5 years ago

AmirHosein20 commented 5 years ago

Describe the bug A clear and concise description of what the bug is.

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior A clear and concise description of what you expected to happen.

Screenshots If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context Add any other context about the problem here.

fingerpich commented 5 years ago

Hi, Please make a better issue and describe the bug more Thanks

AmirHosein20 commented 5 years ago

I install the jalali-moment and it work ,just after the npm install typescript on my project , jalali-moment packages has removed from my project

fingerpich commented 5 years ago

So you say if I ran the following commands

npm i jalali-moment -S
npm i typescript -D

jalali-moment would not be in node_modules?

AmirHosein20 commented 5 years ago

So you say if I ran the following commands

npm i jalali-moment -S
npm i typescript -D

jalali-moment would not be in node_modules?

yes , of course i ran this

 npm install jalali-moment 
 npm install typescript 
fingerpich commented 5 years ago

تا اونجا که من فهمیدم میگی که وقتی تایپ اسکریپت رو بعد از جلالی مامنت نصب میکنی جلالی مامنت حذف میشه و دیگه تو node_modules نیست درسته؟

AmirHosein20 commented 5 years ago

بله - همین طور هست

fingerpich commented 5 years ago

Its not related to jalali moment but to find the problem run the following script in terminal

mkdir newproject
cd newproject
npm install jalali-moment
npm install typescript
if [ -d ./node_modules/jalali-moment ]
then 
    echo "jalali-moment present"
else
    echo "jalali-moment not present"
fi

I ran it and it showed me jalali-moment present