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
Related
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.
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.
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.
I've installed a fresh copy of Meteor and my application. I am now running version Meteor 0.9.3.1.
I expected the nodejs modules to install when I started my app but nothing appeared to happen. As a result when trying to invoke methods that use these node modules:
TypeError: Object #<Object> has no method 'npmRequire'
For example the graphics lib is being invoked like so:
var gm = Meteor.npmRequire('gm');
I also have the meteorhacks:npm module installed.
I can't see anything I'm doing wrong. Here's my packages.json file:
{
"gm" :"1.16.0",
"mkdirp" :"0.5.0"
}
Anyone got any idea on this?
Thank you
I'm not sure what the problem was, but I did a fresh install and installed meteorhacks:npm first then ran my app. The node modules installed at that point. All working now :)
I am working on a meteor project. Have to use natural package for natural language facility. I installed that using 'npm install natural'. But when ran the project, got error as 'ReferenceError: require is not defined'.
Added this line: var abc=Meteor.require('natural'); in the file in which have to use it. But when I am running the project, it is showing error as:=> Started proxy.
=> Meteor 0.8.1.3 is available. Update this project with 'meteor update'.
=> Started MongoDB.
=> Errors prevented startup:
While building package `router`:
error: no such package: 'page-js-ie-support'
error: no such package: 'HTML5-History-API'
-- When tried to install the above listed missing packages, showing error as:
smart.json changed.. installing from smart.json, I got the following error after successfully installing various packages like natural, iron-router, paginated-subscription, router, accounts-ui-bootstrap-dropdown, spin. But after that showing following error. Why so?
/usr/local/lib/node_modules/meteorite/lib/dependencies/package.js:106
throw('Could not locate package.js within path ' + self.source.packagePa
^
Could not locate package.js within path /home/priya/.meteorite/packages/natural/NaturalNode/natural/d541ca394659521498ed36a7f6e03fef93163e53
-- The packages in my project are: I don't understand here as router package is already listed then why showing error while running the project.??
meteor list --using
standard-app-packages
bootstrap
router
accounts-ui-bootstrap-dropdown
accounts-password
spin
paginated-subscription
email
insecure
iron-router
npm
Please guide me in this direction. This error is becoming a recursive kind of error. Have broke my head in this problem but still stuck. Thanks in advance
You have a package called Natural (not sure which) which isn't built to the correct packages specifications or has been modified somehow.
This can't be fixed that easily, you would have to contact the author of the package to fix it or modify it yourself. I can't find NaturalNode on atmosphere so its likely a custom package.
You might want to make the rest of your app work to debug fixing it though. To do that you need to remove this package
Remove the files and folders in ~/.meteorite/packages
Look through your packages smart.json and remove the offending package (natural). and run mrt update. And remove the rest of the code in your app relating to natural that might stop your app booting up.
From what it looks like you've cloned https://github.com/NaturalNode/natural into meteorite somehow. You would have to look at how to build a package for meteor.
The files you have used are an npm module and don't just work with meteor if you copy the files in. You have to make a compatible meteorite package for it to work. Or use meteor-npm to use the npm module in your app directly.
This project may also help you get started as an example of how to make a wrapper for an npm module to use with meteor