Meteor App: ReferenceError: Package is not defined - meteor

I am trying to run an app from SmoochDesk but I am getting this error.
Any advice on where to go from here?
Thanks!

Solved the issue by downgrading the meteor to 1.6
meteor update --release 1.6

Related

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

Can't run meteor 1.2 in macbook 2016

When I run the meteor command I get the following error:
this happens after it tries to Downloading meteor-tool#1.1.11-faster... then crashes.
What can I do to fix this?
Thanks!
For those having similar issues I solved it by installing nvm and using node version 0.10.40 and then running meteor inside the project and it worked.
EDIT
I was having issues with 1.3 as well after doing this so I did the following to get it running:
I was able to get it running by doing https://install.meteor.com/?release=1.3.2.4 | sh and now everything seems to work even the 1.2 and 1.3, haven't tested 1.4 yet but hopefully it works.

Error occurs when updating to meteor1.4

My current version is 1.3.5, and I tried to update my meteor to 1.4.
However it stop in line: fourseven:scss 3.8.0 1.
I think I install meteor 1.4 successfully.(i'm not good at English...)
Try to reinstall and be sure to have proper internet connection

angular-meteor not working with Meteor 1.3 update - 'uncaughtobject'

I have just updated the meteor application to Meteor 1.3 but now app is not working and an error is showing 'Uncaught Object'
I tried re installing angular meteor and its not working
Have you tried the latest angular-meteor 1.3.9_2 version?

How to upgrade a meteor app from 0.9.4 to 1.0.0?

Meteor example app, microscope has version 0.9.4, when I try use meteor run command to launch application .
There have a print:
Sorry, this project uses Meteor METEOR#0.9.4, which is not installed and
could not be downloaded. Please check to make sure that you are online.
I am behind a proxy in corporate.
When I install the Meteor, only latest 1.0.0 can be installed.
How can I do?
Upgrade the app to 1.0.0, and how?
Downgrade the meteor to 0.9.4, and how?
I tried use meteor update --release 0.9.4, not work or using meteor update, other error pop up:
/home/hunter/.meteor/packages/meteor-tool/.1.0.35.hgbesu++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/lib/node_modules/fibers/future.js:206
throw(ex);
..
Error: tunneling socket could not be established, cause=socket hang up
at Object.Future.wait (/home/hunter/.meteor/packages/meteor-tool/.1.0.35.hgbesu++os.linux.x86_32+web.browser+web.cordova/meteor-tool-os.linux.x86_32/dev_bundle/lib/node_modules/fibers/future.js:326:15)
at _.extend._createSocket (packages/ddp/stream_client_nodejs.js:265)
at _.extend._launchConnection (packages/ddp/stream_client_nodejs.js:142)
at new LivedataTest.ClientStream (packages/ddp/stream_client_nodejs.js:28)
at new Connection (packages/ddp/livedata_connection.js:52)
at Object.DDP.connect (packages/ddp/livedata_connection.js:1581)
This should proxy issue.
No document there after search.
I was able to successfully update a project from 0.9.3.1 to 1.1 with:
meteor update
Using meteor run like this:
meteor run --release
…won’t upgrade your meteor installation, but will download the --release and run the current app with it.
I had similar issue after updating meteor to 1.4.1. I happened to fix it with this help Github Issue
Reset your app
meteor reset
Install npm with meteor again
meteor npm install
Rebuild npm (Optional)
meteor npm rebuild
This is a bit late and slightly different: I have a similar problem when I upgraded from 1.0.3.1 to 1.0.3.2. After reading the answers here, and here, I tried the following which worked for me:
meteor update --release <new version>
replacing <new version> with the latest version you're running. This updated my project, and subsequent runs using meteor works as expected.
I was to update by change the file .meteor/release to meteor 1.0. I had packages issues, I also noticed that iron router inner actions changed (I fixed this by fixing the files load order) and on Meteor 1.0 you’ve a package for everything.
Try to add the package meteor-platform, it’s a meta package that contains the most used packages.
I also had issue with some atmosphere packages, it’s a tough job to upgrade it.

Resources