Build error after fresh clone - Cannot find module '.../dist/index.js' in @crawlee/utils #3034
Replies: 1 comment
-
|
Looks like the errors were due to latest commit by release bot. 371eab1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi! I’m trying to build the project after freshly cloning the repo and running
yarn, but I’m running into a build error related to@crawlee/utils.Here’s what I did:
git clone https://github.com/apify/crawlee cd crawlee yarn yarn buildAnd here's the relevant part of the error log:
It looks like it’s expecting a
dist/index.jsfile in the@crawlee/utilspackage, but it doesn’t exist after a fresh install.I tried running parts of compile script of utils package, got to find that tsc is not compiling the ts files to dist/ directory.
Is there a missing step or script I should run before
yarn build?My setup:
Also saw a few warnings during
yarnrelated to peer dependencies likeplaywright-coreandeslint, but not sure if they’re related.Any advice or steps I’m missing? Appreciate any help!
Beta Was this translation helpful? Give feedback.
All reactions