1

I'm using eclipse with my Salesforce developer edition. And I can no longer save my component to the server because I have a test.js file in my component folder.

If I try to delete it I get the fatal error message:

A fatal error occurred while performing the refactoring: Force.com IDE does not support deleting resource

How do I get rid of the test.js file that blocks me from saving to server?

2 Answers 2

1

OK I found out how to delete it!

I had to disable sever communication (Work Offline from the Force.com's contextual Project Explorer menu) in order to be able to delete the test.js file.

1
  • Nice finding. I was also facing the issue. Commented Apr 6, 2018 at 8:54
0

is test.js included in your package.xml file? If not it won't get deployed/saved to the server. If it is, you can manually remove it from package.xml, and just delete (or not) the local copy.

1
  • No it's not in the package.xml and still unable to delete it! Commented Dec 12, 2016 at 17:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .