How to get Heroku to recognize a yarn.lock or package.json within a subdirectory (not root)

后端 未结 6 2242
终归单人心
终归单人心 2021-02-19 10:11

I have a Rails application using React, Webpack, and Yarn for the client side. I have everything relating to the client side within the /client directory. This includes my yarn.

6条回答
  •  耶瑟儿~
    2021-02-19 10:59

    maybe your can try typing in package.json

      "engines": {
        "node": "^6.9",
        "yarn": "^0.21"
      },
    

提交回复
热议问题