Closed mbroadst closed 7 years ago
I'm actually not sure if that's just left in by accident, it seems to only export the get
method from lodash
? https://github.com/easy-webpack/core/blob/master/src/index.ts#L3
Indeed! Good catch. Yes, I'm exporting the get
intentionally. It's useful for use in case one wanted to manually generate more complex functions for generateConfig
's parameter use.
it's worth noting that the whole thing kind of falls apart unless you're using node 6+. I was getting a number of errors with this and regenerator, and then the class wouldn't build for some rather obscure issues. might want to just try building the skeleton on node 4 (an LTS release)
That's odd. What are your issues under node 4 specifically? We're running CI tests using the latest webpack skeleton using node 4 and they're building just fine.
Unless you are talking about not being able to build easy-webpack/core
itself?
I did manual installs of regenerator-runtime
(which was not included in the webpack skeleton at the time), as well as lodash
, and then I quit running with node 4 once I started getting these errors during webpack build:
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
WARNING in ./src ^\.\/.*$
Module not found: Error: Can't resolve 'html' in '/home/mbroadst/Development/hive/dashboard'
@ ./src ^\.\/.*$
ERROR in multi aurelia-bootstrap
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ multi aurelia-bootstrap
ERROR in multi app
Module not found: Error: Can't resolve 'babel?{"plugins":["transform-decorators-legacy"],"presets":["es2015-loose-native-modules","stage-1"],"cacheDirectory":true}' in '/home/mbroadst/Development/hive/dashboard'
@ multi app
Do you have the latest version of NPM?
The latest version for v4 yes. I have nvm installed on that machine and was using 4 at the time, but as I said I had to update to v6 to get the skeleton working properly.
From the error it looks like you didn't have everything installed with npm install
or you're missing some dependencies from the package.json. The errors are not not related to the node
version.
lodash is fixed in one of the recent commits.
but its not listed in the dependencies of this module
┆Issue is synchronized with this Asana task