Gulp Command Fails looking for buble package?

Posted 2 years ago by tankerkiller125

I get the following error when running the gulp command

[16:49:44] Using gulpfile /var/www/opendevs/manager/gulpfile.js
[16:49:44] Starting 'all'...
[16:49:44] Starting 'sass'...
[16:49:45] Finished 'sass' after 943 ms
[16:49:45] Starting 'webpack'...
{ [Error: Entry module not found: Error: Can't resolve 'buble' in '/var/www/opendevs/manager'
resolve 'buble' in '/var/www/opendevs/manager'
  Parsed request is a module
  using description file: /var/www/opendevs/manager/package.json (relative path: .)
  after using description file: /var/www/opendevs/manager/package.json (relative path: .)
    resolve as module
      module variation buble-loader
        /var/www/opendevs/node_modules doesn't exist or is not a directory
        /var/www/node_modules doesn't exist or is not a directory
        /var/node_modules doesn't exist or is not a directory
        /node_modules doesn't exist or is not a directory
        looking for modules in /var/www/opendevs/manager/node_modules
          using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)
          after using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)
            using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules/buble-loader)
              as directory
                /var/www/opendevs/manager/node_modules/buble-loader doesn't exist
              no extension
                /var/www/opendevs/manager/node_modules/buble-loader doesn't exist
              .js
                /var/www/opendevs/manager/node_modules/buble-loader.js doesn't exist
              .json
                /var/www/opendevs/manager/node_modules/buble-loader.json doesn't exist
      /var/www/opendevs/node_modules doesn't exist or is not a directory
      /var/www/node_modules doesn't exist or is not a directory
      /var/node_modules doesn't exist or is not a directory
      /node_modules doesn't exist or is not a directory
      looking for modules in /var/www/opendevs/manager/node_modules
        using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)
        after using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)
          using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules/buble)
            as directory
              /var/www/opendevs/manager/node_modules/buble doesn't exist
            no extension
              /var/www/opendevs/manager/node_modules/buble doesn't exist
            .js
              /var/www/opendevs/manager/node_modules/buble.js doesn't exist
            .json
              /var/www/opendevs/manager/node_modules/buble.json doesn't exist]
  message: 'Entry module not found: Error: Can\'t resolve \'buble\' in \'/var/www/opendevs/manager\'\nresolve \'buble\' in \'/var/www/opendevs/manager\'\n  Parsed request is a module\n  using description file: /var/www/opendevs/manager/package.json (relative path: .)\n  after using description file: /var/www/opendevs/manager/package.json (relative path: .)\n    resolve as module\n      module variation buble-loader\n        /var/www/opendevs/node_modules doesn\'t exist or is not a directory\n        /var/www/node_modules doesn\'t exist or is not a directory\n        /var/node_modules doesn\'t exist or is not a directory\n        /node_modules doesn\'t exist or is not a directory\n        looking for modules in /var/www/opendevs/manager/node_modules\n          using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)\n          after using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)\n            using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules/buble-loader)\n              as directory\n                /var/www/opendevs/manager/node_modules/buble-loader doesn\'t exist\n              no extension\n                /var/www/opendevs/manager/node_modules/buble-loader doesn\'t exist\n              .js\n                /var/www/opendevs/manager/node_modules/buble-loader.js doesn\'t exist\n              .json\n                /var/www/opendevs/manager/node_modules/buble-loader.json doesn\'t exist\n      /var/www/opendevs/node_modules doesn\'t exist or is not a directory\n      /var/www/node_modules doesn\'t exist or is not a directory\n      /var/node_modules doesn\'t exist or is not a directory\n      /node_modules doesn\'t exist or is not a directory\n      looking for modules in /var/www/opendevs/manager/node_modules\n        using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)\n        after using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules)\n          using description file: /var/www/opendevs/manager/package.json (relative path: ./node_modules/buble)\n            as directory\n              /var/www/opendevs/manager/node_modules/buble doesn\'t exist\n            no extension\n              /var/www/opendevs/manager/node_modules/buble doesn\'t exist\n            .js\n              /var/www/opendevs/manager/node_modules/buble.js doesn\'t exist\n            .json\n              /var/www/opendevs/manager/node_modules/buble.json doesn\'t exist',
  showStack: false,
  showProperties: true,
  plugin: 'webpack-stream',
  __safety: { toString: [Function: bound ] } }

I am running: nodejs: 6.5.0 npm: 3.10.3

Any help is greatly appreciated.

Please sign in or create an account to participate in this conversation.

Laracasts Mascot

Hi, Have We Met Yet?

Did you know that, in addition to the forum, Laracasts includes well over 1000 lessons on modern web development? All for the price of one lunch out per month.

Sign Me Up

Channels

Reply to

Use Markdown with GitHub-flavored code blocks.