No, never run a project from the network.
Change the publish location to a new folder on the laptop. If
it publishes OK to there, then it suggests a permissions problem on
the target folder where it is currently failing.
Check that out next and post back.
Help others by clicking Correct Answer if the question is answered. Found the answer elsewhere? Share it here. "Upvote" is for useful posts.