-
-
Notifications
You must be signed in to change notification settings - Fork 22
Can't resolve '@master.technology/permissions' in version 1.3.12 #49
Comments
Can you tell me:
|
Yeah no problem!
8.0.1
3.9.7
node - v11.3.0
There is a Let me know if you need anything else! |
Node 11 is actually pretty old, that might be the cause. But one thing that might fix the issue on your machine without upgrading node is just copying the @master.technology folder from the root node_modules into the |
Can confirm this is happening here as well. Looks like with the latest change this repo now points to another repo, but perhaps doesn't export from package.json ? Node 14 here |
It does now point to another npm module ( I've done this many times over the years. In fact that is how Plugins -> NS-Permssions works, one plugin refers to the other. And how all my "sub-plugins" of NS-Sqlite work. I'm at a loss as to why it isn't working for several of you. It is working for the vast majority of people (close to 600 downloads of this version already), otherwise the number of issues would be crazy high. At the moment, everything "here" is working perfectly on both iOS and Android. I even manually made my demo app go to the latest npm version of ns-permissions (rather than its final location of @master.technology/permissions) just to verify that the chaining would work and it is working for me. Interim solutions:
I would like to know a couple things:
|
Experiencing the same issue.
|
@Swamp3 , @alexziskind1 , @tylerablake - are any of you by any chance using the NS/Angular code sharing Schematics? |
I'm using NS + Angular but not code sharing schematics |
@NathanaelA if you are talking about the following code block, then yes. We are also sharing code for a web and the nativescript apps. (
|
@Swamp3 - Yep, that probably means that everything was setup by NS schematics, even if you aren't using it for code sharing. Not 100% sure, but it does seem like everyone so far effected there project was setup using the @ns/schematics or perhaps it is just angular users in general??? (@alexziskind1 - how was your project set up?). The reason I suspected schematics (or even maybe xplat???) is that they have custom resolving for typescript and perhaps this is the reason it isn't working is because it doesn't search proper node_modules folder. A couple things you can try:
If either of those works, then it is probably a resolving rule of the tsconfig file needs to be fixed. |
Hi, i have the same issue as above.
I already have @master.technology/permissions in the correct location (where you advise to past the module), i still have the same error as others. |
For everyone else we are already at about 1,200 downloads a week on this version:
|
Thank you for you quick answer @NathanaelA
I will try to reproduce the error in a new project. I keep you posted if i succeed in reproducing the behaviour. |
@NathanaelA |
@NathanaelA
Steps to reproduce:
And you should have the following error:
|
Migrating from NativeScript 7 to NativeScript 8 fixed the issue for me. To migrate see the link https://v6.docs.nativescript.org/angular/releases/upgrade-instructions $ tns migrate After migration, when running the app it might say thar zone.js not found. For that the fix is available at: However, a lot of libraries i.e. Apollo is not adaptable with NativeScript 8. Is there any way to make this library compatible with NativeScript 7? |
if you still did not get the issue resolved then follow these instructions - |
Thanks a lot for your precious help @manojkumawat003 !!! It worked for us, you allowed us to make app releases again 👍 🥇 |
its my pleasure.!! |
@manojkumawat003 , Your trick worked!. Thanks. |
I did not have any @master.technology/nativescript folder |
This worked for me, thank you for posting |
This process worked for me, Thanks a lot. |
After do this process i have faced this issue. |
What can i do for that |
I am also faced this same issue |
Manually editing dependencies downloaded into the node_modules folder isn't a great solution. It's not going to work with my CI/CD workflow :( I'm going to keep looking for a work around |
Can someone upload a test project that exhibits this behavior, my tests all work fine so I'm at a loss as to why it is having issues for some of you. |
Acknowledged
*Regards,*
*Thank you for reading this mail, looking forward to hear from you,*
*Selvanathan *
*| Software Developer | Twilight Softwares |*
*| M: +91 - 7010739842 | Skype: Selvanathan!! |*
…On Wed, May 11, 2022 at 2:03 AM Nathanael Anderson ***@***.***> wrote:
Can someone upload a test project that exhibits this behavior, my tests
all work fine so I'm at a loss as to why it is having issues for some of
you.
—
Reply to this email directly, view it on GitHub
<#49 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AV7APA2IM24FKF4I72IEJSLVJLB2VANCNFSM5HHLIPVA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
@NathanaelA here's a repo that reproduces the error, just check out the repo, you can use the latest nativescript cli (currently 8.2.3) and run https://github.com/DanLatimer/nativescript-permissions-error To create this repo I downgraded my nativescript cli to 6.5.1 then created a 6.5.1 application, then followed the instructions here, then upgraded my nativescript cli back to latest and tried to run the app |
It looks like the nativescript-permissions repo contains a single file that require's I was curious what would happen if we had a |
After cleaning and rebuilding my mobile app I'm getting the following error:
Let me know if there are any other details I can provide to help resolve this, thanks!
The text was updated successfully, but these errors were encountered: