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

update webpack to latest stable version #55

Open
micahstubbs opened this issue Feb 8, 2018 · 5 comments
Open

update webpack to latest stable version #55

micahstubbs opened this issue Feb 8, 2018 · 5 comments
Labels
infra tracked-in-jira Issue is being tracked in Jira, link mentioned in issue comments

Comments

@micahstubbs
Copy link
Contributor

micahstubbs commented Feb 8, 2018

No description provided.

@micahstubbs
Copy link
Contributor Author

micahstubbs commented Feb 9, 2018

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
Copy link
Contributor Author

will pause this effort for now

@jonvuri
Copy link
Contributor

jonvuri commented Apr 1, 2019

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

@jonvuri jonvuri added the tracked-in-jira Issue is being tracked in Jira, link mentioned in issue comments label Apr 1, 2019
@micahstubbs
Copy link
Contributor Author

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

@micahstubbs
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infra tracked-in-jira Issue is being tracked in Jira, link mentioned in issue comments
Projects
None yet
Development

No branches or pull requests

2 participants