使用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项目下打包即可