Been trying to solve this one for 2 days now when ...
# suitecommerce
g
Been trying to solve this one for 2 days now when deploying an extension using the 24.2.50 tools. “Cannot read properties of undefined (reading ‘files’)” - extension-mechanism/deploy/deploy.js17470 - I’ve rebuilt the manifest, searched for hidden files,tried to debug that file. I’m at a loss and under a lot of pressure now.
m
This recent thread might be relevant to your situation if you have not reviewed yet https://netsuiteprofessionals.slack.com/archives/C06V7S5E77Z/p1743622831936669?thread_ts=1743622825.031489&cid=C06V7S5E77Z
g
Tried those, as I mentioned. Didn’t help.
t
not 100% sure but I got a similar error when I had an extra comma in my define statement in an extension.
e
@Gordon Truslove that specific version has that issue on specific scenarios, I"m not quite sure about the root of the issue but try with a minor version to deploy your extensions/theme.
m
@Gordon Truslove Out of curiosity, have you found the solution for this? I'm still using dev tools 23.1.3. Seems to be the most stable version for me.
g
I’ve not found a solution yet. It’s now doing the same thing for extensions and theme. Theme is running v23 Extensions v24. I’m starting to think it’s an issue with NetSuite itself and testing deploying to different accounts to see what happend.
It works with a 2024.2 account but not a 2025.1 account.
m
interesting. good to know. thank you. i've had issues with devtools v24 that would corrupt images and font files.
c
Awhile back, I had an strange dev tools issue and I solved it by starting the node debugger in vscode when doing a deploy. This allowed for looking at the error in real time.