Adding aldeed:autoform causes error in Meteor 1.4.4.2 - meteor

I created a new app using below command;
meteor create --full test
The link application works fine. But then, I added aldeed:autoform to the project and re-run meteor.
the browser console shows error
Error : There is no route for the path: /
and the entire UI is blank.
NOTE: When I remove the package, the application works fine.

AutoForm 6.0 requires switching your app to using the SimpleSchema package from 'NPM' and aldeed:collection2-core package.
I encountered the same problem as yours, so when I ran command npm install simpl-schema, the error in the console went away.
Note: The aldeed:autoform was also looking for mongo-object which is present in simpl-schema from NPM. For better understanding, follow the below image attached.
Hope this helps.

Related

mizzao:sharejs-codemirror throwing error in my meteor app

I just created a basic project using meteor create CodeCollab. Then I installed the "mizzao:sharejs-codemirror" package using meteor add mizzao:sharejs-codemirror command. The installation works fine without any errors. But when I start the app I get the following error -
I am not able to find a solution for this error. I have not edited any file inside the project. I just created the project, installed package and hit run.
Try running this command
meteor add edemaine:sharejs-codemirror

meteor 1.6 cannot add angular2-compilers

On a fresh install of Meteor 1.6, I am trying to add the angular2-compilers package to a new meteor app i.e.
meteor create v16app
cd v16app
meteor add angular2-compilers
Which fails as follows;
=> Errors while adding packages:
While loading package angular2-compilers#0.6.6:
error: Command failed: C:\WINDOWS\system32\cmd.exe /c
C:\Users\rober\AppData\Local\.meteor\packages\meteor-tool\1.6.0\mt-os.windows.x86_64\dev_bundle\bin\npm.cmd rebuild --update-binary
Cannot download "https://github.com/sass/node-sass/releases/download/v3.8.0/win32-x64-57_binding.node":
HTTP error 404 Not Found
I have only noticed this problem whilst upgrading from 1.5.2.2.
How do I resolve this? Any help appreciated.
We released a new version of the compilers.
Now, like Angular, they are just angular-compilers instead of angular2-compilers.
It now works way better and supports all the nice things from Angular like AOT compilation, Angular Universal and SSR and lazy loading.
Check out a couple of example apps here - https://github.com/Urigo/angular-meteor/tree/master/examples/MeteorCLI

Meteor adding okgrow:accounts-ui-react atmosphere package not working

I am running a Meteor 1.4.2.3 application and everything has been running fine so far. I have been following the Level Up Tutorials and I've come to a point where I want to add user accounts.
In order to do that I'm using the `okgrow:accounts-ui-react' atmosphere package which can be found here.
I've followed all the steps by running the following 3 lines in the console:
> meteor add okgrow:accounts-ui-react
> npm install --save react-komposer classnames
> meteor add accounts-password
Those commands all ran successfully.
Now when I want to start my Meteor application by running meteor in the console I get the following error:
Does anyone know what I could be doing wrong?
Things I have tried that haven't solved it:
Updating all my meteor packages using the meteor update --all-packages command
Deleting the node_modules folder and running 'meteor' again.
The issue here is that React Komposer completely changed their api in the latest version for some reason. There is an outstanding issue regarding this here:
https://github.com/okgrow/accounts-ui-react/issues/4
In the meantime, I'd suggest https://github.com/studiointeract/accounts-ui as development has continued on it again.

Errors prevented startup in meteor JS

I run the following command for camera package.
meteor add mdg:camera
The following issue is getting triggered when I run meteor run in ubuntu terminal.
Errors prevented startup:
While building for web.browser:
error: no plugin found for camera.less in mdg:camera; a plugin for *.less was active when it was published but none is now
=> Your application has errors. Waiting for file change.
My meteor version is 1.4.0.1
Add one of the many available less packages to your application. For example:
meteor add less
remove both less and mdg:camera from package.json
then after meteor as removed and restarted app add
less#2.6.5
mdg:camera#1.4.1
solves the issue
Downgrade to 1.3.2.4
I just had the same problem, started working after downgrade.

Unknown packages after updating meteor: how to resolve

I have installed a new ubuntu machine and imported my meteor app from bitbucket. However when I try running the app the following error occurs:
unknown package: accounts-admin-ui
The meteor version on my new machine is 1.0.4.1. On the old machine it is 1.0.3. On the old machine the app is running perfectly.
I tried the following things
meteor add mrt:accounts-admin-ui
meteor add kenyee:meteor-accounts-admin-ui
I even tried:
meteor remove accounts-admin-ui
Nothing helps so I tried:
mrt migrate-app
Unfortunately, nothing happens after that.
I have the same problem with the package stale-session. The only things that helps is removing the package definitions in the file ./meteor/packages. But this is not the solution I want because my app needs these packages.
How can I solve this issue?

Resources