R
Railway14mo ago
drawlin

Failure message while deploying NextJS application

It seems like it's expecting a Typescript file during my deployment however my application is not using Typescript. Here's a screenshot of the error I'm having, any assistance would be very much appreciated.
No description
15 Replies
Percy
Percy14mo ago
Project ID: d71e40fe-2a90-4d32-a360-14ef1088f139
drawlin
drawlin14mo ago
d71e40fe-2a90-4d32-a360-14ef1088f139
Brody
Brody14mo ago
where you ever using typescript?
drawlin
drawlin14mo ago
nope, not that i can remember at least for this project
Brody
Brody14mo ago
send your package.json?
drawlin
drawlin14mo ago
I gotcha give me a few minutes I just stepped out, I’ll send it over
drawlin
drawlin14mo ago
@Brody here is my package.json
No description
Brody
Brody14mo ago
delete your lock file then run npm install
drawlin
drawlin14mo ago
Should I do that on my local version and then push it to Github?
Brody
Brody14mo ago
yes
drawlin
drawlin14mo ago
I tried that and I'm getting the same result, should I just paste my entire error file here?
Brody
Brody14mo ago
add this to a nixpacks.toml file in your project
[phases.install]
cmds = ['npm install']
[phases.install]
cmds = ['npm install']
drawlin
drawlin14mo ago
I think that worked... it says it's publishing the image now
Want results from more Discord servers?
Add your server