FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
130 stars 26 forks source link

Error: The caller does not have permission to execute the specified operation. when updating project deps #4838

Closed hcw2016 closed 2 weeks ago

hcw2016 commented 2 weeks ago

Can we access your project?

Current Behavior

I am getting the following error:

Error: The caller does not have permission to execute the specified operation.

whenever I try to add dependencies in Flutterflow Mac application.

I am running on an M3 Apple Macbook Pro. Flutterflow version is up to date

Expected Behavior

I expect to be able to add dependencies

Steps to Reproduce

  1. Navigate to Project Dependencies
  2. Attempt to add a package
  3. Observe Error: The caller does not have permission to execute the specified operation.

Reproducible from Blank

Bug Report Code (Required)

N/A

Visual documentation

N/A

Environment

- FlutterFlow version: Version 5.0.9 (5.0.9)
- Platform: MacOS
- Browser name and version: Desktop Application
- Operating system and version affected: MacOS 14.3

Additional Information

No response

Alezanello commented 2 weeks ago

Hello!

In Project Dependencies, you can only add FlutterFlow projects that are published as libraries. If you would like to add a specific package, such as one from pub.dev, please use the Custom Code section to integrate it.

Alezanello commented 2 weeks ago

Closing this issue since we haven't heard back from you. If you are still facing the problem please submit a new issue. Have a great day!

hcw2016 commented 1 week ago

Hello. Can we please not close this after 2 days of inactivity? I am aware to use packages from pub dev. However, when I attempt to add them in the Project Dependencies I get the error message above.

I saw several reports of this in the past, but it appears that there was no resolution

Alezanello commented 1 week ago

Hello!!

Like I said in my previous response "If you would like to add a specific package, such as one from pub.dev, please use the Custom Code section to integrate it." the Project Dependencies can ONLY allow FF Projects as Packages