Open shilangyu opened 5 years ago
same for me.
$ yarn add @plan-three/material-ui-autosuggest
yarn add v1.17.3
[1/4] 🔍 Resolving packages...
warning @plan-three/material-ui-autosuggest > material-ui@1.0.0-beta.47: You can now upgrade to @material-ui/core
warning @plan-three/material-ui-autosuggest > babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read https://babeljs.io/env to update!
warning @plan-three/material-ui-autosuggest > material-ui > react-event-listener > fbjs > core-js@1.2.7: core-js@<2.6.8 is no longer maintained. Please, upgrade to core-js@3 or at least to actual version of core-js@2.
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning "react-scripts > @typescript-eslint/eslint-plugin@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
warning "react-scripts > @typescript-eslint/parser@1.13.0" has incorrect peer dependency "eslint@^5.0.0".
[4/4] 🔨 Building fresh packages...
[1/6] ⠐ fsevents
[-/6] ⠐ waiting...
[6/6] ⠐ @plan-three/material-ui-autosuggest
[-/6] ⠐ waiting...
error /Users/wsh/src/tesjs/proj/tracsync/node_modules/@plan-three/material-ui-autosuggest: Command failed.
Exit code: 2
Command: webpack -p --display none
Arguments:
I have a similar issue
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @plan-three/material-ui-autosuggest@1.0.0-beta-11 postinstall: `webpack -p --display none`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @plan-three/material-ui-autosuggest@1.0.0-beta-11 postinstall 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:
It's true!
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! @plan-three/material-ui-autosuggest@1.0.0-beta-11 postinstall: webpack -p --display none
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the @plan-three/material-ui-autosuggest@1.0.0-beta-11 postinstall 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! C:\Users\Zaktu\AppData\Roaming\npm-cache\_logs\2019-09-22T12_07_59_222Z-debug.log
Yep. Same here...
0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta". [4/4] Building fresh packages... [-/6] ⠠ waiting... [-/6] ⠐ waiting... [-/6] ⠐ waiting... [-/6] ⠐ waiting... error D:\MyApps\StepZilla\orderForm\node_modules\@plan-three\material-ui-autosuggest: Command failed. Exit code: 2 Command: webpack -p --display none Arguments:
(Pnpm) All files get downloaded and get followed by a postinstall error:
(Npm) Everything gets installed however it ends with a high severity vulnerability, trying to fix it with
npm audit fix
then reinstalling shows no errors but react fails to build the app with such error:Module not found: Can't resolve 'material-ui-autosuggest'
as if the package didnt install at all. Im importing it as such:import Autosuggest, { defaultProps } from 'material-ui-autosuggest'