Waiiki
Waiiki
Explore posts from servers
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
it worked! thank you!!!!
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
cd packages/web && yarn build should be placed in the build command?
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
evidently not lol
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
not sure if this is right
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
13:28:37.376 Verify run directory
13:28:37.376 Executing user command: yarn build
13:28:37.380 /opt/build/bin/build: line 39: yarn: command not found
13:28:37.386 Failed: build command exited with code: 127
13:28:38.241 Failed: error occurred while running build command
13:28:37.376 Verify run directory
13:28:37.376 Executing user command: yarn build
13:28:37.380 /opt/build/bin/build: line 39: yarn: command not found
13:28:37.386 Failed: build command exited with code: 127
13:28:38.241 Failed: error occurred while running build command
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
not sure if you're familiar with yarn workspaces
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
so because I'm using yarn workspaces, I normally run "yarn install" in the root directory, and then "yarn start" in the /packages/web project
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
I also have another package.json where my /web (react) project is, which has the actual craco build script
11 replies
CDCloudflare Developers
Created by Waiiki on 7/5/2023 in #pages-help
Yarn workspace monorepo not building on pages
{
"private": true,
"workspaces": ["packages/**"],
"nohoist": [
"**/react-native",
"**/react-native/**",
"jetifier",
"react-native-safe-area-context",
"react-native-screens",
"@react-native-community/**",
"@react-navigation/**"
]
}
{
"private": true,
"workspaces": ["packages/**"],
"nohoist": [
"**/react-native",
"**/react-native/**",
"jetifier",
"react-native-safe-area-context",
"react-native-screens",
"@react-native-community/**",
"@react-navigation/**"
]
}
so I need to add a build script here? This is my root package.json
11 replies