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
Related
I am running a gatsby project with tailwind css with version of tailwind 2.0.2.
But while running the project i am getting a package error "Package subpath './lib/node' is not defined by "exports"
How to solve this issue?
Thank you
Possibly there is a version mismatch between the tailwindcss package and the #tailwindcss/node package.
It seems that the version of tailwindcss package that you're using is 2.0.2 and this version is not compatible with the #tailwindcss/node package,
Try to update these package using
npm install tailwindcss#latest
and also update your gatsby-plugin-tailwindcss
And then delete node modules folder and package-lock.json and then run npm install again.
Hope it helps!
I'm running Airflow 1.10.6 on Google Cloud Composer with Python 3. To initiate a dataflow job from the composer environment I need to have the PyPi package google-cloud-datastore. When I try to add this package through either the interface or cloud shell, the build fails. It raises the following error:
UPDATE operation on this environment failed 1 hour ago with the following error message:
Failed to install PyPI packages.
If I check the logs of Google Build for the Kubernetes Engine I see the following error:
I 2020-03-04T14:36:23.939075607Z [0mgoogle-cloud-datastore 1.11.0 has requirement google-cloud-core<2.0dev,>=1.0.3, but you have google-cloud-core 0.29.1.
I 2020-03-04T14:36:23.939669242Z google-cloud-datastore 1.11.0 has requirement google-api-core[grpc]<2.0.0dev,>=1.14.0, but you have google-api-core 1.8.1.
So google-cloud-datastore requires google-cloud-core>=1.0.3. I tried to explicitly set google-cloud-core to 1.0.3, but then I get the following error:
I 2020-03-05T08:13:18.539300693Z [0mgoogle-cloud-logging 1.9.1 has requirement google-cloud-core<0.30dev,>=0.29.0, but you have google-cloud-core 1.0.3.
I 2020-03-05T08:13:18.539878367Z google-cloud-bigtable 0.32.0 has requirement google-cloud-core<0.30dev,>=0.29.0, but you have google-cloud-core 1.0.3.
I 2020-03-05T08:13:18.540308937Z google-cloud-bigquery 1.8.1 has requirement google-cloud-core<0.30dev,>=0.29.0, but you have google-cloud-core 1.0.3.
So the ranges of versions required for the packages are not overlapping. Does anyone know if this can be fixed? Please let me know.
There is a compatibility issue with google-cloud-datastore in the main container of Composer, and that the latest version of this package could not be installed. The Composer product team has confirmed the issue and is working on it.
Attempting to install an older version of google-cloud-datastore may be a workaround before the root cause is fixed. I have tried with 1.7.4 version and got positive result:
I hope it helps.
In case you (or someone else reading this) needs to use the latest version of google-cloud-datastore (==1.11.0), I was able to install it in my environment (composer-1.9.1-airflow-1.10.6) by adding recent versions of the following libraries to the dependencies too:
googleapis-common-protos==1.6.0
google-cloud-spanner==1.14.0
google-cloud-bigtable==1.2.1
google-cloud-logging==1.14.0
google-cloud-bigquery==1.22
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.
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