GithubHelp home page GithubHelp logo

Comments (6)

mrholek avatar mrholek commented on June 3, 2024

@Qrzysio I'm working on it. I will fix it ASAP

from coreui-free-bootstrap-admin-template.

mrholek avatar mrholek commented on June 3, 2024

I fixed it, please update "@coreui/vendors-injector" to "^1.1.4"

from coreui-free-bootstrap-admin-template.

Qrzysio avatar Qrzysio commented on June 3, 2024

A bit better, but still not working. Now I get the below error.


(...)

Successfully compiled 12 files with Babel (967ms).

> @coreui/[email protected] css-prefix
> postcss --config build/postcss.config.js --replace "dist/css/*.css" "!dist/css/*.min.css"

> @coreui/[email protected] css-minify
> cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix ".min" "dist/css/*.css" "!dist/css/*.min.css" "!dist/css/*rtl*.css"

> @coreui/[email protected] build-vendors
> node build/vendors.js

npm WARN logfile Error: EPERM: operation not permitted, unlink 'C:\Users\system_username\AppData\Local\npm-cache\_logs\2021-12-08T20_29_48_110Z-debug-0.log'
npm WARN logfile  error removing log file C:/Users/system_username/AppData/Local/npm-cache/_logs/2021-12-08T20_29_48_110Z-debug-0.log [Error: EPERM: operation not permitted, unlink 'C:\Users\system_username\AppData\Local\npm-cache\_logs\2021-12-08T20_29_48_110Z-debug-0.log'] {
npm WARN logfile   errno: -4048,
npm WARN logfile   code: 'EPERM',
npm WARN logfile   syscall: 'unlink',
npm WARN logfile   path: 'C:\\Users\\system_username\\AppData\\Local\\npm-cache\\_logs\\2021-12-08T20_29_48_110Z-debug-0.log'
npm WARN logfile }

from coreui-free-bootstrap-admin-template.

mrholek avatar mrholek commented on June 3, 2024

Try this:

  1. remove node_modules and package-lock.json
  2. remove dist folder
  3. npm cache clean
  4. npm install
  5. npm run build

from coreui-free-bootstrap-admin-template.

Qrzysio avatar Qrzysio commented on June 3, 2024

Thanks. It turned out that cleaning the cache requires --force:
npm cache clean --force

Surprisingly, a different behaviour is when I install via yarn and different when using npm.

Using yarn causes the error described above, even after upgrading @coreui/vendors-injector to ^1.1.4.

When using npm there are lack of CSS files.

> @coreui/[email protected] copy-views
> copyfiles -a -u 2 "src/views/**/*.html" dist/

Successfully compiled 12 files with Babel (805ms).
Error: Can't find stylesheet to import.
  ╷
8 │ @import "@coreui/coreui-pro/scss/coreui";
  │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
  src\scss\style.scss 8:9  root stylesheet
ERROR: "css-compile" exited with 65.
ERROR: "css" exited with 1.

Thanks for your help!

from coreui-free-bootstrap-admin-template.

Qrzysio avatar Qrzysio commented on June 3, 2024

@mrholek any update?

from coreui-free-bootstrap-admin-template.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.