https://linen.dev logo
s

Samuel Gordalina

03/05/2021, 9:07 PM
I'm trying to build airbyte locally for integration tests and I have this error: https://gist.github.com/gordalina/02ad6a951d68792bd725b4435af503da
u

user

03/05/2021, 9:08 PM
which branch are you on?
u

user

03/05/2021, 9:09 PM
i branched off master yesterday
u

user

03/05/2021, 9:09 PM
u

user

03/05/2021, 9:14 PM
Different error when I run
npx react-scripts build
in the webapp folder
u

user

03/05/2021, 9:24 PM
hmm i’m unable to repro
u

user

03/05/2021, 9:25 PM
what os and npm version are you running?
u

user

03/05/2021, 9:25 PM
does running
npm i
in the webapp folder help? potentially after nuking node_modules?
u

user

03/05/2021, 9:25 PM
OS X 11 node v14.15.5 npm 6.14.11
u

user

03/05/2021, 9:26 PM
im trying that
u

user

03/05/2021, 9:26 PM
its really weird that i can't find typescript module
u

user

03/05/2021, 9:26 PM
i'm wondering if its a local node env issue
u

user

03/05/2021, 9:27 PM
and
node_modules/typescript
exists?
u

user

03/05/2021, 9:27 PM
yes
u

user

03/05/2021, 9:27 PM
šŸ¤”
u

user

03/05/2021, 9:28 PM
removing node_modules, npm i, and then running npm run build is not failing anymore
u

user

03/05/2021, 9:28 PM
so šŸ¤ž
u

user

03/05/2021, 9:28 PM
i remember running gradle build and killing it - it may have stopped while installing node deps
u

user

03/05/2021, 9:28 PM
it worked
u

user

03/05/2021, 9:29 PM
huh yeah that might have been it, although it seems super weird that stopping an npm build halfway would cause later ones to crash
u

user

03/05/2021, 9:29 PM
must have been at the exactly wrong time
u

user

03/05/2021, 9:29 PM
thank you šŸ™‚
2 Views