fingerpich / jalali-moment

Display, parse, manipulate, validate and convert jalali (Persian, Khorshidi, Shamsi) or Gregorian (Miladi) dates and times.

Home Page:https://fingerpich.github.io/jalali-moment/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

AmirHosein20 opened this issue · comments

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):

  • OS: [e.g. iOS]
  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]

Additional context
Add any other context about the problem here.

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

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

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?

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 

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

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

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