I have an ubuntu workspace but I can't create files or save them ,I can only create files with linux commands but is not possible to save this is the error I get when I try to save ERR: Error: EACCES, open 'filename.php'
Related
After cloning the git repo of a expo project, and doing an npm install/pod install, I receive the following error:
error: error reading '/Users/user/Desktop/example-project/node_modules/expo-app-loader-provider/ios/EXAppLoaderProvider/EXAppLoaderProvider.m'
I tried to delete the Derived data, build with legacy mode, delete podlock and package lock files, with no luck
Any ideas what is happening/must be done?
Thank you!
Picure of Error CodeI am trying to install VS Code on my new Macbook Air M1. I get the error message on the photo attached.
"Unable to write program user data.
A system error occurred (EACCES: permission denied, mkdir '/Users/John/Library/Application Support/Code')
Please make sure the following directories are writeable:
~/Library/Application Support/Code
~/.vscode/extensions"
I found the solution to this issue. The location for the tmp directory can be changed with the XDG_RUNTIME_DIR environment:
XDG_RUNTIME_DIR=my-runtime-dir ./VSCode-linux-x64/bin/code --user-data-dir my_dir
I'm on windows and i tried to upgrade to the latest flutter sdk version but the error below kept appearing. FYI, i tried most fixes i found on GitHub. I downloaded the zipped file from their docs and unzipped in Documents as it has read/write permissions, turned off firewall, run flutter doctor -v in PowerShell, etc.
After running flutter doctor -v, this happened
λ flutter doctor -v
Building flutter tool...
Running pub upgrade...
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/async_core.dart:28:1: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/cookies.dart': Access is denied.
export 'package:webdriver/src/async/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart:20:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/cookies.dart': Access is denied.
import 'package:webdriver/src/async/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/sync_core.dart:35:1: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/cookies.dart': Access is denied.
export 'package:webdriver/src/sync/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/web_driver.dart:25:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/cookies.dart': Access is denied.
import 'package:webdriver/src/sync/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/json_wire_handler.dart:6:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/json_wire/cookies.dart': Access is denied.
import 'package:webdriver/src/handler/json_wire/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/w3c_handler.dart:6:8: Error: Error when reading '../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/w3c/cookies.dart': Access is denied.
import 'package:webdriver/src/handler/w3c/cookies.dart';
^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart:175:3: Error: Type 'Cookies' not found.
Cookies get cookies => Cookies(_client, _handler);
^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/sync/web_driver.dart:183:3: Error: Type 'Cookies' not found.
Cookies get cookies => Cookies(_client, _handler);
^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart:175:26: Error: The method 'Cookies' isn't defined for the class 'WebDriver'.
- 'WebDriver' is from 'package:webdriver/src/async/web_driver.dart' ('../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/async/web_driver.dart').
Try correcting the name to the name of an existing method, or defining a method named 'Cookies'.
Cookies get cookies => Cookies(_client, _handler);
^^^^^^^
../../../AppData/Local/Pub/Cache/hosted/pub.dartlang.org/webdriver-2.1.2/lib/src/handler/json_wire_handler.dart:52:34: Error: Method not found: 'JsonWireCookiesHandler'.
final CookiesHandler cookies = JsonWireCookiesHandler();
I keep coming back to this. Any fix?
It worked. FYI, i had not deleted the previous SDK, but placed it in D:\
Here is my fix:
I turned off my firewall
Moved to the old SDK folder (which resides in D:)
Run the folder in CMD with administrator rights (i was using cmder)
Replaced the flutter path in ENV with that of the previous SDK
And then run:
git clean -xfd
git stash save --keep-index
git stash drop
git pull
flutter doctor -v
I'm trying to install pg_stat_statements doing this:
CREATE EXTENSION pg_stat_statements;
and I get this:
ERROR: could not open extension control file "/usr/local/greenplum-db-6.10.1/share/postgresql/extension/pg_stat_statements.control": No such file or directory
I already installed postgresql-contrib as follow:
sudo yum install postgresql-contrib
The file pg_stat_statements.control is not found on the location specified in the error, should I download it? or how does it work?
There is no documentation of that extension of greenplum. I would say its not supported.
I am trying to run a Makefile, and coming up with this error:
thrift/TDispatch processor.h No such file or directory
compilation terminated
Thrift is installed in /usr/local/bin/thrift, I have make sure by writing thrift in terminal.