简体   繁体   中英

Trying to add features and push changes on an Application using AWS-amplify

I'm building an App in my mac using the creacte-react-app boilerplate and AWS-Amplify to build the backend. When trying to push changes or add feature to the project I a console error.

Example:

amplify push
✖ There was an error pulling the backend environment dev.
An error occurred during the push operation: Cannot read property 'mkdir' of undefined$

Its all I'm getting... any ideas?

看起来 Node V10 不兼容……升级到 Node v12 后,我就能够推送和添加新功能。

Sometimes this happens if you change some things in the project directory. Ensure you do not have an additional error about missing path. If you do have missing path error, kindly check this folder-amplify in you project and change the directory in the file local-env-info.json

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM