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

Enzyme install leads to wierd dependency issue #112

Closed
JacobOscarson opened this Issue Jun 29, 2016 · 3 comments

Comments

Projects
None yet
2 participants
@JacobOscarson

JacobOscarson commented Jun 29, 2016

Hello again,

Thanks for the very swift responses so far! Excellent work!

I'm afraid I've found another edge-casey issue now disturbing my build:
My goal right now is to install create Roc.js -based repo that uses Enzyme to test components. Enzyme have some WebPack irregularities that makes it necessary to add a little extra to the roc.config.js file, as described in #111. I did that like this:

  action: () => (rocObject) => {
    const hook = rocObject.hook;
    const rocBuilder = rocObject.previousValue;
    if (hook === 'build-webpack') {
      return () => () => {
        rocBuilder.buildConfig.resolve.extensions = ['', '.js', '.json'];
        rocBuilder.buildConfig.externals = {
          jsdom: 'window',
          cheerio: 'window',
          'react/addons': true,
          'react/lib/ExecutionEnvironment': true,
          'react/lib/ReactContext': true,
        };
        return rocBuilder;
      };
    }
    return null;
  },

But there seems to be some side-effect of trying to add the externals that causes roc build to fail. After adding the externals Roc started to ask for other dependencies (hjson, toml, jison, cson, properties), and when they were applied it tried to import the coffee-script compiler (shell) script as if it was a JS module (output from roc build --verbose added below)

I have tried to isolate the problem in a public repo here: https://github.com/JacobOscarson/roc-cs-disturbed , where I have tried to make every commit do one step at a time to arrive at the problem. There is a shell script reproduce.sh in it's root that at least reproduces the problem on my machine.

System information:

goldskip ~/src/oss$ uname -a
Darwin goldskip 15.5.0 Darwin Kernel Version 15.5.0: Tue Apr 19 18:36:36 PDT 2016; root:xnu-3248.50.21~8/RELEASE_X86_64 x86_64
goldskip ~/src/oss$ node -v
v6.0.0

Output from roc build --verbose

goldskip ~/src/oss/roc-cs-disturbed$ roc build --verbose
Found a local version of Roc, will use that over the global one.

(node:55560) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
  Info    Extensions Used

  roc-package-web-app-react
  roc-package-web-app-react-dev
  roc-plugin-test-mocha-karma-webpack - 1.0.0-alpha.6
  roc-plugin-style-sass

Hook - Running hook defined in roc named update-settings with settings added from roc-package-web-app-react-dev
Hook - Running hook defined in roc-package-webpack-dev named get-webpack-targets with target added from roc-package-webpack-node-dev
Hook - Running hook defined in roc-package-webpack-dev named get-webpack-targets with target added from roc-package-webpack-web-dev
Starting the builder using "dist" as the mode.

Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-webpack-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-webpack-web-dev
Hook - Running hook defined in roc-plugin-style-css named add-style with sass added from roc-plugin-style-sass
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with css added from roc-plugin-style-css
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with images added from roc-plugin-assets-images
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-web-app-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with react added from roc-plugin-react-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-web-app-react-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with default added from roc-fresh-0
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-webpack-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-webpack-node-dev
Hook - Running hook defined in roc-plugin-style-css named add-style with sass added from roc-plugin-style-sass
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with css added from roc-plugin-style-css
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with images added from roc-plugin-assets-images
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-web-app-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with react added from roc-plugin-react-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with webpack added from roc-package-web-app-react-dev
Hook - Running hook defined in roc-package-webpack-dev named build-webpack with default added from roc-fresh-0
Hook - Running hook defined in roc-package-base-dev named run-build-command with build added from roc-package-webpack-dev
Building web [===============               ] 50% 0.3 s 2/3 build modules(node) v8::ObjectTemplate::Set() with non-primitive values is deprecatedild modules
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x1cf8e67c9fa9 <JS Object>#0#
    1: .node [module.js:568] [pc=0x1a3f77d549c4] (this=0x305097436b01 <an Object with map 0xda3dbe6ac21>#1#,module=0x1bcc24adb2e9 <a Module with map 0x1134651181b9>#2#,filename=0x1bcc24adb2b1 <String[94]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    2: load [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/coffee-script/lib/coffee-script/register.js:~40] [pc=0x1a3f7801103f] (this=0x1bcc24adb2e9 <a Module with map 0x1134651181b9>#2#,filename=0x1bcc24adb2b1 <String[94]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    3: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x1a3f778395fd] (this=0x1cf8e6704189 <undefined>,module=0x1bcc24adb2e9 <a Module with map 0x1134651181b9>#2#,filename=0x1bcc24adb2b1 <String[94]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    4: _load [module.js:407] [pc=0x1a3f77835242] (this=0x305097436ab9 <JS Function Module (SharedFunctionInfo 0xd701f2286f1)>#3#,request=0x1bcc24ad9db9 <String[94]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/vendor/darwin-x64-48/binding.node>,parent=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,isMain=0x1cf8e6704299 <false>)
    5: require [module.js:~463] [pc=0x1a3f778b58cb] (this=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,path=0x1bcc24ad9db9 <String[94]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    6: require(aka require) [internal/module.js:20] [pc=0x1a3f778436a6] (this=0x1cf8e6704189 <undefined>,path=0x1bcc24ad9db9 <String[94]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/vendor/darwin-x64-48/binding.node>)
    7: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js:16] [pc=0x1a3f7826f6f1] (this=0x1bcc24ac9ca1 <an Object with map 0x27c25b307b71>#5#,exports=0x1bcc24ac9ca1 <an Object with map 0x27c25b307b71>#5#,require=0x1bcc24acdfc9 <JS Function require (SharedFunctionInfo 0xd701f2595a9)>#6#,module=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,__filename=0x1bcc24ac9c29 <String[73]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js>,__dirname=0x1bcc24acdf61 <String[64]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib>)
    8: _compile [module.js:541] [pc=0x1a3f778425a4] (this=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,content=0x1bcc24aca8a9 <Very long string[9231]>#7#,filename=0x1bcc24ac9c29 <String[73]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js>)
    9: .js [module.js:~548] [pc=0x1a3f77ddbf3f] (this=0x305097436b01 <an Object with map 0xda3dbe6ac21>#1#,module=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,filename=0x1bcc24ac9c29 <String[73]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js>)
   10: load [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/coffee-script/lib/coffee-script/register.js:~40] [pc=0x1a3f7801103f] (this=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,filename=0x1bcc24ac9c29 <String[73]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js>)
   11: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x1a3f778395fd] (this=0x1cf8e6704189 <undefined>,module=0x1bcc24ac9c51 <a Module with map 0x1134651181b9>#4#,filename=0x1bcc24ac9c29 <String[73]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js>)
   12: _load [module.js:~381] [pc=0x1a3f77ec43b7] (this=0x305097436ab9 <JS Function Module (SharedFunctionInfo 0xd701f2286f1)>#3#,request=0x3b7240186061 <String[9]: node-sass>,parent=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,isMain=0x1cf8e6704299 <false>)
   13: require [module.js:~463] [pc=0x1a3f778b58cb] (this=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,path=0x3b7240186061 <String[9]: node-sass>)
   14: require(aka require) [internal/module.js:20] [pc=0x1a3f778436a6] (this=0x1cf8e6704189 <undefined>,path=0x3b7240186061 <String[9]: node-sass>)
   15: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js:4] [pc=0x1a3f7826eac6] (this=0x1bcc24abab79 <an Object with map 0x27c25b307b71>#9#,exports=0x1bcc24abab79 <an Object with map 0x27c25b307b71>#9#,require=0x1bcc24ac2741 <JS Function require (SharedFunctionInfo 0xd701f2595a9)>#10#,module=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,__filename=0x1bcc24abab01 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>,__dirname=0x1bcc24ac26d9 <String[62]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader>)
   16: _compile [module.js:541] [pc=0x1a3f778425a4] (this=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,content=0x1bcc24abb651 <Very long string[13927]>#11#,filename=0x1bcc24abab01 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>)
   17: .js [module.js:~548] [pc=0x1a3f77ddbf3f] (this=0x305097436b01 <an Object with map 0xda3dbe6ac21>#1#,module=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,filename=0x1bcc24abab01 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>)
   18: load [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/coffee-script/lib/coffee-script/register.js:~40] [pc=0x1a3f7801103f] (this=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,filename=0x1bcc24abab01 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>)
   19: tryModuleLoad(aka tryModuleLoad) [module.js:415] [pc=0x1a3f778395fd] (this=0x1cf8e6704189 <undefined>,module=0x1bcc24abab29 <a Module with map 0x1134651181b9>#8#,filename=0x1bcc24abab01 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>)
   20: _load [module.js:~381] [pc=0x1a3f77ec43b7] (this=0x305097436ab9 <JS Function Module (SharedFunctionInfo 0xd701f2286f1)>#3#,request=0x1bcc241272c1 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>,parent=0x3d9a06cb5719 <a Module with map 0x1134651181b9>#12#,isMain=0x1cf8e6704299 <false>)
   21: require [module.js:~463] [pc=0x1a3f778b58cb] (this=0x3d9a06cb5719 <a Module with map 0x1134651181b9>#12#,path=0x1bcc241272c1 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>)
   22: require(aka require) [internal/module.js:20] [pc=0x1a3f778436a6] (this=0x1cf8e6704189 <undefined>,path=0x1bcc241272c1 <String[71]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js>)
   23: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:193] [pc=0x1a3f77fea600] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#)
   24: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:186] [pc=0x1a3f77fea213] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#)
   25: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:223] [pc=0x1a3f77fead13] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#)
   26: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:186] [pc=0x1a3f77fea213] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#)
   27: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:223] [pc=0x1a3f77fead13] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#)
   28: doBuild [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:241] [pc=0x1a3f77febe32] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#,options=0x2f6357d6a7e1 <an Object with map 0xda3dbef41b9>#14#,moduleContext=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,resolver=0x2f6357d3a711 <a Resolver with map 0xda3dbeff479>#16#,fs=0x2f6357d6ad69 <a CachedInputFileSystem with map 0xe2622c046d9>#17#,callback=0x1bcc2400f8b9 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc240b9909)>#18#)
   29: build [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModule.js:84] [pc=0x1a3f77fe963a] (this=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#,options=0x2f6357d6a7e1 <an Object with map 0xda3dbef41b9>#14#,compilation=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,resolver=0x2f6357d3a711 <a Resolver with map 0xda3dbeff479>#16#,fs=0x2f6357d6ad69 <a CachedInputFileSystem with map 0xe2622c046d9>#17#,callback=0x1bcc2400f941 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc240b9951)>#19#)
   30: buildModule [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:126] [pc=0x1a3f77fa8d01] (this=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,module=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#,thisCallback=0x1bcc2400f9c9 <JS Function (SharedFunctionInfo 0x48ca2bd3589)>#20#)
   31: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:309] [pc=0x1a3f77fe8918] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,dependantModule=0x1bcc2400f739 <a NormalModule with map 0xe2622c11361>#13#)
   32: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:58] [pc=0x1a3f77fe64f9] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc2400fb29 <an Object with map 0xe2622c10499>#22#)
   33: applyPluginsAsyncWaterfall [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:75] [pc=0x1a3f77fade16] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,name=0x1daebf5cdb39 <String[13]: after-resolve>,init=0x1bcc2400fb29 <an Object with map 0xe2622c10499>#22#,callback=0x1bcc2400faa9 <JS Function (SharedFunctionInfo 0x48ca2bd1ac9)>#24#)
   34: onDoneResolving [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:38] [pc=0x1a3f77fe61a9] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,data=0x1bcc2400fb29 <an Object with map 0xe2622c10499>#22#)
   35: onDoneResolving [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:121] [pc=0x1a3f77fe5f1b] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
   36: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:98] [pc=0x1a3f77fe07ff] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,results=0x1bcc2400fce9 <JS Array[2]>#25#)
   37: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:726] [pc=0x1a3f77fe037b] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>)
   38: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:52] [pc=0x1a3f77fe0265] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
   39: arguments adaptor frame: 1->0
   40: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:236] [pc=0x1a3f77facbe6] (this=0x1cf8e67e99d9 <JS Global Object>#21#,object=0x1bcc2400ff59 <JS Array[2]>#26#,iterator=0x1bcc2400ff11 <JS Function (SharedFunctionInfo 0x48ca2ba9411)>#27#,callback=0x1bcc2400fd09 <JS Function (SharedFunctionInfo 0x48ca2ba94d1)>#28#)
   41: _parallel [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:717] [pc=0x1a3f77fb239b] (this=0x1cf8e67e99d9 <JS Global Object>#21#,eachfn=0x3ea7550bc5c9 <JS Function async.forEachOf.async.eachOf (SharedFunctionInfo 0x3ea7550b9961)>#29#,tasks=0x1bcc2400ff59 <JS Array[2]>#26#,callback=0x1bcc2400fca1 <JS Function (SharedFunctionInfo 0x48ca2ba8d91)>#30#)
   42: parallel [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:731] [pc=0x1a3f77fb215f] (this=0x33a10dc6c8f1 <an Object with map 0xe2622c09d79>#31#,tasks=0x1bcc2400ff59 <JS Array[2]>#26#,callback=0x1bcc2400fca1 <JS Function (SharedFunctionInfo 0x48ca2ba8d91)>#30#)
   43: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:75] [pc=0x1a3f77fb0f73] (this=0x1cf8e67e99d9 <JS Global Object>#21#,data=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#,callback=0x1bcc2400fbc9 <JS Function onDoneResolving (SharedFunctionInfo 0x48ca2ba86a1)>#33#)
   44: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:28] [pc=0x1a3f77fb078a] (this=0x1cf8e67e99d9 <JS Global Object>#21#,result=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#,callback=0x1bcc2400fa11 <JS Function (SharedFunctionInfo 0x48ca2ba5e71)>#34#)
   45: handleExternal [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:25] [pc=0x1a3f77fb030c] (this=0x1cf8e67e99d9 <JS Global Object>#21#,value=0x1cf8e6704299 <false>,type=0x1cf8e6704189 <undefined>,callback=0x1bcc2400fa11 <JS Function (SharedFunctionInfo 0x48ca2ba5e71)>#34#)
   46: arguments adaptor frame: 2->3
   47: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:81] [pc=0x1a3f77fb0186] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704189 <undefined>,module=0x1cf8e6704189 <undefined>)
   48: arguments adaptor frame: 0->2
   49: handleExternals [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:78] [pc=0x1a3f77fafd47] (this=0x1cf8e67e99d9 <JS Global Object>#21#,externals=0x2f6357dac3e9 <an Object with map 0xda3dbef0901>#35#,callback=0x1bcc24010149 <JS Function (SharedFunctionInfo 0x48ca2ba7e79)>#36#)
   50: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/ExternalModuleFactoryPlugin.js:79] [pc=0x1a3f77faff4a] (this=0x2f6357de65c1 <an ExternalModuleFactoryPlugin with map 0xe2622c063b9>#37#,data=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#,callback=0x1bcc2400fa11 <JS Function (SharedFunctionInfo 0x48ca2ba5e71)>#34#)
   51: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:159] [pc=0x1a3f77faed4a] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#)
   52: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:82] [pc=0x1a3f77fae1f2] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,err=0x1cf8e6704101 <null>,value=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#)
   53: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/IgnorePlugin.js:20] [pc=0x1a3f77fae4b3] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,result=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#,callback=0x1bcc240103d1 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc24010339)>#38#)
   54: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:84] [pc=0x1a3f77fae265] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,err=0x1cf8e6704101 <null>,value=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#)
   55: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/IgnorePlugin.js:20] [pc=0x1a3f77fae4b3] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,result=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#,callback=0x1bcc240103d1 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc24010339)>#38#)
   56: applyPluginsAsyncWaterfall [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:86] [pc=0x1a3f77fae018] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,name=0x1daebf5cdda1 <String[14]: before-resolve>,init=0x1bcc24010031 <an Object with map 0xe2622c0b849>#32#,callback=0x1bcc240102b1 <JS Function (SharedFunctionInfo 0x48ca2ba62f9)>#39#)
   57: create [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:144] [pc=0x1a3f77fadc1f] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,context=0x1bcc24010579 <String[83]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-web-app-react/styles>,dependency=0x1bcc24010519 <a CommonJsRequireDependency with map 0xe2622c69939>#40#,callback=0x1bcc2400fa11 <JS Function (SharedFunctionInfo 0x48ca2ba5e71)>#34#)
   58: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:214] [pc=0x1a3f77fad8b5] (this=0x1cf8e67e99d9 <JS Global Object>#21#,item=0x1bcc240106a1 <JS Array[2]>#41#,callback=0x1bcc24010659 <JS Function (SharedFunctionInfo 0x48ca2ba5881)>#42#)
   59: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:181] [pc=0x1a3f77fad4d8] (this=0x1cf8e67e99d9 <JS Global Object>#21#,value=0x1bcc240106a1 <JS Array[2]>#41#,index=0,callback=0x1bcc24010659 <JS Function (SharedFunctionInfo 0x48ca2ba5881)>#42#)
   60: eachOf [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:233] [pc=0x1a3f77facb59] (this=0x33a10dc6c8f1 <an Object with map 0xe2622c09d79>#31#,object=0x1bcc24010861 <JS Array[5]>#43#,iterator=0x1bcc240106c1 <JS Function (SharedFunctionInfo 0x48ca2ba4cf1)>#44#,callback=0x1bcc24010819 <JS Function (SharedFunctionInfo 0x48ca2ba4019)>#45#)
   61: each [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:209] [pc=0x1a3f77fac705] (this=0x33a10dc6c8f1 <an Object with map 0xe2622c09d79>#31#,arr=0x1bcc24010861 <JS Array[5]>#43#,iterator=0x1bcc240105c1 <JS Function (SharedFunctionInfo 0x48ca2ba3f59)>#46#,callback=0x1bcc24010819 <JS Function (SharedFunctionInfo 0x48ca2ba4019)>#45#)
   62: addModuleDependencies [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:185] [pc=0x1a3f77fac472] (this=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,module=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,dependencies=0x1bcc240108e9 <JS Array[5]>#48#,bail=0x1cf8e6704231 <true>,cacheGroup=0x1cf8e6704101 <null>,recursive=0x1cf8e6704231 <true>,callback=0x2f6357dadb09 <JS Function (SharedFunctionInfo 0x48ca2ba5881)>#49#)
   63: processModuleDependencies [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:170] [pc=0x1a3f77fab779] (this=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,module=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,callback=0x2f6357dadb09 <JS Function (SharedFunctionInfo 0x48ca2ba5881)>#49#)
   64: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:320] [pc=0x1a3f7815c956] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704189 <undefined>)
   65: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:123] [pc=0x1a3f77fab415] (this=0x1cf8e67e99d9 <JS Global Object>#21#,cb=0x1bcc240109e9 <JS Function (SharedFunctionInfo 0x48ca2bd3589)>#50#)
   66: arguments adaptor frame: 3->1
   67: InnerArrayForEach(aka InnerArrayForEach) [native array.js:~946] [pc=0x1a3f77e9030e] (this=0x1cf8e6704189 <undefined>,br=0x1bcc24010a81 <JS Function (SharedFunctionInfo 0x48ca2ba2e39)>#51#,bs=0x1cf8e6704189 <undefined>,w=0x1bcc24010b01 <JS Array[1]>#52#,x=1)
   68: forEach [native array.js:~956] [pc=0x1a3f77a3bd2c] (this=0x1bcc24010b01 <JS Array[1]>#52#,br=0x1bcc24010a81 <JS Function (SharedFunctionInfo 0x48ca2ba2e39)>#51#,bs=0x1cf8e6704189 <undefined>)
   69: arguments adaptor frame: 1->2
   70: callback [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:122] [pc=0x1a3f77fab31a] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704189 <undefined>)
   71: arguments adaptor frame: 0->1
   72: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:140] [pc=0x1a3f77faa44e] (this=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,err=0x1cf8e6704189 <undefined>)
   73: arguments adaptor frame: 0->1
   74: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModule.js:115] [pc=0x1a3f77fe9f58] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,err=0x1cf8e6704189 <undefined>)
   75: arguments adaptor frame: 0->1
   76: onModuleBuild [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:310] [pc=0x1a3f7812b0ef] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,source=0x1bcc24010df1 <Very long string[1446]>#53#,sourceMap=0x1cf8e6704189 <undefined>)
   77: arguments adaptor frame: 1->2
   78: nextLoader [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:275] [pc=0x1a3f78129fe7] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>)
   79: arguments adaptor frame: 2->1
   80: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:292] [pc=0x1a3f7812ab17] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
   81: arguments adaptor frame: 2->0
   82: runSyncOrAsync [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:160] [pc=0x1a3f78120c13] (this=0x1cf8e67e99d9 <JS Global Object>#21#,fn=0x2c6d900c3dd1 <JS Function module.exports (SharedFunctionInfo 0x2c6d900a47f9)>#54#,context=0x1bcc24011bb1 <an Object with map 0xe2622c665a9>#55#,args=0x1bcc24011b91 <JS Array[1]>#56#,callback=0x1bcc24011a51 <JS Function (SharedFunctionInfo 0x2c6d900cbdc9)>#57#)
   83: nextLoader [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:290] [pc=0x1a3f7812a5d8] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,err=0x1cf8e6704101 <null>)
   84: arguments adaptor frame: 2->1
   85: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:236] [pc=0x1a3f781203f8] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,err=0x1cf8e6704101 <null>)
   86: arguments adaptor frame: 2->1
   87: runSyncOrAsync [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:160] [pc=0x1a3f78120c13] (this=0x1cf8e67e99d9 <JS Global Object>#21#,fn=0x2c6d900c9db9 <JS Function module.exports.pitch (SharedFunctionInfo 0x2c6d900c9209)>#58#,context=0x1bcc24011de1 <an Object with map 0xe2622c663f1>#59#,args=0x1bcc24011dc1 <JS Array[3]>#60#,callback=0x1bcc24011d11 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc24011c91)>#61#)
   88: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:227] [pc=0x1a3f77feb05f] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#)
   89: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:186] [pc=0x1a3f77fea213] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#)
   90: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:238] [pc=0x1a3f78120448] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,err=0x1cf8e6704189 <undefined>)
   91: arguments adaptor frame: 0->1
   92: runSyncOrAsync [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:159] [pc=0x1a3f78120bd5] (this=0x1cf8e67e99d9 <JS Global Object>#21#,fn=0x2c6d900c3e81 <JS Function module.exports.pitch (SharedFunctionInfo 0x2c6d900a48b9)>#62#,context=0x1bcc240120f1 <an Object with deprecated map 0xe2622c65fd1>#63#,args=0x1bcc240120d1 <JS Array[3]>#64#,callback=0x1bcc24012021 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc24011fa1)>#65#)
   93: loadPitch [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:227] [pc=0x1a3f77feb05f] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#)
   94: doBuild [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:241] [pc=0x1a3f77febe32] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,options=0x2f6357d6a7e1 <an Object with map 0xda3dbef41b9>#14#,moduleContext=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,resolver=0x2f6357d3a711 <a Resolver with map 0xda3dbeff479>#16#,fs=0x2f6357d6ad69 <a CachedInputFileSystem with map 0xe2622c046d9>#17#,callback=0x1bcc24010cc9 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc24010c39)>#66#)
   95: build [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModule.js:84] [pc=0x1a3f77fe963a] (this=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,options=0x2f6357d6a7e1 <an Object with map 0xda3dbef41b9>#14#,compilation=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,resolver=0x2f6357d3a711 <a Resolver with map 0xda3dbeff479>#16#,fs=0x2f6357d6ad69 <a CachedInputFileSystem with map 0xe2622c046d9>#17#,callback=0x1bcc24010bf9 <JS BoundFunction bound  (BoundTargetFunction 0x1bcc24010b69)>#67#)
   96: buildModule [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:126] [pc=0x1a3f77fa8d01] (this=0x2f6357d6b111 <a Compilation with map 0xe2622c09cc9>#15#,module=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#,thisCallback=0x1bcc240109e9 <JS Function (SharedFunctionInfo 0x48ca2bd3589)>#50#)
   97: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/Compilation.js:309] [pc=0x1a3f77fe8918] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,dependantModule=0x1bcc24010909 <a NormalModule with map 0xe2622c11361>#47#)
   98: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:58] [pc=0x1a3f77fe64f9] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc24012239 <an Object with map 0xe2622c10499>#68#)
   99: applyPluginsAsyncWaterfall [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:75] [pc=0x1a3f77fade16] (this=0x2f6357d6b2a1 <a NormalModuleFactory with map 0xe2622c0b8f9>#23#,name=0x1daebf5cdb39 <String[13]: after-resolve>,init=0x1bcc24012239 <an Object with map 0xe2622c10499>#68#,callback=0x1bcc240121f1 <JS Function (SharedFunctionInfo 0x48ca2bd1ac9)>#69#)
  100: onDoneResolving [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:38] [pc=0x1a3f77fe61a9] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,data=0x1bcc24012239 <an Object with map 0xe2622c10499>#68#)
  101: onDoneResolving [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:121] [pc=0x1a3f77fe5f1b] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  102: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModuleFactory.js:116] [pc=0x1a3f77fe5c3f] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,results=0x1bcc240123b1 <JS Array[3]>#70#)
  103: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:726] [pc=0x1a3f77fe037b] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>)
  104: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:52] [pc=0x1a3f77fe0265] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  105: arguments adaptor frame: 1->0
  106: done [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:246] [pc=0x1a3f77fb3182] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>)
  107: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:44] [pc=0x1a3f77fb2f74] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  108: arguments adaptor frame: 1->0
  109: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:723] [pc=0x1a3f77fb265f] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,args=0x1bcc240126c1 <JS Array[5]>#71#)
  110: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:167] [pc=0x1a3f77fb2de0] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  111: arguments adaptor frame: 2->0
  112: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:52] [pc=0x1a3f77fe0265] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  113: arguments adaptor frame: 2->0
  114: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:361] [pc=0x1a3f77fe597b] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>)
  115: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:52] [pc=0x1a3f77fe0265] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  116: arguments adaptor frame: 1->0
  117: done [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:246] [pc=0x1a3f77fb3182] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>)
  118: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:44] [pc=0x1a3f77fb2f74] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  119: arguments adaptor frame: 1->0
  120: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:358] [pc=0x1a3f77fe5897] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,v=0x1bcc24012b51 <String[178]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js?sourceMap&includePaths[]=/Users/jacob/src/oss/roc-cs-disturbed/node_modules/bourbon/app/assets/stylesheets>)
  121: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/UnsafeCachePlugin.js:29] [pc=0x1a3f77fdfd23] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc24012b51 <String[178]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader/index.js?sourceMap&includePaths[]=/Users/jacob/src/oss/roc-cs-disturbed/node_modules/bourbon/app/assets/stylesheets>)
  122: onResolved [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/Resolver.js:39] [pc=0x1a3f77fdf7d7] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc24012dd1 <an Object with map 0xe2622c0eef1>#72#)
  123: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/Resolver.js:123] [pc=0x1a3f77fdf463] (this=0x1cf8e67e99d9 <JS Global Object>#21#,result=0x1bcc24012dd1 <an Object with map 0xe2622c0eef1>#72#)
  124: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/Resolver.js:191] [pc=0x1a3f77fd95a5] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  125: arguments adaptor frame: 1->0
  126: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/Resolver.js:104] [pc=0x1a3f77fddc5b] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc24012dd1 <an Object with map 0xe2622c0eef1>#72#)
  127: loggingCallbackWrapper [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/createInnerCallback.js:21] [pc=0x1a3f77fdd9b9] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  128: arguments adaptor frame: 2->0
  129: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:134] [pc=0x1a3f77fdc7ee] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704101 <null>,result=0x1bcc24012dd1 <an Object with map 0xe2622c0eef1>#72#)
  130: innerCallback [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/Resolver.js:90] [pc=0x1a3f77fded15] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704189 <undefined>,result=0x1cf8e6704189 <undefined>)
  131: loggingCallbackWrapper [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/createInnerCallback.js:21] [pc=0x1a3f77fdd9b9] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  132: arguments adaptor frame: 2->0
  133: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/tapable/lib/Tapable.js:134] [pc=0x1a3f77fdc7ee] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1cf8e6704189 <undefined>,result=0x1cf8e6704189 <undefined>)
  134: arguments adaptor frame: 0->2
  135: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/ResultSymlinkPlugin.js:39] [pc=0x1a3f77fdb88e] (this=0x2f6357d3a881 <a Resolver with map 0xda3dbeff479>#73#,err=0x1cf8e6704189 <undefined>,idx=0x1cf8e6704189 <undefined>)
  136: arguments adaptor frame: 0->2
  137: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/Resolver.js:191] [pc=0x1a3f77fd95a5] (this=0x1cf8e67e99d9 <JS Global Object>#21#)
  138: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/ResultSymlinkPlugin.js:36] [pc=0x1a3f77fde9b4] (this=0x1cf8e67e99d9 <JS Global Object>#21#,err=0x1bcc24013579 <an Error with map 0x1134651155b9>#74#,result=0x1cf8e6704189 <undefined>)
  139: arguments adaptor frame: 1->2
  140: finished [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38] [pc=0x1a3f77fbd547] (this=0x2f6357d90a39 <a Storage with map 0xe2622c04579>#75#,name=0x1bcc24013631 <String[62]: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/sass-loader>)
  141: arguments adaptor frame: 2->1
  142: oncomplete [fs.js:117] [pc=0x1a3f77f61cef] (this=0x1bcc240136f9 <an FSReqWrap with map 0xda3dbef2951>#76#)
  143: arguments adaptor frame: 1->0
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: SassTypes::Boolean::get_constructor()
 3: SassTypes::Factory::initExports(v8::Local<v8::Object>)
 4: RegisterModule(v8::Local<v8::Object>)
 5: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 6: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 7: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 8: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
 9: 0x1a3f7770961b
Building web [============                  ] 40% 0.5 s 2/4 build modules(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================

Security context: 0x1cf8e67c9fa9 <JS Object>#0#
    1: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/node-sass/lib/index.js:356] [pc=0x1a3f78287f48] (this=0x1cf8e67e99d9 <JS Global Object>#1#,options=0x1bcc24b11f71 <an Object with map 0xe2622cc4e81>#2#,cb=0x1bcc24b13c01 <JS Function (SharedFunctionInfo 0x48ca2ba5881)>#3#)
    2: /* anonymous */ [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:987] [pc=0x1a3f78287a0e] (this=0x1cf8e67e99d9 <JS Global Object>#1#,items=0x1bcc24b13a71 <JS Array[1]>#4#,cb=0x1bcc24b13c01 <JS Function (SharedFunctionInfo 0x48ca2ba5881)>#3#)
    3: _onImmediate [/Users/jacob/src/oss/roc-cs-disturbed/node_modules/async/lib/async.js:953] [pc=0x1a3f782873dd] (this=0x1bcc24b12b99 <an Immediate with map 0xe2622cc45e9>#5#)
    4: tryOnImmediate(aka tryOnImmediate) [timers.js:543] [pc=0x1a3f78286b1a] (this=0x1cf8e6704189 <undefined>,immediate=0x1bcc24b12b99 <an Immediate with map 0xe2622cc45e9>#5#,queue=0x3050974a7be1 <an Object with map 0x11346510aa31>#6#)
    5: _immediateCallback(aka processImmediate) [timers.js:523] [pc=0x1a3f782865ae] (this=0x1cf8e67e5b79 <a process with map 0xe2622cc4641>#7#)
=====================


==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: CallbackBridge<Sass_Import**, void*>::get_wrapper_constructor()
 3: CallbackBridge<Sass_Import**, void*>::CallbackBridge(v8::Local<v8::Function>, bool)
 4: ExtractOptions(v8::Local<v8::Object>, void*, sass_context_wrapper*, bool, bool)
 5: render(Nan::FunctionCallbackInfo<v8::Value> const&)
 6: Nan::imp::FunctionCallbackWrapper(v8::FunctionCallbackInfo<v8::Value> const&)
 7: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 8: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 9: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
10: 0x1a3f7770961b
11: 0x1a3f78287f48
12: 0x1a3f78287a0e
Building web [====================          ] 68% 4.2 s 386/396 build module
Building node [==================            ] 61% 4.2 s 523/613 build module

Webpack build failed for node

Module parse failed: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/coffee-script/bin/coffee Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| #!/usr/bin/env node
|
| var path = require('path');
ModuleParseError: Module parse failed: /Users/jacob/src/oss/roc-cs-disturbed/node_modules/coffee-script/bin/coffee Line 1: Unexpected token ILLEGAL
You may need an appropriate loader to handle this file type.
| #!/usr/bin/env node
|
| var path = require('path');
  at DependenciesBlock.<anonymous> (/Users/jacob/src/oss/roc-cs-disturbed/node_modules/roc-package-webpack-dev/node_modules/webpack/lib/NormalModule.js:113:20)
  at DependenciesBlock.onModuleBuild (/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:310:10)
  at nextLoader (/Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:275:25)
  at /Users/jacob/src/oss/roc-cs-disturbed/node_modules/webpack-core/lib/NormalModuleMixin.js:259:5
  at Storage.finished (/Users/jacob/src/oss/roc-cs-disturbed/node_modules/enhanced-resolve/lib/CachedInputFileSystem.js:38:16)
  at /Users/jacob/src/oss/roc-cs-disturbed/node_modules/graceful-fs/graceful-fs.js:78:16
  at FSReqWrap.readFileAfterClose [as oncomplete] (fs.js:439:3)
@dlmr

This comment has been minimized.

Member

dlmr commented Jun 29, 2016

A good start would be to only apply this changes when testing the application. You can get this behaviour by doing the following:

  action: () => (rocObject) => {
    const hook = rocObject.hook;
    const rocBuilder = rocObject.previousValue;
    // Only when running in test mode
    if (hook === 'build-webpack' && rocObject.settings.build.mode === 'test') {
      return () => () => {
        rocBuilder.buildConfig.resolve.extensions = ['', '.js', '.json'];
        rocBuilder.buildConfig.externals = {
          jsdom: 'window',
          cheerio: 'window',
          'react/addons': true,
          'react/lib/ExecutionEnvironment': true,
          'react/lib/ReactContext': true,
        };
        return rocBuilder;
      };
    }
    return null;
  },

What you are trying to do is much the same as @tofagerl has been working on over in rocjs/roc-template-web-app-react#11.

I will take a closer look at the issue now and get back to you with my findings.

@JacobOscarson

This comment has been minimized.

JacobOscarson commented Jun 29, 2016

Fantastic. Solved it again!

@dlmr

This comment has been minimized.

Member

dlmr commented Jun 29, 2016

I have now looked closer at this and the reason for this happening is that externals is already defined when building for node and with the old configuration it was overwritten removing an important configuration.

The externals in question is https://github.com/rocjs/roc-package-webpack-node/blob/master/packages/roc-package-webpack-node-dev/src/builder/index.js#L29-L51

This types of issues/mistakes will soon be much more rare with the new configuration system in place which will land soon™. Great to hear that it works now! 😄

@dlmr dlmr closed this Jun 29, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment