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

EACCESS: permission denied #260

Closed
sinnbeck opened this issue Feb 15, 2017 · 4 comments
Closed

EACCESS: permission denied #260

sinnbeck opened this issue Feb 15, 2017 · 4 comments
Labels

Comments

@sinnbeck
Copy link

Hi

I am trying to get this to work with bootstrap 3.3.7 but I am running into this issue.
resolve-url-loader cannot operate: source-map error
EACCES: permission denied, scandir '/var/www/website/docker-mysql'
I am not quite sure why it is trying to do a scandir on this folder?

I am using the following
"bootstrap-loader": "^2.0.0-beta.20",
"bootstrap-sass": "^3.3.7",
"resolve-url-loader": "^1.6.1",

Thanks!

@Judahmeek
Copy link
Contributor

@resin01, you've encountered an incompatibility between sass-loader@5-6 and resolve-url-loader: bholloway/resolve-url-loader#45

Just dealt with this myself. My solution was to pull https://github.com/bholloway/resolve-url-loader/tree/feature/support-sass-loader-6 as a vendor library (yarn demands versions and the latest commit is after the latest release), but if you're using NPM, then just putting bholloway/resolve-url-loader#feature/support-sass-loader-6 as a github url might be good enough: https://docs.npmjs.com/files/package.json#github-urls

@sinnbeck
Copy link
Author

sinnbeck commented Feb 16, 2017

Great seems to be working!
I am sadly getting a new error
Module not found: Error: Can't resolve '[object Object]

I put it in my entry

entry: {
        backend: [
            './js/backend.entry.js',
            './js/backend-css.entry.js',
            'bootstrap-loader'
        ],
    },

And i then export it to css using

    new ExtractTextPlugin({filename: '../css/[name]/layout.min.css'}),

And I of course have a .bootstraprc file with extractStyles: true and styles: true

@justin808
Copy link
Member

@Judahmeek can we close this issue?

@sinnbeck
Copy link
Author

sinnbeck commented Feb 17, 2017

Yes please. Works now with resolve url loader 2.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants