meteor / meteor

Meteor, the JavaScript App Platform
https://meteor.com
Other
44.32k stars 5.17k forks source link

Error upgrading from 1.2.1 to 1.3 #6696

Closed henyana closed 8 years ago

henyana commented 8 years ago

What's wrong with the upgrade? Can anyone help me?

0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Users\\hendra\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.0_3\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe',
1 verbose cli   'C:\\Users\\hendra\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.0_3\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '--save',
1 verbose cli   'material-ui',
1 verbose cli   '_process' ]
2 info using npm@2.14.22
3 info using node@v0.10.43
4 verbose install initial load of \CodeDevelopment\trunk\standalone\package.json
5 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\bowser\package.json
6 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\drivelist\package.json
7 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\fbjs\package.json
8 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\hoist-non-react-statics\package.json
9 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\inline-style-prefix-all\package.json
10 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\inline-style-prefixer\package.json
11 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\js-tokens\package.json
12 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\keycode\package.json
13 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash\package.json
14 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._arraycopy\package.json
15 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._arrayeach\package.json
16 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._baseclone\package.json
17 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._basecopy\package.json
18 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._basefor\package.json
19 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._bindcallback\package.json
20 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._createassigner\package.json
21 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._getnative\package.json
22 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._isiterateecall\package.json
23 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash._stack\package.json
24 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.debounce\package.json
25 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.flowright\package.json
26 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.isarguments\package.json
27 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.isarray\package.json
28 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.isplainobject\package.json
29 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.istypedarray\package.json
30 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.keys\package.json
31 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.keysin\package.json
32 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.merge\package.json
33 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.rest\package.json
34 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.restparam\package.json
35 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.throttle\package.json
36 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\lodash.toplainobject\package.json
37 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\loose-envify\package.json
38 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\macaddress\package.json
39 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\material-ui\package.json
40 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\process\package.json
41 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react\package.json
42 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-create-fragment\package.json
43 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-css-transition-group\package.json
44 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-linked-state-mixin\package.json
45 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-perf\package.json
46 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-pure-render-mixin\package.json
47 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-test-utils\package.json
48 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-transition-group\package.json
49 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-addons-update\package.json
50 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-dom\package.json
51 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-event-listener\package.json
52 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\react-tap-event-plugin\package.json
53 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\recompose\package.json
54 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\serial-number\package.json
55 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\simple-assign\package.json
56 verbose installManyTop reading scoped package data from \CodeDevelopment\trunk\standalone\node_modules\warning\package.json
57 info package.json hoist-non-react-statics@1.0.5 No license field.
58 info package.json react-tap-event-plugin@0.2.2 No license field.
59 verbose readDependencies loading dependencies from \CodeDevelopment\trunk\standalone\package.json
60 verbose install material-ui is installed as 0.15.0-alpha.2
61 silly cache add args [ 'material-ui', null ]
62 verbose cache add spec material-ui
63 silly cache add args [ '_process', null ]
64 verbose cache add spec _process
65 silly cache add parsed spec { raw: 'material-ui',
65 silly cache add   scope: null,
65 silly cache add   name: 'material-ui',
65 silly cache add   rawSpec: '',
65 silly cache add   spec: 'latest',
65 silly cache add   type: 'tag' }
66 silly addNamed material-ui@latest
67 verbose addNamed "latest" is being treated as a dist-tag for material-ui
68 info addNameTag [ 'material-ui', 'latest' ]
69 silly mapToRegistry name material-ui
70 silly mapToRegistry using default registry
71 silly mapToRegistry registry https://registry.npmjs.org/
72 silly mapToRegistry uri https://registry.npmjs.org/material-ui
73 verbose addNameTag registry:https://registry.npmjs.org/material-ui not in flight; fetching
74 silly cache add parsed spec { raw: '_process',
74 silly cache add   scope: null,
74 silly cache add   name: null,
74 silly cache add   rawSpec: '_process',
74 silly cache add   spec: 'F:\\hendra\\10.WORKSPACE\\112.KUNCHY\\002-CBT\\CodeDevelopment\\trunk\\standalone\\_process',
74 silly cache add   type: 'local' }
75 error addLocal Could not install \CodeDevelopment\trunk\standalone\_process
76 verbose request uri https://registry.npmjs.org/material-ui
77 verbose request no auth needed
78 info attempt registry request try #1 at 17:50:15
79 verbose request id fd915a89d0dba1c6
80 verbose etag "6I5YE34RRVY8UJ0P0IX3VYCZM"
81 http request GET https://registry.npmjs.org/material-ui
82 http 304 https://registry.npmjs.org/material-ui
83 verbose headers { date: 'Mon, 04 Apr 2016 10:50:17 GMT',
83 verbose headers   via: '1.1 varnish',
83 verbose headers   'cache-control': 'max-age=300',
83 verbose headers   etag: '"6I5YE34RRVY8UJ0P0IX3VYCZM"',
83 verbose headers   age: '0',
83 verbose headers   connection: 'keep-alive',
83 verbose headers   'x-served-by': 'cache-hkg6824-HKG',
83 verbose headers   'x-cache': 'HIT',
83 verbose headers   'x-cache-hits': '1',
83 verbose headers   'x-timer': 'S1459767017.981683,VS0,VE218',
83 verbose headers   vary: 'Accept' }
84 silly get cb [ 304,
84 silly get   { date: 'Mon, 04 Apr 2016 10:50:17 GMT',
84 silly get     via: '1.1 varnish',
84 silly get     'cache-control': 'max-age=300',
84 silly get     etag: '"6I5YE34RRVY8UJ0P0IX3VYCZM"',
84 silly get     age: '0',
84 silly get     connection: 'keep-alive',
84 silly get     'x-served-by': 'cache-hkg6824-HKG',
84 silly get     'x-cache': 'HIT',
84 silly get     'x-cache-hits': '1',
84 silly get     'x-timer': 'S1459767017.981683,VS0,VE218',
84 silly get     vary: 'Accept' } ]
85 verbose etag https://registry.npmjs.org/material-ui from cache
86 verbose get saving material-ui to C:\Users\hendra\AppData\Roaming\npm-cache\registry.npmjs.org\material-ui\.cache.json
87 verbose correctMkdir C:\Users\hendra\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
88 silly addNameTag next cb for material-ui with tag latest
89 silly addNamed material-ui@0.15.0-alpha.2
90 verbose addNamed "0.15.0-alpha.2" is a plain semver version for material-ui
91 silly cache afterAdd material-ui@0.15.0-alpha.2
92 verbose afterAdd C:\Users\hendra\AppData\Roaming\npm-cache\material-ui\0.15.0-alpha.2\package\package.json not in flight; writing
93 verbose correctMkdir C:\Users\hendra\AppData\Roaming\npm-cache correctMkdir not in flight; initializing
94 verbose afterAdd C:\Users\hendra\AppData\Roaming\npm-cache\material-ui\0.15.0-alpha.2\package\package.json written
95 verbose stack Error: ENOENT, open '\CodeDevelopment\trunk\standalone\_process'
96 verbose cwd \CodeDevelopment\trunk\standalone
97 error Windows_NT 10.0.10586
98 error argv "C:\\Users\\hendra\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.0_3\\mt-os.windows.x86_32\\dev_bundle\\bin\\\\node.exe" "C:\\Users\\hendra\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.3.0_3\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js" "install" "--save" "material-ui" "_process"
99 error node v0.10.43
100 error npm  v2.14.22
101 error path \CodeDevelopment\trunk\standalone\_process
102 error code ENOENT
103 error errno 34
104 error enoent ENOENT, open '\CodeDevelopment\trunk\standalone\_process'
104 error enoent This is most likely not a problem with npm itself
104 error enoent and is related to npm not being able to find a file.
105 verbose exit [ 34, true ]
benjamn commented 8 years ago

You shouldn't need to npm install _process. See https://github.com/meteor/meteor/issues/6601. Sorry about the noisy warning!

henyana commented 8 years ago

Hi @benjamn, thank you fo the reply. I have other messages when running "meteor run"

> meteor run --port 3003 --settings environments/local.settings.json
=> Started proxy.
=> Started MongoDB.

Unable to resolve some modules:

  "material-ui/lib/menus/menu-divider" in /C/Users/hendra/AppData/Local/.meteor/packages/izzilab_material-ui/0.2.6/web.browser/mui.browserify.js
(web.browser)
  "_process" in
/C/Users/hendra/AppData/Local/.meteor/packages/izzilab_material-ui/0.2.6/web.browser/mui.browserify.js
(web.browser)

Consider running: meteor npm install --save material-ui _process

Unable to resolve some modules:

  "_process" in /C/Users/hendra/AppData/Local/.meteor/packages/izzilab_material-ui/0.2.6/os/mui.browserify.js
(os.windows.x86_32)

Consider running: meteor npm install --save _process

Open in my browser. Your app is crashing. Here's the latest log:

C:\Users\hendra\AppData\Local\.meteor\packages\meteor-tool\1.3.0_3\mt-os.windows.x86_32\dev_bundle\server-lib\node_modules\fibers\future.js:245
                        throw(ex);
                              ^
TypeError: undefined is not a function
    at Object.<anonymous> (node_modules/material-ui/lib/app-bar.js:9:1)
    at Object../icon-button (node_modules/material-ui/lib/app-bar.js:370:1)
    at s (../../../cosmos_browserify/0.10.0/plugin.CosmosBrowserify.os/npm/node_modules/meteor/CosmosBrowserify/CosmosBrowserify/node_modules/browserify/node_modules/browser-pack/_prelude.js:1:1)
    at ../../../cosmos_browserify/0.10.0/plugin.CosmosBrowserify.os/npm/node_modules/meteor/CosmosBrowserify/CosmosBrowserify/node_modules/browserify/node_modules/browser-pack/_prelude.js:1:1
    at Object../TextField (node_modules/material-ui/lib/index.js:8:1)
    at s (../../../cosmos_browserify/0.10.0/plugin.CosmosBrowserify.os/npm/node_modules/meteor/CosmosBrowserify/CosmosBrowserify/node_modules/browserify/node_modules/browser-pack/_prelude.js:1:1)
    at ../../../cosmos_browserify/0.10.0/plugin.CosmosBrowserify.os/npm/node_modules/meteor/CosmosBrowserify/CosmosBrowserify/node_modules/browserify/node_modules/browser-pack/_prelude.js:1:1
    at Object.<anonymous> (_stream_0.js:6:1)
    at Object.material-ui (_stream_0.js:12:1)
    at s (../../../cosmos_browserify/0.10.0/plugin.CosmosBrowserify.os/npm/node_modules/meteor/CosmosBrowserify/CosmosBrowserify/node_modules/browserify/node_modules/browser-pack/_prelude.js:1:1)
Exited with code: 8
Your application is crashing. Waiting for file change.

Below is my packages:

# 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

react
kadira:flow-router
kadira:react-layout
zimme:active-route
fortawesome:fontawesome
accounts-password
fourseven:scss
reywood:bootstrap3-sass
natestrauser:animate-css
momentjs:moment
ixdi:material-design-iconic-font
izzilab:material-ui
tmeasday:publish-counts
matb33:collection-hooks
aldeed:collection2
fongandrew:find-and-modify
meteorhacks:npm
altapp:aes
npm-container
nimble:restivus
http
standard-minifier-css
standard-minifier-js
cosmos:browserify

And this is the packages:

accounts-base@1.2.4
accounts-password@1.1.6
aldeed:collection2@2.9.1
aldeed:collection2-core@1.1.1
aldeed:schema-deny@1.0.1
aldeed:schema-index@1.0.1
aldeed:simple-schema@1.5.3
allow-deny@1.0.2
altapp:aes@1.2.0
autoupdate@1.2.6
babel-compiler@6.5.2
babel-runtime@0.1.6
base64@1.0.6
binary-heap@1.0.6
blaze@2.1.5
blaze-html-templates@1.0.2
blaze-tools@1.0.6
boilerplate-generator@1.0.6
caching-compiler@1.0.2
caching-html-compiler@1.0.4
callback-hook@1.0.6
check@1.1.2
coffeescript@1.0.15
cosmos:browserify@0.10.0
ddp@1.2.3
ddp-client@1.2.3
ddp-common@1.2.3
ddp-rate-limiter@1.0.2
ddp-server@1.2.4
deps@1.0.10
diff-sequence@1.0.3
ecmascript@0.4.1
ecmascript-runtime@0.2.8
ejson@1.0.9
email@1.0.10
es5-shim@4.5.8
fastclick@1.0.9
fongandrew:find-and-modify@0.2.2
fortawesome:fontawesome@4.5.0
fourseven:scss@3.4.1
geojson-utils@1.0.6
hot-code-push@1.0.2
html-tools@1.0.7
htmljs@1.0.7
http@1.1.3
id-map@1.0.5
ixdi:material-design-iconic-font@2.1.5
izzilab:material-ui@0.2.6
jquery@1.11.6
kadira:flow-router@2.11.0
kadira:react-layout@1.5.3
launch-screen@1.0.8
livedata@1.0.16
localstorage@1.0.7
logging@1.0.10
matb33:collection-hooks@0.8.1
mdg:validation-error@0.5.1
meteor@1.1.12
meteor-base@1.0.2
meteorhacks:async@1.0.0
meteorhacks:npm@1.5.0
minifier-css@1.1.9
minifier-js@1.1.9
minimongo@1.0.12
mobile-experience@1.0.2
mobile-status-bar@1.0.10
modules@0.5.1
modules-runtime@0.6.1
momentjs:moment@2.12.0
mongo@1.1.5
mongo-id@1.0.2
natestrauser:animate-css@3.5.1
nimble:restivus@0.8.10
npm-bcrypt@0.7.8_2
npm-container@1.2.0
npm-mongo@1.4.41
observe-sequence@1.0.9
ordered-dict@1.0.5
promise@0.6.5
raix:eventemitter@0.1.3
random@1.0.7
rate-limit@1.0.2
react@0.14.6
react-meteor-data@0.2.7
react-runtime@0.14.5
reactive-dict@1.1.5
reactive-var@1.0.7
reload@1.1.6
retry@1.0.5
reywood:bootstrap3-sass@3.3.5_2
routepolicy@1.0.8
service-configuration@1.0.7
session@1.1.3
sha@1.0.5
simple:json-routes@2.1.0
spacebars@1.0.9
spacebars-compiler@1.0.9
srp@1.0.6
standard-minifier-css@1.0.4
standard-minifier-js@1.0.4
templating@1.1.7
templating-tools@1.0.2
tmeasday:check-npm-versions@0.2.0
tmeasday:publish-counts@0.7.3
tracker@1.0.11
ui@1.0.9
underscore@1.0.6
url@1.0.7
webapp@1.2.6
webapp-hashing@1.0.7
zimme:active-route@2.3.2

Do you have any idea on how to resolve it?

abernix commented 8 years ago

@henyana, if you're still experiencing this problem, please make sure you're trying with the latest stable version of Meteor (1.3.2.4) and report back here if it's still an issue. Closing for now, but happy to reopen!