#NPM build failed
20 messages · Page 1 of 1 (latest)
Project ID: 28562ebb-aba7-4de1-b52f-dfec8602d0ab
It looks like the issue is that the resource is busy or locked, and the log can be found in /root/.npm/_logs/2023-01-28T15_22_08_318Z-debug-0.log.
28562ebb-aba7-4de1-b52f-dfec8602d0ab
Need more information Bout your project. Clearly it cannot resolve the module be no way to tell why
Looks like the path take you out of the src dir. Maybe that's the issue?
Oh , Is this an spa? Mind sharing the table at the top of your build logs
this one?
What command do you use to build it locally?
also npm run build 😐
And if this is a spa you will need to use the NIXPACKS provider
Sorry
The nginx provider
I can't work out why It won't work other than your importing a TS file into a js file ( idk if that works ) it might do
Side note I would advise agaisnt capital letters in your file names otherwise you might run into this issue again depending on your os ( Linux cares about casing )
I'll try to change from ts to js
It was that, strange but it worked always on other VMs, maybe it's caused by node version or smth, anyway it helped