Get 2024 Templates Mega Bundle!$1000 worth of 19 Bootstrap HTML, Vue & React Templates + 3 Vector Sets for just $99
Get for 99$

Blazor .Net 8


I have bought the theme and was installing it in my blazor server app , Every thing was ok but when I run this command "npm install & npm run dev" it is giving me error . This is the error


"C:\Users\Shamas\source\repos\New Project\Project\Solution\Solution.UI\metronic>npm install & npm run dev

up to date, audited 602 packages in 2s

154 packages are looking for funding
run `npm fund` for details

found 0 vulnerabilities
npm error Missing script: "dev"
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: C:\Users\Shamas\AppData\Local\npm-cache\_logs\2024-09-13T19_51_29_747Z-debug-0.log

C:\Users\Shamas\source\repos\New Project\Project\Solution\Solution.UI\metronic>"


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(

Replies (3)


I am having the same issue. There is no `dev` script in package.json to run.

If I emulate the project in Visual Studio I get the same issue with web.d.ts although if I run `dotnet run watch` via cli the application starts. However, there are no assets (css or js) available I assume due to the failure to run `npm run dev`



Hi,

Thank you for reaching out to us.

Could you clarify which version of Metronic you're using?

Also, are you working with our Blazor .NET example app, or is this your own implementation?

Regards,
Lauris Stepanovs,
Keenthemes Support Team



I'm using .net 8
https://github.com/keenthemes/metronic-tailwind-html-integration
follwing this blazor project then try to execute these command
mentioned in this document

https://keenthemes.com/metronic/tailwind/docs/getting-started/integration/blazor-server
on build getting this error

metronic-tailwind-blazor-server\metronic\node_modules\@types\node\stream\web.d.ts(469,56): error TS1005: Build:'?' expected.


Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(
Text formatting options
Submit
Here's a how to add some HTML formatting to your comment:
  • <pre></pre> for JS codes block
  • <pre lang="html"></pre> for HTML code block
  • <pre lang="scss"></pre> for SCSS code block
  • <pre lang="php"></pre> for PHP code block
  • <code></code> for single line of code
  • <strong></strong> to make things bold
  • <em></em> to emphasize
  • <ul><li></li></ul>  to make list
  • <ol><li></li></ol>  to make ordered list
  • <h3></h3> to make headings
  • <a></a> for links
  • <img> to paste in an image
  • <blockquote></blockquote> to quote somebody
  • happy  :)
  • shocked  :|
  • sad  :(