Closed ManuelDeLeon closed 8 years ago
They should work out of the box. Can you paste your full deployment log?
Command: bash .config/azure/deploy.sh
meteor-azure: Installing Meteor
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 140M 0 879k 0 0 865k 0 0:02:46 0:00:01 0:02:45 865k
4 140M 4 6351k 0 0 3150k 0 0:00:45 0:00:02 0:00:43 5472k
8 140M 8 11.7M 0 0 3983k 0 0:00:36 0:00:03 0:00:33 5568k
13 140M 13 18.3M 0 0 4673k 0 0:00:30 0:00:04 0:00:26 5962k
17 140M 17 24.0M 0 0 4905k 0 0:00:29 0:00:05 0:00:24 5932k
21 140M 21 29.6M 0 0 5045k 0 0:00:28 0:00:06 0:00:22 5894k
25 140M 25 35.6M 0 0 5197k 0 0:00:27 0:00:07 0:00:20 6022k
29 140M 29 42.0M 0 0 5377k 0 0:00:26 0:00:08 0:00:18 6217k
34 140M 34 48.0M 0 0 5456k 0 0:00:26 0:00:09 0:00:17 6086k
38 140M 38 54.0M 0 0 5522k 0 0:00:26 0:00:10 0:00:16 6140k
42 140M 42 59.6M 0 0 5540k 0 0:00:26 0:00:11 0:00:15 6137k
46 140M 46 65.3M 0 0 5569k 0 0:00:25 0:00:12 0:00:13 6092k
50 140M 50 71.2M 0 0 5609k 0 0:00:25 0:00:13 0:00:12 5980k
54 140M 54 76.7M 0 0 5610k 0 0:00:25 0:00:14 0:00:11 5888k
56 140M 56 80.2M 0 0 5475k 0 0:00:26 0:00:15 0:00:11 5382k
58 140M 58 82.9M 0 0 5299k 0 0:00:27 0:00:16 0:00:11 4769k
62 140M 62 87.5M 0 0 5271k 0 0:00:27 0:00:17 0:00:10 4553k
65 140M 65 92.8M 0 0 5277k 0 0:00:27 0:00:18 0:00:09 4412k
70 140M 70 99.4M 0 0 5352k 0 0:00:26 0:00:19 0:00:07 4630k
75 140M 75 105M 0 0 5418k 0 0:00:26 0:00:20 0:00:06 5248k
79 140M 79 112M 0 0 5463k 0 0:00:26 0:00:21 0:00:05 5992k
83 140M 83 118M 0 0 5505k 0 0:00:26 0:00:22 0:00:04 6300k
88 140M 88 125M 0 0 5564k 0 0:00:25 0:00:23 0:00:02 6601k
92 140M 92 130M 0 0 5570k 0 0:00:25 0:00:24 0:00:01 6396k
96 140M 96 136M 0 0 5567k 0 0:00:25 0:00:25 --:--:-- 6163k
100 140M 100 140M 0 0 5579k 0 0:00:25 0:00:25 --:--:-- 6077k
meteor-azure: Building app
'npm' is not a Meteor command. See 'meteor --help'.
Warning: unable to resolve "viewmodel-react-plugin" in plugins of /D/home/site/repository/.babelrc
Unable to resolve some modules:
"react" in /D/home/site/repository/client/main.js (web.browser)
"react-dom" in /D/home/site/repository/client/main.js (web.browser)
"viewmodel-react" in /D/home/site/repository/client/main.js (web.browser)
"viewmodel-react-explorer" in /D/home/site/repository/imports/App/App.js
(web.browser)
If you notice problems related to these missing modules, consider running:
meteor npm install --save react react-dom viewmodel-react
viewmodel-react-explorer
Handling node.js deployment.
Cannot removed the 'to be deleted' directory, ignoring
KuduSync.NET from: 'D:\local\LocalAppData\meteor-azure\bundle' to: 'D:\home\site\wwwroot'
Copying file: '.node_version.txt'
Copying file: 'main.js'
Copying file: 'README'
Copying file: 'star.json'
Copying file: 'programs\server\boot-utils.js'
Copying file: 'programs\server\boot.js'
Copying file: 'programs\server\config.json'
Copying file: 'programs\server\mini-files.js'
Copying file: 'programs\server\npm-rebuild-args.js'
Copying file: 'programs\server\npm-rebuild.js'
Copying file: 'programs\server\npm-rebuilds.json'
Copying file: 'programs\server\npm-require.js'
Copying file: 'programs\server\npm-shrinkwrap.json'
Copying file: 'programs\server\package.json'
Copying file: 'programs\server\profile.js'
Copying file: 'programs\server\program.json'
Copying file: 'programs\server\server-json.js'
Copying file: 'programs\server\app\app.js'
Copying file: 'programs\server\app\app.js.map'
Copying file: 'programs\server\assets\packages\boilerplate-generator\boilerplate_web.browser.html'
Copying file: 'programs\server\assets\packages\boilerplate-generator\boilerplate_web.cordova.html'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.node_version'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.npm-shrinkwrap.json'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\acorn'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\babylon'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\detect-indent'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\jsesc'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\json5'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\loose-envify'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\mkdirp'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\regjsparser'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\repeating'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\.bin\user-home'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\.editorconfig'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\.gitattributes'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\.meteor-portable'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\.npmignore'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\.tern-project'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\.travis.yml'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\AUTHORS'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\CHANGELOG.md'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\LICENSE'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\package.json'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\README.md'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\bin\acorn'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\bin\generate-identifier-regex.js'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\bin\update_authors.sh'
Copying file: 'programs\server\npm\node_modules\meteor\babel-compiler\node_modules\acorn\dist\.keep'
Omitting next output lines...
Processed 1047 files...
Processed 2004 files...
Processed 2952 files...
Processed 3895 files...
Processed 4835 files...
Processed 5744 files...
Processed 6591 files...
Processed 7474 files...
Invalid start-up command "meteor run" in package.json. Please use the format "node <script relative path>".
Looking for app.js/server.js under site root.
Missing server.js/app.js files, web.config is not generated
The package.json file does not specify node.js engine version constraints.
The node.js application will run with the default node.js version 4.5.0.
Selected npm version 2.15.9
meteor-azure: Installing JSON tool
D:\local\AppData\npm\json -> D:\local\AppData\npm\node_modules\json\lib\json.js
json@9.0.4 D:\local\AppData\npm\node_modules\json
meteor-azure: Preparing package.json
meteor-azure: Installing NPM packages
npm WARN package.json meteor-dev-bundle@0.0.0 No description
npm WARN package.json meteor-dev-bundle@0.0.0 No repository field.
npm WARN package.json meteor-dev-bundle@0.0.0 No README data
npm WARN package.json meteor-dev-bundle@0.0.0 No license field.
> fibers@1.0.15 install D:\home\site\wwwroot\programs\server\node_modules\fibers
> node build.js || nodejs build.js
`win32-ia32-46` exists; testing
Binary is fine; exiting
meteor-promise@0.8.0 node_modules\meteor-promise
fibers@1.0.15 node_modules\fibers
meteor-azure: Finished successfully.
That's strange, it looks like the meteor npm
command isn't working properly:
'npm' is not a Meteor command. See 'meteor --help'.
My guess would be that it's a bug introduced in 1.4.2 - I'll take a closer look tonight and push out a fix/workaround.
Meteor Azure Version: 1.0.1
I added react from npm and it deploys okay, but I get
Uncaught Error: Cannot find module 'react'
when I load the page. What do I have to do to make npm packages work?