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
After cloning the project and trying npm install I got the following error:
npm ERR! fetch failed https://registry.npmjs.org/async-validator/-/async-validator-1.8.2.tgz
npm WARN retry will retry, error on last attempt: Error: fetch failed with status code 404`
I had to npm install https://github.com/yiminghe/async-validator/archive/1.8.2.tar.gz and that added it as a dependency to my package.json. Afer doing that step, I was able to succesfully run npm install. I'm not sure which package depends on async-validator but that is not allowing me run the project. After I installed it separately I tried npm start and this is what I'm getting now:
Failed to compile.
./node_modules/async-validator/index.js
Module parse failed: Unexpected token (1:20)
You may need an appropriate loader to handle this file type.
| export default from './src/';|
I think is a webpack or babel issue that I'm not sure how to fix. Can we fix the link for async-validator so that my npm install works?
The text was updated successfully, but these errors were encountered:
sebasalvarado
changed the title
Installing async-validator
Error Installing async-validator
May 27, 2018
System and Versions:
Problem:
After cloning the project and trying
npm install
I got the following error:After researching this problem online I found this way to fix it: https://stackoverflow.com/questions/50540965/npm-err-404-not-found-async-validator-while-installing-element-ui/50541278
I had to
npm install https://github.com/yiminghe/async-validator/archive/1.8.2.tar.gz
and that added it as a dependency to my package.json. Afer doing that step, I was able to succesfully runnpm install
. I'm not sure which package depends onasync-validator
but that is not allowing me run the project. After I installed it separately I triednpm start
and this is what I'm getting now:I think is a webpack or babel issue that I'm not sure how to fix. Can we fix the link for
async-validator
so that mynpm install
works?The text was updated successfully, but these errors were encountered: