heavyai-connector icon indicating copy to clipboard operation
heavyai-connector copied to clipboard

update webpack to latest stable version

Open micahstubbs opened this issue 7 years ago • 5 comments

micahstubbs avatar Feb 08 '18 23:02 micahstubbs

current status when I yarn build

screen shot 2018-02-08 at 4 07 31 pm

ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'script-loader' instead of 'script',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js

ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'script-loader' instead of 'script',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js

ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'script-loader' instead of 'script',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js

ERROR in multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Module not found: Error: Can't resolve 'script' in '/Users/m/workspace/mapd-connector'
BREAKING CHANGE: It's no longer allowed to omit the '-loader' suffix when using loaders.
                 You need to specify 'script-loader' instead of 'script',
                 see https://webpack.js.org/guides/migrating/#automatic-loader-module-name-extension-removed
 @ multi script!./build/thrift/browser/thrift.js script!./build/thrift/browser/mapd_types.js script!./build/thrift/browser/mapd.thrift.js script!./build/thrift/browser/completion_hints_types.js ./src/mapd-con-es6.js
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
 - configuration has an unknown property 'ecmaFeatures'. These properties are valid:
   object { amd?, bail?, cache?, context?, dependencies?, devServer?, devtool?, entry, externals?, loader?, module?, name?, node?, output?, parallelism?, performance?, plugins?, profile?, recordsInputPath?, recordsOutputPath?, recordsPath?, resolve?, resolveLoader?, stats?, target?, watch?, watchOptions? }
   For typos: please correct them.
   For loader options: webpack 2 no longer allows custom properties in configuration.
     Loaders should be updated to allow passing options via loader options in module.rules.
     Until loaders are updated one can use the LoaderOptionsPlugin to pass these options to the loader:
     plugins: [
       new webpack.LoaderOptionsPlugin({
         // test: /\.xxx$/, // may apply this only for some modules
         options: {
           ecmaFeatures: ...
         }
       })
     ]

micahstubbs avatar Feb 09 '18 00:02 micahstubbs

will pause this effort for now

micahstubbs avatar Feb 09 '18 00:02 micahstubbs

Tracking in https://jira.omnisci.com/browse/FE-8236

jonvuri avatar Apr 01 '19 17:04 jonvuri

glad to see the effort to modernize the dependencies is alive 😄

micahstubbs avatar Apr 05 '19 05:04 micahstubbs

⭐️ you have unlocked the necromancer badge for resurrecting a long-dead issue

micahstubbs avatar Apr 05 '19 05:04 micahstubbs