mizzao:sharejs-codemirror throwing error in my meteor app - meteor

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

Related

"Type Error: semver is not a constructor" when running new Meteor project?

I was following the "simple-todos" tutorial provided by Meteor but when I came to running the "meteor" command within my newly created project on my Desktop using the "meteor create simple-todos" command in the terminal, it comes up with; Type Error: semver is not a constructor.
I have tried re-installing meteor completing and it comes up with the same error, as well as creating the project within my User directory and not in my desktop.
I cannot move forward with the tutorial as it instructs you to visit localhost:3000, but when I go there, it says cannot load page or similar.
Any help will be greatly appreciated.

VS Code attempting to use internal repository and failing

I am working on a practice application in vs code at the moment and failing at the first hurdle. I am trying to add json configuration with the following command:
dotnet add package Microsoft.Extensions.Configuration.Json
from the terminal within vs code which I have started as an admin. I am getting the error:
error: Unable to load the service index for source <URL to internal nuget repository>.
which is an internal repository that we use in some of our projects for exposing our own packages. So it appears that VS Code is picking up on my package settings and I need to change this so I can target nuget.org. Where do I control this item from so that I can still pick it up in Visual Studio but I don't get it by default when using VS Code?
I have also tried:
dotnet add package Microsoft.Extensions.Configuration.Json -s https://www.nuget.org/
which still errors but with a not found and then referencing the internal repository again.
How do I control VS Code so that it does not attempt the internal repo?
Well the answer seems to be relatively simple. All I neded to do was install
https://marketplace.visualstudio.com/items?itemName=jmrog.vscode-nuget-package-manager
and use the command pallette and it all worked properly. It would be nice to get an explanation of what has happened here if anyone knows.

Adding aldeed:autoform causes error in Meteor 1.4.4.2

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.

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.

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