You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I get the following when executing npm run bootstrap.
I suspect the issue is your scripts cal out /bin/sh but on Mint the default shell is dash and apparently this script isn't dash compatible.
When I forced this script to execute with bash it succeeded.
~/s/material-components-web-components $ npm run bootstrap
> material-components-web-components@ bootstrap /home/shawn/s/material-components-web-components
> npm install && ./scripts/bootstrap-unreleased.shnpm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})removed 97 packages in 12.261slerna info version 2.11.0lerna info Bootstrapping 23 packageslerna info lifecycle preinstalllerna info Installing external dependencieslerna info hoist Installing hoisted dependencies into rootlerna info hoist Pruning hoisted dependencieslerna info hoist Finished pruning hoisted dependencieslerna info hoist Finished installing in rootlerna info Symlinking packages and binarieslerna info lifecycle postinstalllerna info lifecycle prepublishlerna info lifecycle preparelerna success Bootstrapped 23 packages./scripts/bootstrap-unreleased.sh: 24: ./scripts/bootstrap-unreleased.sh: Syntax error: "(" unexpectednpm ERR! code ELIFECYCLEnpm ERR! errno 2npm ERR! material-components-web-components@ bootstrap: `npm install && ./scripts/bootstrap-unreleased.sh`npm ERR! Exit status 2npm ERR! npm ERR! Failed at the material-components-web-components@ bootstrap 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! /home/shawn/.npm/_logs/2018-05-06T15_04_44_169Z-debug.log
The text was updated successfully, but these errors were encountered:
I get the following when executing
npm run bootstrap
.I suspect the issue is your scripts cal out
/bin/sh
but on Mint the default shell is dash and apparently this script isn't dash compatible.When I forced this script to execute with bash it succeeded.
The text was updated successfully, but these errors were encountered: