i'm Trying to upgrade to latest stable flutter Sdk (using fvm), then i'm trying to run my project. I run this
fvm flutter pub get
But i get this Type of error
../../../fvm/versions/stable/packages/flutter_tools/lib/runner.dart:9:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/args-2.3.1/lib/command_runner.dart': Permission denied
import 'package:args/command_runner.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/runner/flutter_command.dart:6:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/args-2.3.1/lib/command_runner.dart': Permission denied
import 'package:args/command_runner.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/runner.dart:10:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/intl-0.17.0/lib/intl.dart': Permission denied
import 'package:intl/intl.dart' as intl;
^
../../../fvm/versions/stable/packages/flutter_tools/lib/runner.dart:11:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/intl-0.17.0/lib/intl_standalone.dart': Permission denied
import 'package:intl/intl_standalone.dart' as intl_standalone;
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/runner/flutter_command_runner.dart:6:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/args-2.3.1/lib/command_runner.dart': Permission denied
import 'package:args/command_runner.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/artifacts.dart:5:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/file-6.1.4/lib/memory.dart': Permission denied
import 'package:file/memory.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/cache.dart:8:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/file-6.1.4/lib/memory.dart': Permission denied
import 'package:file/memory.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/artifacts.dart:6:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/process-4.2.4/lib/process.dart': Permission denied
import 'package:process/process.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/cache.dart:10:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/process-4.2.4/lib/process.dart': Permission denied
import 'package:process/process.dart';
^
../../../fvm/versions/stable/packages/flutter_tools/lib/src/commands/analyze.dart:6:8: Error: Error when reading '../../../.pub-cache/hosted/pub.dev/process-4.2.4/lib/process.dart': Permission denied
import 'package:process/process.dart';
How can i fix it ? thanks in advance
--
Running fvm flutter pub cache Repair showing same result
Related
I just downloaded and updated Heroku, and then ran
> heroku login
in my PowerShell, but got the following error:
(node:1496) [UNKNOWN] Error Plugin: heroku: UNKNOWN: unknown error, open 'U:\_netrc'
Error occurred during reading netrc file: U:\_netrc
module: #oclif/config#1.13.2
task: runHook prerun
plugin: heroku
root: C:\Users\<myusername>\AppData\Local\heroku\client\7.59.2
See more details with DEBUG=*
Error: UNKNOWN: unknown error, open 'U:/_netrc'
I couldn't find much information about the error message, and would appreciate any insights or suggestions. Thank you!
I am trying to install mongochef (studio-3t) on my window 10, but at the end i got an error which is
Java.io.ioException Access denied error.
please help, how to fix it ? (i tried with "run as administration").
I have seen a couple of posts, but it did not help me. I have created around 10 Linux machines in Azure and added them to agent pools.
First, the build succeeded, but when I queued the build again, it failed at get sources with the below error.
My build definition was configured:
clean: true
clean options: sources
Error:
018-03-14T18:08:10.9360932Z ##[command]git clean -fdx
2018-03-14T18:08:11.1202177Z warning: failed to remove builddir/support-files/wsrep.cnf: Permission denied
2018-03-14T18:08:11.1221821Z warning: failed to remove builddir/support-files/sysusers.conf: Permission denied
2018-03-14T18:08:11.1248161Z warning: failed to remove builddir/support-files/CTestTestfile.cmake: Permission denied
2018-03-14T18:08:11.1268109Z warning: failed to remove builddir/support-files/mariadb.pc: Permission denied
2018-03-14T18:08:11.1285043Z warning: failed to remove builddir/support-files/wsrep_notify: Permission denied
2018-03-14T18:08:11.1297658Z warning: failed to remove builddir/support-files/mysql.server: Permission denied
2018-03-14T18:08:11.1309669Z warning: failed to remove builddir/support-files/cmake_install.cmake: Permission denied
2018-03-14T18:08:11.1321349Z warning: failed to remove builddir/support-files/CMakeFiles/CMakeDirectoryInformation.cmake: Permission denied
2018-03-14T18:08:11.1333209Z warning: failed to remove builddir/support-files/CMakeFiles/progress.marks: Permission denied
2018-03-14T18:08:11.1345486Z warning: failed to remove builddir/support-files/mysqld_multi.server: Permission denied
Based on the logs, it seems delete for the duilddir/support-files directory is not allowed (you can also check the permission by referring to the post Why can't I delete a file where I have group write permissions on?).
Please set the permission enable to delete under your agent's work folder.
I am trying to install .net v2.0 using "aspnet_regiis -i" ... and I keep getting this error: "Operation failed 0x80070643, fatal error doing installation".
any ideas of what i can do?
i have problem with swift..when i execute swift -V 2.0 -A http://xxx.xxx.x.xx:5000/v2.0/ -U cookbook:demo -K openstack stat
and then this is output
Auth GET failed: http://xxx.xxx.x.xx:5000/v2.0/tokens 500 Internal Server Error
any solution for me? :)
I hit this error while execute 'swift list'.
Error: Account GET failed ... 503 Internal Server Error (first 60 chars of response)...
On swift storage node, check log '/var/log/swift/account-server.log', and get a piece of error message:[Errno 13] Permission denied '/srv/node/sdb1/accounts'
According to the error message, I found the root cause is that, on swift storage node, the swift user doesn't have permission on directory '/srv/node/'. Grant permission with CMD: chown -R swift:swift /srv/node
And the problem is solved. Hope this helpful.