Skip to content
This repository has been archived by the owner on May 29, 2019. It is now read-only.

Module build failed: visitors[i].run is not a function #140

Closed
Bnaya opened this issue Dec 29, 2015 · 0 comments
Closed

Module build failed: visitors[i].run is not a function #140

Bnaya opened this issue Dec 29, 2015 · 0 comments

Comments

@Bnaya
Copy link

Bnaya commented Dec 29, 2015

the main.less file is empty, and i'm getting:

ERROR in ./styles/main.less
Module build failed: visitors[i].run is not a function
 @ /Users/bnaya/dev/opensource/hasadna/open-budget-frontend/open-budget/app/styles/main.less (line null, column -1)
 near lines:



 @ ./scripts/main.coffee 3:2-29

less 1.7.5 installed

my webpack config:

loaders:
...
          {
            test: /\.less$/,
            loader: ExtractTextPlugin.extract('less?sourceMap')
          }
...
    plugins: [
      new webpack.ProvidePlugin({
          $: "jquery",
          jQuery: "jquery",
          "window.jQuery": "jquery"
      }),
      // new webpack.IgnorePlugin(/^\.\/lang$/),
      new ExtractTextPlugin('styles.css')
    ]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant