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

Conflicts in the taiwindcss config file . #67

Open
Clasherzz opened this issue Jan 18, 2025 · 7 comments · May be fixed by #69
Open

Conflicts in the taiwindcss config file . #67

Clasherzz opened this issue Jan 18, 2025 · 7 comments · May be fixed by #69

Comments

@Clasherzz
Copy link

Error Explained

The file in tailwindcss currently is written in the CommonJS format. But according to package.json and tsconfig.json it must be in ESM.

Steps to reproduce error

npm install
npm run build

Expected Behaviour

must be build without error resulting in the dist file

Actual Behaviour / relevant logs

Causes following error:

ReferenceError: module is not defined
    at file:///D:/contributions/Social-Street-Smart/NewClient/tailwind.config.js:2:1
    at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
    at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
    at loadESMFromCJS (node:internal/modules/cjs/loader:1414:24)
    at Module._compile (node:internal/modules/cjs/loader:1547:5)
@harshjain777
Copy link

Hi, I’d like to work on this issue and propose a solution. Could you please assign this to me?

@Clasherzz
Copy link
Author

Clasherzz commented Jan 18, 2025

Hi, I’d like to work on this issue and propose a solution. Could you please assign this to me?

brother if you are referring to me I am not a maintainer. And as you can see i have already raised a PR.

@harshjain777
Copy link

oops , by the way the build command is not working

@Clasherzz
Copy link
Author

Clasherzz commented Jan 18, 2025

oops , by the way the build command is not working

could you show me the error maybe cause it is working fine in my lap (Windows 11 not that the os version really matters)

@harshjain777
Copy link

oh its running now i was running in client folder , now i switched to NewClient folder, thanks:)

@harshjain777
Copy link

@Clasherzz i am new to open source contri can i get a bit guidance

@Clasherzz
Copy link
Author

@Clasherzz i am new to open source contri can i get a bit guidance

I am also a newbie bro and i dont have much knowledge about this repo right now . Literally ran this extension today. But do join the discord server of AOSSIE you will definitely find help there .

You can share your doubt though i am not too sure if i can resolve it though

@shafayat666 shafayat666 linked a pull request Jan 23, 2025 that will close this issue
3 tasks
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

Successfully merging a pull request may close this issue.

2 participants