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

webpack dev does not work whereas release works #77

Closed
mmrath opened this issue Mar 4, 2015 · 2 comments
Closed

webpack dev does not work whereas release works #77

mmrath opened this issue Mar 4, 2015 · 2 comments

Comments

@mmrath
Copy link

mmrath commented Mar 4, 2015

I just cloned repo and tried to build. Got the following error. The build works normally with --release flag

[16:35:48] Using gulpfile c:\Projects\POC\react-ui\gulpfile.js
[16:35:48] Starting 'clean'...
[16:35:48] Finished 'clean' after 31 ms
[16:35:48] Starting 'build'...
[16:35:48] Starting 'vendor'...
[16:35:48] Starting 'assets'...
[16:35:48] Starting 'styles'...
[16:35:49] Starting 'bundle'...
[16:35:49] Config is array.
[16:35:49] 'bundle' errored after 41 ms
[16:35:49] TypeError: Cannot read property 'filename' of null
    at new SourceMapDevToolPlugin (c:\Projects\POC\react-ui\node_modules\webpack
\lib\SourceMapDevToolPlugin.js:21:35)
    at OptionsApply.WebpackOptionsApply.process (c:\Projects\POC\react-ui\node_m
odules\webpack\lib\WebpackOptionsApply.js:199:18)
    at webpack (c:\Projects\POC\react-ui\node_modules\webpack\lib\webpack.js:22:
48)
    at c:\Projects\POC\react-ui\node_modules\webpack\lib\webpack.js:15:11
    at Array.map (native)
    at webpack (c:\Projects\POC\react-ui\node_modules\webpack\lib\webpack.js:14:
40)
    at Gulp.<anonymous> (c:\Projects\POC\react-ui\gulpfile.js:92:17)
    at module.exports (c:\Projects\POC\react-ui\node_modules\gulp\node_modules\o
rchestrator\lib\runTask.js:34:7)
    at Gulp.Orchestrator._runTask (c:\Projects\POC\react-ui\node_modules\gulp\no
de_modules\orchestrator\index.js:273:3)
    at Gulp.Orchestrator._runStep (c:\Projects\POC\react-ui\node_modules\gulp\no
de_modules\orchestrator\index.js:214:10)
[16:35:49] 'build' errored after 833 ms
[16:35:49] Error: [object Object]
    at formatError (C:\NotBackedUp\ode\npm-data\node_modules\gulp\bin\gulp.js:16
9:10)
    at Gulp.<anonymous> (C:\NotBackedUp\ode\npm-data\node_modules\gulp\bin\gulp.
js:195:15)
    at Gulp.emit (events.js:129:20)
    at Gulp.Orchestrator._emitTaskDone (c:\Projects\POC\react-ui\node_modules\gu
lp\node_modules\orchestrator\index.js:264:8)
    at c:\Projects\POC\react-ui\node_modules\gulp\node_modules\orchestrator\inde
x.js:275:23
    at finish (c:\Projects\POC\react-ui\node_modules\gulp\node_modules\orchestra
tor\lib\runTask.js:21:8)
    at cb (c:\Projects\POC\react-ui\node_modules\gulp\node_modules\orchestrator\
lib\runTask.js:29:3)
    at finish (c:\Projects\POC\react-ui\node_modules\run-sequence\index.js:48:5)
    at Gulp.onError (c:\Projects\POC\react-ui\node_modules\run-sequence\index.js
:55:4)
    at Gulp.emit (events.js:129:20)
[16:35:51] 'styles' all files 137.33 kB
[16:35:51] Finished 'styles' after 3.17 s

I changed webpack and webpack-dev-server version(made it strict instead of ^1.x.x) to the following and it worked.
"webpack": "1.6.0",
"webpack-dev-server": "1.7.0"

Not too sure if it is problem with webpack or starter-kit

@koistya
Copy link
Member

koistya commented Jun 2, 2015

@mmrath I wasn't able to reproduce this issue. Do you still have it with the latest version from the master branch?

@koistya
Copy link
Member

koistya commented Feb 21, 2016

I'm going to close this issue for now. Feel free to reopen if needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants