igli
DockerFile fails to install packages with yarn install and doesn't generate node_modules
Hey @Brody how does this look to you. I need this cputil to be executable in my server. But when i try to use it in production in my node js server it says that the command doesn't exist
29 replies
DockerFile fails to install packages with yarn install and doesn't generate node_modules
Hey @Brody I'm running into the same problem as earlier where yarn build command doesn't work "#15 1.262 Usage Error: Couldn't find the node_modules state file - running an install might help (findPackageLocation)
#15 1.262
#15 1.262 $ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...
#15 ERROR: process "/bin/sh -c yarn run build" did not complete successfully: exit code: 1
-----"
29 replies
DockerFile fails to install packages with yarn install and doesn't generate node_modules
Hey @Brody the solution worked but it didn't work for my case. I need to install a binary util called "cputil" and it can't be install with apt-get. I'm trying to do with a DockerFile again which looks like this
Now when i push to my github, railway starts building but it's not recognizing my DockerFile
29 replies
DockerFile fails to install packages with yarn install and doesn't generate node_modules
I had this project deployed to railway before without the DockerFile and everything worked perfectly, I'm only using the DockerFile because I need to install the ICU library
29 replies