question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Destination CSS file doesn't exist

See original GitHub issue

Hey everyone,

I would like my Sass files to be compiled to a different folder, not the same folder as my Sass files, but dest isn’t respected for some reason. Neither is outFile. Has anyone else gotten this to work?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12

github_iconTop GitHub Comments

1reaction
BodySplashcommented, Jun 3, 2016

I had the same issue, but then I realised it was just a matter of setting correctry the “prefix” option. My pages look for css files with a path like “/styles/file.css”

here is my working conf :

{
    src: path.join(__dirname, 'scss'),
    dest: path.join(__dirname, 'public', 'styles'),
    prefix: '/styles'

}

Hope that helps

0reactions
NetOpWibbycommented, Jan 14, 2017

@am11 I’m not using this anymore but I’m glad it works well now!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Website loading CSS files that do not exist - Stack Overflow
css" file that doesn't exist. The only way I have found around this is by changing the HTML pages to be styled by...
Read more >
Stylesheet folder doesn't exist error (css folder) - Drupal
Getting the error "Stylesheet folder doesn't exist." I have created a "css" folder and i've tried putting it in [sites/all/modules/fpss] as ...
Read more >
Use LibMan with ASP.NET Core in Visual Studio
If the libman.json file doesn't already exist in the project root, it will be created with the default item template content.
Read more >
Link types: preload - HTML: HyperText Markup Language | MDN
Here we preload our CSS and JavaScript files so they will be available as soon as they are required for the rendering of...
Read more >
add_editor_style() | Function - WordPress Developer Resources
css. If that file doesn't exist, it is removed before adding the stylesheet(s) to TinyMCE. If an array of stylesheets is passed ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found