Skip to content
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

Can someone tell me how EXCATLY I need to install this package? #6231

Open
woweya opened this issue Apr 29, 2024 · 0 comments
Open

Can someone tell me how EXCATLY I need to install this package? #6231

woweya opened this issue Apr 29, 2024 · 0 comments

Comments

@woweya
Copy link

woweya commented Apr 29, 2024

I've installed the two dependancies ('moment,js and moment-timezone').
With npm list:

├── @tailwindcss/forms@0.5.7
├── aos@2.3.4
├── autoprefixer@10.4.19
├── axios@1.6.8
├── flowbite@2.3.0
├── laravel-mix@6.0.49
├── laravel-vite-plugin@1.0.2
├── moment-timezone@0.5.45
├── moment@2.30.1
├── postcss@8.4.38
├── range-slider-input@2.4.4
├── tailwindcss@3.4.3
└── vite@5.2.10

In my app.js:
import moment from "moment";
import 'moment-timezone';

Since the "require('moment')" can't be used if not working on modules, and im using commonJS. Still it doesn't work, what should I do? Im using Laravel PHP

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant