We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
syr-cli
syr
Relevant code.
$ npm run serve > [email protected] serve myProject > webpack-dev-server --config webpack.config.js --content-base build/ Project is running at http://0.0.0.0:8081/ webpack output is served from / Hash: 6a9fbaeb4697cce8998a Version: webpack 3.12.0 Time: 780ms Asset Size Chunks Chunk Names assets/app.min.js 325 kB 0 [emitted] [big] app assets/app.min.js.map 385 kB 0 [emitted] app index.html 412 bytes [emitted] [2] multi (webpack)-dev-server/client?http://0.0.0.0:8081 ./samples/index.js 40 bytes {0} [built] [3] (webpack)-dev-server/client?http://0.0.0.0:8081 7.93 kB {0} [built] [4] ./node_modules/url/url.js 23.3 kB {0} [built] [5] ./node_modules/node-libs-browser/node_modules/punycode/punycode.js 14.7 kB {0} [built] [7] ./node_modules/url/util.js 314 bytes {0} [built] [8] ./node_modules/querystring-es3/index.js 127 bytes {0} [built] [11] ./node_modules/strip-ansi/index.js 161 bytes {0} [built] [12] ./node_modules/ansi-regex/index.js 135 bytes {0} [built] [13] ./node_modules/loglevel/lib/loglevel.js 7.86 kB {0} [built] [14] (webpack)-dev-server/client/socket.js 1.08 kB {0} [built] [15] ./node_modules/sockjs-client/dist/sockjs.js 181 kB {0} [built] [16] (webpack)-dev-server/client/overlay.js 3.67 kB {0} [built] [17] ./node_modules/ansi-html/index.js 4.26 kB {0} [built] [21] (webpack)/hot nonrecursive ^\.\/log$ 170 bytes {0} [built] [23] (webpack)/hot/emitter.js 77 bytes {0} [built] + 10 hidden modules ERROR in multi (webpack)-dev-server/client?http://0.0.0.0:8081 ./samples/index.js Module not found: Error: Can't resolve './samples/index.js' in '/Users/ypxie/Github/myProject' @ multi (webpack)-dev-server/client?http://0.0.0.0:8081 ./samples/index.js webpack: Failed to compile.
Problem description: It's missing samples/ folder.
samples/
Suggested solution: Update webpack.config.js line 8 to app: ['./src/index.js']
webpack.config.js
8
app: ['./src/index.js']
The text was updated successfully, but these errors were encountered:
No branches or pull requests
syr-cli
version: latestsyr
version: latestRelevant code.
Problem description:
It's missing
samples/
folder.Suggested solution:
Update
webpack.config.js
line8
toapp: ['./src/index.js']
The text was updated successfully, but these errors were encountered: