Base solution for your next web application
Open Closed

Error installing metronic 9 #12389


User avatar
0
Paulo.bietkoski created

I'm trying to install metronic 9 on aspnetzero following the documentation below
metronic with angular

But it is giving an error during the tailwind installation step. On command
npx tailwindcss init

Can you tell me if it is possible to install metronic 9 on the latest version of aspnetzero? Is there any guidance on this process?


5 Answer(s)
  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @Paulo.bietkoski

    Can you share the error code with us? Switching to Metronic v9 in ASP.NET Zero will require changes in multiple places. There are differences between Tailwind and Bootstrap in the Metronic theme. These differences will make the transition difficult. There is no guidance for this situation in ASP.NET Zero. However, you can review the Metronic documentation for Metronic 9.

  • User Avatar
    0
    Paulo.bietkoski created

    follow the error:

    0 verbose cli C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js 1 info using npm@10.8.2 2 info using node@v18.20.6 3 silly config load:file:C:\Program Files\nodejs\node_modules\npm\npmrc 4 silly config load:file:C:\source\repos\stratexa-crm\src\Mastertech.CRM.Web.Host\.npmrc 5 silly config load:file:C:\Users\WilhamEzequieldeSous\.npmrc 6 silly config load:file:C:\Users\WilhamEzequieldeSous\AppData\Roaming\npm\etc\npmrc 7 verbose title npm exec tailwindcss init 8 verbose argv "exec" "--" "tailwindcss" "init" 9 verbose logfile logs-max:10 dir:C:\Users\WilhamEzequieldeSous\AppData\Local\npm-cache\_logs\2025-03-04T12_08_02_805Z- 10 verbose logfile C:\Users\WilhamEzequieldeSous\AppData\Local\npm-cache\_logs\2025-03-04T12_08_02_805Z-debug-0.log 11 silly logfile start cleaning logs, removing 1 files 12 silly logfile done cleaning log files 13 silly packumentCache heap:4345298944 maxSize:1086324736 maxEntrySize:543162368 14 verbose stack Error: could not determine executable to run 14 verbose stack at getBinFromManifest (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\get-bin-from-manifest.js:17:23) 14 verbose stack at exec (C:\Program Files\nodejs\node_modules\npm\node_modules\libnpmexec\lib\index.js:202:15) 14 verbose stack at async Npm.exec (C:\Program Files\nodejs\node_modules\npm\lib\npm.js:207:9) 14 verbose stack at async module.exports (C:\Program Files\nodejs\node_modules\npm\lib\cli\entry.js:74:5) 15 verbose pkgid tailwindcss@4.0.9 16 error could not determine executable to run 17 verbose cwd C:\source\repos\stratexa-crm\src\Mastertech.CRM.Web.Host 18 verbose os Windows_NT 10.0.26100 19 verbose node v18.20.6 20 verbose npm v10.8.2 21 verbose exit 1 22 verbose code 1

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @Paulo.bietkoski

    You can update the version of NPM and Node.js. Also make sure that this command "npm install -D tailwindcss" installs the package properly.

  • User Avatar
    0
    ips-jm created

    Hi @oguzhanagir

    Quick follow-up question: Is the upgrade to Metronic 9 on your roadmap to include native support for Tailwind CSS?

    Tailwind is becoming increasingly popular and is widely seen as the future of modern UI development due to its flexibility and growing adoption. Given this trend, it would be great to know if Zero plans to support it out of the box.

  • User Avatar
    0
    oguzhanagir created
    Support Team

    Hi @ips-jm

    Currently, we do not have any plans for this topic in our milestones. However, we will evaluate the situation and keep you informed of any developments. Thank you for your feedback. Best regards.