I want to use this package
I ran mrt add bootstrap3-datetimepicker in my Meteor project.
Next I run mrt install moment and mrt update moment as the instructions tells me.
When I now do mrt run I get the following error:
=> Errors prevented startup:
While building the application:
error: no such package: 'moment'
Why am I getting this?
And if I type mrt add moment I get this:
/usr/local/lib/node_modules/meteorite/lib/meteor.js:154
throw "Error running a command: " + error;
^
Error running a command: Error: Command failed: => Errors while scanning packages:
While building package `bootstrap3-datetimepicker`:
error: no such package: 'moment'
For anyone coming across this issue now, moment.js officially supports Meteor:
meteor add momentjs:moment
ref
Related
I used to use Julia in Jupyter notebook. I uninstalled yesterday the .julia directory because of other issues and after Pkg.add(IJulia) Im getting a building error related to ZMQ. the full error is below.
julia> Pkg.build("ZMQ")
INFO: Building Homebrew
Already up-to-date.
INFO: Building ZMQ
Warning: staticfloat/juliatranslated/zeromq32-3.2.5 already installed, it's just not linked.
Error: Formulae found in multiple taps:
* staticfloat/juliadeps/zeromq32
* staticfloat/juliatranslated/zeromq32
Please use the fully-qualified name e.g. staticfloat/juliadeps/zeromq32 to refer the formula.
=================================[ ERROR: ZMQ ]=================================
LoadError: failed process: Process(`/Users/pacagal/.julia/v0.5/Homebrew/deps/usr/bin/brew link staticfloat/juliatranslated/zeromq32 --force`, ProcessExited(1)) [1]
while loading /Users/pacagal/.julia/v0.5/ZMQ/deps/build.jl, in expression starting on line 35
================================================================================
================================[ BUILD ERRORS ]================================
WARNING: ZMQ had build errors.
- packages with build errors remain installed in /Users/pacagal/.julia/v0.5
- build the package(s) and all dependencies with `Pkg.build("ZMQ")`
- build a single package by running its `deps/build.jl` script
================================================================================
I have also run the build.jl file but I am getting an error too.
I was having the same issue this morning. In the terminal I ran brew install zmq and that resolved the issue.
I still had to run julia>Pkg.build("Nettle") after installing zmq and after that IJulia is running fine.
I had no errors before the last update about an hour ago. The update I made had the following changes:
Changes to your project's package version selections from updating package versions:
babel-runtime upgraded from 0.1.12 to 0.1.13
fourseven:scss upgraded from 3.10.0 to 3.10.1
materialize:materialize upgraded from 0.97.7 to 0.97.8
the current version of meteor is 1.4.2
after the update I get the following errors:
Uncaught Error: Scss compiler error: Undefined variable: "$medium-and-down"
Uncaught TypeError: Cannot read property 'Materialize' of undefined
ReferenceError: meteorInstall is not defined
this was after updating to materialize version 0.97.8
even after downgrading to version 0.97.7, I still get the same error.
Any help is appreciated. I have created this issue here.
Thanks again.
I've just resolved the same issue with this:
meteor remove materialize:materialize
meteor add materialize:materialize#=0.97.0
see https://stackoverflow.com/a/32609708/3863932
rm -rf node_modules
npm install
After Installation of meteor and creation of meteor project I run the following command:
sudo meteor add azimuth-views-foundation
I get the following error, please suggest what am I missing:
=> Errors while parsing arguments:
While adding package azimuth-views-foundation: error: no such package
If you take a look into this search on Atmosphere Azimuth, there is not such package named azimuth-views-foundation
Try with meteor add mcrider:azimuth-views-foundation instead.
I tried to upgrade my meteor app from 0.8something to 0.9.1.1 and now
Could not resolve the specified constraints for this project: Error:
conflict: blaze#1.0.0 vs 2.0.0
I'm not sure how to proceed. I try to run meteor list and meteor remove but no matter what meteor command I run I get this error.
The steps I did were
run meteor update
updated to Meteor 0.9.1.1.
run mrt migrate-app
got some errors
Error: The version 1.2.11 of package roles has not yet been migrated
Error: The version 1.2.0 of package accounts-meld has not yet been
migrated Error: The version 2.4.13 of package kadira has not yet been
migrated Error: The version 0.4.8 of package analytics has not yet
been migrated Error: The version 2.1.0.2 of package momentjs has not
yet been migrated Error: The version 1.0.2 of package subs-manager has
not yet been migrated
If you want to continue, remove the package(s) from smart.json, run
`mrt install`, and try again. After you have successfully migrated,
you can add them back but note: You will NOT receive further
updates!. See https://hackpad.com/Migrating-Apps-UfPrM192vSQ for more
information.
removed those packages from smart.json and ran mrt install. no errors
reran mrt migrate-app. This time no errors.
But now I can't do anything as I always get the error
meteor list
Figuring out the best package versions to use. This may take a moment.
Refreshing package metadata. This may take a moment.
Could not resolve the specified constraints for this project:
Error: conflict: blaze#1.0.0 vs 2.0.0
Please help troubleshoot. Thanks.
as I figured out here, perhaps you should try out:
remove all packages, update, add them all back, without the version suffix... pretty easy to do now that they are all single lines in the .meteor/packages file:
sed -e 's/^[a-zA-Z0-9]/meteor remove &/' .meteor/packages | sed 's/\#[0-9\.]*//g' > packages-rm.sh
sed -e 's/ remove / add /' packages-rm.sh > packages-add.sh
bash packages-rm.sh
meteor list # should be empty
meteor update
bash packages-add.sh
meteor list
Today only i updated the meteor version to 0.9.1 but i am not able to install iron-router to my new project created by using the command
meteor add iron:router
the error i get is:
downloading iron:dynamic-template at version 0.3.0 ...
/root/.meteor/packages/meteor-tool/.1.0.26.13pjtg1++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);
^
[Offline: Error: SELF_SIGNED_CERT_IN_CHAIN]
i also tried to revise my meteor back to older version to 0.8.3 and used mrt then also can't able to install iron-router. Please tell me how to install iron-router for meteor version 0.9.1.
This is possibly due to broken pipe in connection. I was getting similar errors. Try closing the terminal window and run the update again and should run smoothly. Even if you get errors just try to run 2-3 times till all the packages are downloaded and updated.