Closed uuperi closed 6 years ago
I am having a similar issue. I am using webpack and after adding the resolve-url-loader I started having issues when building.
Here are my relevant loaders:
{
test: /\.css$/,
exclude: /node_modules/,
loader: 'style!css!resolve-url'
},
{
test: /\.scss$/,
exclude: /node_modules/,
loader: 'style!css!resolve-url!sass?sourceMap'
},
I receive the following error:
WARNING in ./~/css-loader!./~/resolve-url-loader!./~/sass-loader?sourceMap!./src/styles/styles.scss
resolve-url-loader cannot operate: CSS error
builder is not defined
at Object.builder (*** a directory I've removed ***\www\node_modules\colors\lib\colors.js:68:29)
I found this issue on another project. The author has a similar issue and his fix, outlined in his initial comment, works for me as well.
Any ideas?
Seems like this may have been resolved by newer versions of Node? If there are still issues with this and the latest version of Node, and using colors@next
, feel free to re-open and we can investigate further.
Hi. This is my first time reporting any issues and I'm also kind of new to programming with node.js so pardon me if I'm forgetting to include something relevant as context but yeah. So my problem is that when I am trying to use nexe-named package to distribute my .js file to an exe file it's telling me that 'colours' -script's builder is not defined and I have no idea how to fix this and not even sure if this is the right place to report about this. I did not found anyone else with this problem by googling so i decided to issue this. I am using node 5.0
Here is my code that causes the error:
And here is the error that console prints out: