Highlighted

Photoshop panel save permission error

Explorer ,
Sep 16, 2020

Copy link to clipboard

Copied

Hi There,

 

This is my folder setup:

Schermafbeelding 2020-09-15 om 20.16.37.png

I'm trying to export a .json file from the index.js in the client folder. I'm doing this with a node module "file-system": "^2.2.2".

 

fs.writeFile("output.json", data);

 

I get the following error message:

Schermafbeelding 2020-09-16 om 08.52.31.png

I gave all the folders of this project read/write permission. I can't seem to find a solution. How do i avoid this error? Any ideas?

Ok so i was supposed to give a valid path to a folder in order to write the file. Didn't check that well enough.

TOPICS
Actions and scripting, How to, Import and export, Problem or error

Views

56

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Photoshop panel save permission error

Explorer ,
Sep 16, 2020

Copy link to clipboard

Copied

Hi There,

 

This is my folder setup:

Schermafbeelding 2020-09-15 om 20.16.37.png

I'm trying to export a .json file from the index.js in the client folder. I'm doing this with a node module "file-system": "^2.2.2".

 

fs.writeFile("output.json", data);

 

I get the following error message:

Schermafbeelding 2020-09-16 om 08.52.31.png

I gave all the folders of this project read/write permission. I can't seem to find a solution. How do i avoid this error? Any ideas?

Ok so i was supposed to give a valid path to a folder in order to write the file. Didn't check that well enough.

TOPICS
Actions and scripting, How to, Import and export, Problem or error

Views

57

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Sep 16, 2020 0
Explorer ,
Sep 16, 2020

Copy link to clipboard

Copied

Ok so i was supposed to give a valid path to a folder in order to write the file. Didn't check that well enough.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Sep 16, 2020 0