taro初始化构建报错

使用taro init myApp后想要打包,报错,错误如下:

npm ERR! enoent ENOENT: no such file or directory, open '/Users/zhengyi/Desktop/projects/taro/package.json'npm ERR! enoent ENOENT: no such file or directory, open '/Users/zhengyi/Desktop/projects/taro/package.json'

解决方法:原因为没有在myApp项目下,会显示找不到打包文件,切到myApp项目下打包即可

猜你喜欢

转载自blog.csdn.net/qq_37477349/article/details/84852016