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 to "webpack-cli": "^3.1.1" #888

Merged
merged 1 commit into from Sep 26, 2018

Conversation

ctaggart
Copy link
Contributor

replaced using VS Code regex search
"webpack-cli": "^\S+"
"webpack-cli": "^3.1.1"

Every example was failing on an error like this:

> @ serve /Users/cameron/rs/wasm-bindgen/examples/hello_world
> webpack-dev-server

/Users/cameron/rs/wasm-bindgen/examples/hello_world/node_modules/webpack-cli/bin/config-yargs.js:89
				describe: optionsSchema.definitions.output.properties.path.description,
				                                           ^

TypeError: Cannot read property 'properties' of undefined
    at module.exports (/Users/cameron/rs/wasm-bindgen/examples/hello_world/node_modules/webpack-cli/bin/config-yargs.js:89:48)
    at Object.<anonymous> (/Users/cameron/rs/wasm-bindgen/examples/hello_world/node_modules/webpack-dev-server/bin/webpack-dev-server.js:84:40)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:742:12)
    at startup (internal/bootstrap/node.js:279:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:752:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! @ serve: `webpack-dev-server`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the @ serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/cameron/.npm/_logs/2018-09-26T01_15_40_142Z-debug.log

@alexcrichton
Copy link
Contributor

Awesome, thanks!

@alexcrichton alexcrichton merged commit 0ab03bb into rustwasm:master Sep 26, 2018
@ctaggart ctaggart deleted the webpack-cli branch September 26, 2018 05:01
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

Successfully merging this pull request may close these issues.

None yet

2 participants