plan-three / material-ui-autosuggest

A fuzzy-search autosuggest component for Material-UI
MIT License
28 stars 2 forks source link

Npm fails to install #29

Open shilangyu opened 5 years ago

shilangyu commented 5 years ago

(Pnpm) All files get downloaded and get followed by a postinstall error:

.../@plan-three/material-ui-autosuggest postinstall$ webpack -p --display none
└─ Failed in 43s
 ERROR  @plan-three/material-ui-autosuggest@1.0.0-beta-11 postinstall: `webpack -p --display none`
Exit status 2
at Error: @plan-three/mater…

at <anonymous>                Users/Uczeń/AppData/Roaming/npm/node_modules/pnpm/lib/node_modules/@zkochan/npm-lifecycle/index.js:303     var er = new Error('Exit…
at emit                       events.js:182

at <anonymous>                Users/Uczeń/AppData/Roaming/npm/node_modules/pnpm/lib/node_modules/@zkochan/npm-lifecycle/lib/spawn.js:55  cooked.emit('close', cod…
at emit                       events.js:182

at maybeClose                 internal/child_process.js:962

at onexit                     internal/child_process.js:251

(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'

wataash commented 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:
ThukuWakogi commented 5 years ago

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:
Zaktus commented 5 years ago

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
Avidexp commented 5 years ago

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: