Comments (29)
I feel like this is a core Meteor issue and likely not anything you are doing... Perhaps time to ping @tmesday or @benjamn?
from accounts-ui.
@queso solved it live just few minutes ago cloning the package repo (this one) directly into the packages
folder of the app.
I tried this way of doing on an app of mine too, no more problems with dependencies! Everything runs fine! That's a way to handle it by now ๐ฏ
from accounts-ui.
I guess we can close then.
from accounts-ui.
@PolGuixe โ I agree! I've just updated to 1.1.19 and latest tracker-component and still seeing the same issue.
from accounts-ui.
Yeah, seems like it works better for me on a clean app installation, anyone want to check out the devel
version I've pushed, you could just clone it into /packages
and checkout devel
to try it out.
from accounts-ui.
@SachaG - perhaps deleting the node_modules, checking the versions at package.json and running npm install again remove any cache problem.
from accounts-ui.
Interesting. Via the console, I see that std_accounts-ui is loading. I have a breakpoint set on line 25148, and execution is halting at that breakpoint:
Line 25148: require("./node_modules/meteor/std:accounts-ui/check-npm.js");
Now here's the odd thing. That line is looking for the package at
./node_modules/meteor/std:accounts-ui
But it isn't installed there. In fact, there is no folder called "meteor" in my node_modules folder. std_accounts-ui is currently installed at
myApp/.meteor/local/build/programs/web.browser/packages/std_accounts-ui.js
How can I install std:accounts-ui in the place where it expects itself to be?
from accounts-ui.
What version of Meteor are you on? So that I can try to reproduce it during the day or this week.
from accounts-ui.
I am getting the same as in #29
You can reproduce it here: https://github.com/Zetoff/trajectory/tree/meteor-and-packages-update
from accounts-ui.
@timbrandin, I am in Meteor 1.3.1.
from accounts-ui.
I'm also having this issue since updating to 1.3.1.
from accounts-ui.
@VikR0001 alright, thx.
from accounts-ui.
In my case is independent from the Meteor version -1.3 or 1.3.1- , but since the std:accounts-ui
was updated to 1.1.14.
std:[email protected] works fine.
from accounts-ui.
Ok, so I'll see with what those two versions differ.
from accounts-ui.
@timbrandin Also experiencing this issue - so I'll be waiting for more informations or even better, a fix!
Thank you!
from accounts-ui.
@timbrandin I don't think that cloning the package to the /packages
folder is a legit solution.
from accounts-ui.
This is difficult to debug it myself since, if I clone the package to /packages
then the error disappears.
Is there any way we can help?
from accounts-ui.
The errors about missing <npm-package>/package.json
files are due to this code checking for packages that are never otherwise imported in this package or the app. When you don't import a package on the client, it doesn't get bundled into your app at allโhence the missing module errors!
You can make those errors go away by putting
import "react";
import "react-dom";
import "tracker-component";
anywhere in your client code. I'm tempted to say std:accounts-ui
shouldn't be checking those packages unless it imports them, but I suppose there may have been a good reason to check.
@tmeasday Perhaps the absence of a package.json
file should be a sign that the package is never used, and therefore its version doesn't matter?
from accounts-ui.
So this issue was partly caused by an error in check-npm-versions
' detection of missing modules on the client (fixed by Meteor-Community-Packages/check-npm-versions@f50c986, @benjamn what do you think about my janky string matching; do you have a better idea?)
If you update to tmeasday:[email protected]
you should see a more informative error message (although maybe it's not that much more useful).
Ultimately though @benjamn is right, the package should import the things it's checking I suspect.
from accounts-ui.
Perhaps the absence of a package.json file should be a sign that the package is never used, and therefore its version doesn't matter?
I'm not sure this makes sense; what if the user has legitimately forgotten to install the npm package? How can we distinguish on the client?
from accounts-ui.
Running into the same issue, I'll downgrade back to 1.1.12 for now.
from accounts-ui.
I'm not sure how to handle this @SachaG, would it work better without tmeasday:check-npm-versions
?
from accounts-ui.
Btw @benjamn I've noticed that if you update a local package in for example another folder, the .meteor/local
built package inside the app doesn't update and get the new node_modules if they where updated, is that a bug with meteor?
from accounts-ui.
@timbrandin I guess? I'm not super clear on what's causing the issue but we can probably not use that package for now?
from accounts-ui.
Release 1.1.20 seems to be working fine.
Great job!
from accounts-ui.
Awesome. I'll close this then.
from accounts-ui.
Has this issue actually been fixed? I was using 1.2.6 and just ran into it again.
from accounts-ui.
I came across this issue and benjamn's solution seems to have solved the problem for me.
from accounts-ui.
I am still hitting this issue. @benjamn importing tracker-component
into my ui code doesn't seem to help :(
from accounts-ui.
Related Issues (20)
- App crashes after adding accounts-ui (forget to call 'Npm.depends') HOT 1
- Login with Facebook - 'Something went wrong' HOT 1
- How to change label
- Accounts.ui.LoginForm without createContainer HOT 4
- Support for React Router v4? HOT 9
- referencing this when it is already the window object in SignUp HOT 1
- Uncaught Error: _registerComponent(...): Target container is not a DOM element. HOT 1
- Sign out? HOT 4
- TypeError: onSubmitHook is not a function HOT 2
- Not seeing any error messages on failed login
- Typo breaking requestPermissions in Accounts.ui.config (1.2.23) HOT 1
- withTracker instead of createContainer on LoginForm.jsx (React16.0 support) HOT 5
- Does this actually work at all with react-router 4? HOT 5
- the constant has a wrong name HOT 1
- Call to `withTracker` is incorrect HOT 2
- Component not rendered & Error with Meteor 1.6 HOT 22
- Replace all UI dependencies with custom field components HOT 1
- Extra fields is not work
- Still maintained? HOT 4
- Conflict issue with [email protected] HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from accounts-ui.