Unable to build and run appliction on windows


#1

I am unable to build an meteor app from cmd in windows platform. The errors i am getting are listed below:

Image Link

Any help will be greatly appreciated.


#2

Which Meteor version are you using?
What is the content of your .meteor/packages file?


#3

The application is an old application on meteor 1.2.1 and i have downloaded and installed latest package from meteor website on my windows platform.

See Image

And the content of my .meteor/packages file is

Meteor packages used by this project, one per line.

Check this file (and the other files in this directory) into your repository.

‘meteor add’ and ‘meteor remove’ will edit this file for you,

but you can also edit it by hand.

meteor-base # Packages every Meteor app needs to have
mobile-experience # Packages for a great mobile UX
mongo # The database Meteor supports right now
blaze-html-templates # Compile .html files into Meteor Blaze views
session # Client-side reactive dictionary for your app
jquery # Helpful client-side library
tracker # Meteor’s client-side reactive programming library
es5-shim # ECMAScript 5 compatibility for older browsers.
ecmascript # Enable ECMAScript2015+ syntax in app code

semantic:ui
momentjs:moment
underscore
accounts-password
anti:fake
random
peerlibrary:async
cosmos:browserify
tmeasday:publish-counts
service-configuration
accounts-ui
accounts-facebook
jagi:astronomy
jagi:astronomy-validators
jagi:astronomy-slug-behavior
jagi:astronomy-timestamp-behavior
themeteorchef:bert
meteorhacks:async
kadira:flow-router
slam310:smooth-scroll
underscorestring:underscore.string
yogiben:pretty-email
kadira:react-layout
meteorhacks:npm
flemay:less-autoprefixer
seba:minifiers-autoprefixer
fourseven:scss
tomwasd:flow-router-seo
meteorhacks:aggregate
jsx
react-meteor-data
react-runtime@=0.14.3
react-template-helper@=0.2.4
jparker:gravatar
edgee:slingshot
blueimp:javascript-load-image
dpid:user-presence
rexzh0u:bxslider
czbaker:lightbox2
email
http
froatsnook:request
lepozepo:s3
aldeed:geocoder
ovcharik:alertifyjs
rzymek:tinymce-cdn
reywood:publish-composite
meteorhacks:kadira
kadira:debug

npm-container


#4

Do you have data saved in mongo you need to keep? If no, and you are getting dep errors like you have I do a meteor rebuild.


#5

I have mongodb json files but i think i can import them once my application is running.


#6

Give it a meteor rebuild then. I did last week and it solved a dep issue.

It may update your version if you built the app some time back.


#7

Rebuild also throws lots of errors ,see image


#8

rename your .meteor folder to old.meteor

Then run a rebuild

If this works confirm then head here and :+1::

If you want a meteor clean cmd. I think that would be a great addition to meteor.


#9

It throws an error “you’re not in a Meteor project directory”.


#10

in looking back at your error thrown, why is your .meteor folder in /Local/ ?

It should be in something like /appname/.meteor

Create a new project. Run it. Does it run?


#11

The new project which i have created using command “meteor create myapp” is working good.But the project i have downloaded from client and trying to configure on my local system is not working.Here is the folder structure http://pasteboard.co/n2FfaIoNu.png. In addition .meteor folder in /Local/ is by default when is installed meteor and i too have a .meteor folder in my application.


#12

Solved this problem.My akismet keys are defined in settings.json and this setting file is used in the application.Instead of using Meteor.settings.akismet.key now i am directly using the key to solve this problem.But still i want to know why i am not able to read my settings.json.