Closed ogermann closed 8 years ago
See https://github.com/moment/moment/issues/3531 and https://github.com/meteor/meteor/issues/7958,
momentjs:moment@2.15.2 is broken for all non-macOS users - you can either downgrade or install the package directly from NPM
I am getting a very similar error (I believe) but I do not have moment installed and I am not using that package.
Command: bash .config/azure/deploy.sh
The package.json file does not specify node.js engine version constraints.
The node.js application will run with the default node.js version 6.9.1.
Selected npm version 3.10.8
meteor-azure: Setting NPM version
D:\local\AppData\npm\npm -> D:\local\AppData\npm\node_modules\npm\bin\npm-cli.js
D:\local\AppData\npm
`-- npm@3.10.8
meteor-azure: Building app
npm WARN enoent ENOENT: no such file or directory, open 'D:\home\site\repository\package.json'
npm WARN repository No description
npm WARN repository No repository field.
npm WARN repository No README data
npm WARN repository No license field.
=> Errors while initializing project:
While loading package momentjs:moment@2.15.2:
error: Command failed:
D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd
rebuild --update-binary
node-pre-gyp ERR! Tried to download:
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v46-win32-ia32.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and
node@4.6.1 (node-v46 ABI) (falling back to source compile with node-gyp)
Traceback (most recent call last):
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\gyp_main.py",
line 16, in <module>
sys.exit(gyp.script_main())
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",
line 545, in script_main
return main(sys.argv[1:])
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",
line 538, in main
return gyp_main(args)
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",
line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",
line 2003, in GenerateOutput
sln_projects, project_objects, flat=msvs_version.FlatSolution())
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",
line 1762, in _GatherSolutionFolders
return _DictsToFolders('', root, flat)
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",
line 1715, in _DictsToFolders
for folder, contents in bucket.iteritems():
AttributeError: 'MSVSProject' object has no attribute 'iteritems'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"
"configure" "--fallback-to-build"
"--module=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32\\fse.node"
"--module_name=fse"
"--module_path=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32"
gyp ERR! cwd
D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute
'D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\bin\node.exe
D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\bin\node-gyp.js
configure --fallback-to-build
--module=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32\fse.node
--module_name=fse
--module_path=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32'
(1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous>
(D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack at maybeClose
(internal/child_process.js:829:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:5)
node-pre-gyp ERR! System Windows_NT 6.2.9200
node-pre-gyp ERR! command
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp"
"install" "--fallback-to-build"
node-pre-gyp ERR! cwd
D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents
node-pre-gyp ERR! node -v v4.6.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
npm ERR! Windows_NT 6.2.9200
npm ERR! argv
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--update-binary"
npm ERR! node v4.6.1
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! fsevents@1.0.14 install: `node-pre-gyp install
--fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fsevents@1.0.14 install script 'node-pre-gyp
install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm
installed.
npm ERR! If you do, this is most likely a problem with the fsevents
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs fsevents
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls fsevents
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\npm-debug.log
node-pre-gyp ERR! Tried to download:
https://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v46-win32-ia32.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and
node@4.6.1 (node-v46 ABI) (falling back to source compile with node-gyp)
Traceback (most recent call last):
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\gyp_main.py",
line 16, in <module>
sys.exit(gyp.script_main())
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",
line 545, in script_main
return main(sys.argv[1:])
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",
line 538, in main
return gyp_main(args)
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",
line 523, in gyp_main
generator.GenerateOutput(flat_list, targets, data, params)
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",
line 2003, in GenerateOutput
sln_projects, project_objects, flat=msvs_version.FlatSolution())
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",
line 1762, in _GatherSolutionFolders
return _DictsToFolders('', root, flat)
File
"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",
line 1715, in _DictsToFolders
for folder, contents in bucket.iteritems():
AttributeError: 'MSVSProject' object has no attribute 'iteritems'
gyp ERR! configure error
gyp ERR! stack Error: `gyp` failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit
(D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\lib\configure.js:305:16)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.2.9200
gyp ERR! command
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
Handling node.js deployment.
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"
"configure" "--fallback-to-build"
"--module=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32\\fse.node"
"--module_name=fse"
"--module_path=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32"
gyp ERR! cwd
D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute
'D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\bin\node.exe
D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\bin\node-gyp.js
configure --fallback-to-build
--module=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32\fse.node
--module_name=fse
--module_path=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32'
(1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous>
(D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:87:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)
node-pre-gyp ERR! stack at maybeClose
(internal/child_process.js:829:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:211:5)
node-pre-gyp ERR! System Windows_NT 6.2.9200
node-pre-gyp ERR! command
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp"
"install" "--fallback-to-build"
node-pre-gyp ERR! cwd
D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents
node-pre-gyp ERR! node -v v4.6.1
node-pre-gyp ERR! node-pre-gyp -v v0.6.29
node-pre-gyp ERR! not ok
npm ERR! Windows_NT 6.2.9200
npm ERR! argv
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"
"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--update-binary"
npm ERR! node v4.6.1
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! fsevents@1.0.14 install: `node-pre-gyp install
--fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the fsevents@1.0.14 install script 'node-pre-gyp
install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm
installed.
npm ERR! If you do, this is most likely a problem with the fsevents
package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs fsevents
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls fsevents
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\npm-debug.log
cp: cannot create regular file 'D:\local\LocalAppData\meteor-azure\bundle': No such file or directory
KuduSync.NET from: 'D:\local\LocalAppData\meteor-azure\bundle' to: 'D:\home\site\wwwroot'
Error: Could not find a part of the path 'D:\local\LocalAppData\meteor-azure\bundle'.
An error has occurred during web site deployment.
Kudu Sync failed
npm WARN enoent ENOENT: no such file or directory, open 'D:\home\site\repository\package.json'\r\nnpm WARN repository No description\r\nnpm WARN repository No repository field.\r\nnpm WARN repository No README data\r\nnpm WARN repository No license field.\r\n=> Errors while initializing project:\r\n\r\nWhile loading package momentjs:moment@2.15.2:\r\nerror: Command failed:\r\nD:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\bin\npm.cmd\r\nrebuild --update-binary\r\nnode-pre-gyp ERR! Tried to download:\r\nhttps://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v46-win32-ia32.tar.gz \r\nnode-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and\r\nnode@4.6.1 (node-v46 ABI) (falling back to source compile with node-gyp) \r\nTraceback (most recent call last):\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\gyp_main.py",\r\nline 16, in <module>\r\nsys.exit(gyp.script_main())\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",\r\nline 545, in script_main\r\nreturn main(sys.argv[1:])\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",\r\nline 538, in main\r\nreturn gyp_main(args)\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",\r\nline 523, in gyp_main\r\ngenerator.GenerateOutput(flat_list, targets, data, params)\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",\r\nline 2003, in GenerateOutput\r\nsln_projects, project_objects, flat=msvs_version.FlatSolution())\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",\r\nline 1762, in _GatherSolutionFolders\r\nreturn _DictsToFolders('', root, flat)\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",\r\nline 1715, in _DictsToFolders\r\nfor folder, contents in bucket.iteritems():\r\nAttributeError: 'MSVSProject' object has no attribute 'iteritems'\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack at ChildProcess.onCpExit\r\n(D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\lib\configure.js:305:16)\r\ngyp ERR! stack at emitTwo (events.js:87:13)\r\ngyp ERR! stack at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack at Process.ChildProcess._handle.onexit\r\n(internal/child_process.js:200:12)\r\ngyp ERR! System Windows_NT 6.2.9200\r\ngyp ERR! command\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"\r\n"configure" "--fallback-to-build"\r\n"--module=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32\\fse.node"\r\n"--module_name=fse"\r\n"--module_path=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32"\r\ngyp ERR! cwd\r\nD:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\r\ngyp ERR! node -v v4.6.1\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok \r\nnode-pre-gyp ERR! build error \r\nnode-pre-gyp ERR! stack Error: Failed to execute\r\n'D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\bin\node.exe\r\nD:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\bin\node-gyp.js\r\nconfigure --fallback-to-build\r\n--module=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32\fse.node\r\n--module_name=fse\r\n--module_path=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32'\r\n(1)\r\nnode-pre-gyp ERR! stack at ChildProcess.<anonymous>\r\n(D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\node_modules\node-pre-gyp\lib\util\compile.js:83:29)\r\nnode-pre-gyp ERR! stack at emitTwo (events.js:87:13)\r\nnode-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)\r\nnode-pre-gyp ERR! stack at maybeClose\r\n(internal/child_process.js:829:16)\r\nnode-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit\r\n(internal/child_process.js:211:5)\r\nnode-pre-gyp ERR! System Windows_NT 6.2.9200\r\nnode-pre-gyp ERR! command\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp"\r\n"install" "--fallback-to-build"\r\nnode-pre-gyp ERR! cwd\r\nD:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\r\nnode-pre-gyp ERR! node -v v4.6.1\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.29\r\nnode-pre-gyp ERR! not ok \r\n\r\nnpm ERR! Windows_NT 6.2.9200\r\nnpm ERR! argv\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"\r\n"rebuild" "--update-binary"\r\nnpm ERR! node v4.6.1\r\nnpm ERR! npm v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! fsevents@1.0.14 install: `node-pre-gyp install\r\n--fallback-to-build`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the fsevents@1.0.14 install script 'node-pre-gyp\r\ninstall --fallback-to-build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm\r\ninstalled.\r\nnpm ERR! If you do, this is most likely a problem with the fsevents\r\npackage,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR! node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get information on how to open an issue for this project\r\nwith:\r\nnpm ERR! npm bugs fsevents\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR! npm owner ls fsevents\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!\r\nD:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\npm-debug.log\r\nnode-pre-gyp ERR! Tried to download:\r\nhttps://fsevents-binaries.s3-us-west-2.amazonaws.com/v1.0.14/fse-v1.0.14-node-v46-win32-ia32.tar.gz \r\nnode-pre-gyp ERR! Pre-built binaries not found for fsevents@1.0.14 and\r\nnode@4.6.1 (node-v46 ABI) (falling back to source compile with node-gyp) \r\nTraceback (most recent call last):\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\gyp_main.py",\r\nline 16, in <module>\r\nsys.exit(gyp.script_main())\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",\r\nline 545, in script_main\r\nreturn main(sys.argv[1:])\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",\r\nline 538, in main\r\nreturn gyp_main(args)\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\__init__.py",\r\nline 523, in gyp_main\r\ngenerator.GenerateOutput(flat_list, targets, data, params)\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",\r\nline 2003, in GenerateOutput\r\nsln_projects, project_objects, flat=msvs_version.FlatSolution())\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",\r\nline 1762, in _GatherSolutionFolders\r\nreturn _DictsToFolders('', root, flat)\r\nFile\r\n"D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\gyp\pylib\gyp\generator\msvs.py",\r\nline 1715, in _DictsToFolders\r\nfor folder, contents in bucket.iteritems():\r\nAttributeError: 'MSVSProject' object has no attribute 'iteritems'\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack at ChildProcess.onCpExit\r\n(D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\lib\configure.js:305:16)\r\ngyp ERR! stack at emitTwo (events.js:87:13)\r\ngyp ERR! stack at ChildProcess.emit (events.js:172:7)\r\ngyp ERR! stack at Process.ChildProcess._handle.onexit\r\n(internal/child_process.js:200:12)\r\ngyp ERR! System Windows_NT 6.2.9200\r\ngyp ERR! command\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"\r\n"configure" "--fallback-to-build"\r\n"--module=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32\\fse.node"\r\n"--module_name=fse"\r\n"--module_path=D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\lib\\binding\\Release\\node-v46-win32-ia32"\r\ngyp ERR! cwd\r\nD:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\r\ngyp ERR! node -v v4.6.1\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok \r\nnode-pre-gyp ERR! build error \r\nnode-pre-gyp ERR! stack Error: Failed to execute\r\n'D:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\bin\node.exe\r\nD:\local\LocalAppData\.meteor\packages\meteor-tool\1.4.2\mt-os.windows.x86_32\dev_bundle\lib\node_modules\node-gyp\bin\node-gyp.js\r\nconfigure --fallback-to-build\r\n--module=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32\fse.node\r\n--module_name=fse\r\n--module_path=D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\lib\binding\Release\node-v46-win32-ia32'\r\n(1)\r\nnode-pre-gyp ERR! stack at ChildProcess.<anonymous>\r\n(D:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\node_modules\node-pre-gyp\lib\util\compile.js:83:29)\r\nnode-pre-gyp ERR! stack at emitTwo (events.js:87:13)\r\nnode-pre-gyp ERR! stack at ChildProcess.emit (events.js:172:7)\r\nnode-pre-gyp ERR! stack at maybeClose\r\n(internal/child_process.js:829:16)\r\nnode-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit\r\n(internal/child_process.js:211:5)\r\nnode-pre-gyp ERR! System Windows_NT 6.2.9200\r\nnode-pre-gyp ERR! command\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\momentjs_moment\\2.15.2\\npm\\node_modules\\.temp-ostxew\\node_modules\\fsevents\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp"\r\n"install" "--fallback-to-build"\r\nnode-pre-gyp ERR! cwd\r\nD:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\node_modules\fsevents\r\nnode-pre-gyp ERR! node -v v4.6.1\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.29\r\nnode-pre-gyp ERR! not ok \r\n\r\nnpm ERR! Windows_NT 6.2.9200\r\nnpm ERR! argv\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\bin\\node.exe"\r\n"D:\\local\\LocalAppData\\.meteor\\packages\\meteor-tool\\1.4.2\\mt-os.windows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"\r\n"rebuild" "--update-binary"\r\nnpm ERR! node v4.6.1\r\nnpm ERR! npm v3.10.9\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! fsevents@1.0.14 install: `node-pre-gyp install\r\n--fallback-to-build`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the fsevents@1.0.14 install script 'node-pre-gyp\r\ninstall --fallback-to-build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm\r\ninstalled.\r\nnpm ERR! If you do, this is most likely a problem with the fsevents\r\npackage,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR! node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get information on how to open an issue for this project\r\nwith:\r\nnpm ERR! npm bugs fsevents\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR! npm owner ls fsevents\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!\r\nD:\local\LocalAppData\.meteor\packages\momentjs_moment\2.15.2\npm\node_modules\.temp-ostxew\npm-debug.log\r\n\r\n\r\ncp: cannot create regular file 'D:\local\LocalAppData\meteor-azure\bundle': No such file or directory\r\nError: Could not find a part of the path 'D:\local\LocalAppData\meteor-azure\bundle'.\r\nD:\Program Files (x86)\SiteExtensions\Kudu\59.51102.2512\bin\Scripts\starter.cmd bash .config/azure/deploy.sh
Alright, I did find that there is a folder momentjs_moment under the .meteor/ folder in the command prompt on my web app, however it will not let me delete it (gives 404 or access denied)
You shouldn't need to delete anything, just uninstall/update momentjs:moment in your app.
This is the list of packages, I am currently not using and don't have installed momentjs
meteor-base@1.0.4 # Packages every Meteor app needs to have
mobile-experience@1.0.4 # Packages for a great mobile UX
mongo@1.1.14 # The database Meteor supports right now
blaze-html-templates@1.0.4 # Compile .html files into Meteor Blaze views
session@1.1.7 # Client-side reactive dictionary for your app
jquery@1.11.10 # Helpful client-side library
tracker@1.1.1 # Meteor's client-side reactive programming library
es5-shim@4.6.15 # ECMAScript 5 compatibility for older browsers.
ecmascript@0.5.9 # Enable ECMAScript2015+ syntax in app code
msavin:mongol
service-configuration@1.0.11
poetic:materialize-scss
kadira:flow-router
kadira:blaze-layout
themeteorchef:bert
aldeed:collection2
aldeed:simple-schema
harrison:papa-parse
check@1.2.4
gildaspk:autoform-materialize
aldeed:autoform
aldeed:autoform-select2
natestrauser:select2
reactive-var@1.0.11
email@1.1.18
alanning:roles
aldeed:delete-button
underscore@1.0.10
hitchcott:qr-scanner
wiseguyeh:accounts-azure-active-directory
accounts-ui@1.1.9
dfischer:phantomjs
meteorhacks:ssr
jamesfebin:azure-blob-upload
standard-minifier-css@1.3.2
standard-minifier-js@1.2.1
fourseven:scss@3.8.0_1
shell-server@0.2.1
emgee:mssql
percolate:synced-cron
It's probably a transitive dependency, what does your .versions file look like?
Yes it was in my versions, I am removing and will try to deploy again
If you still want to use the dependant package, you can restrict the version in your packages file:
momentjs:moment@=2.15.1
(Note that If you follow the issue I linked to above, they have already merged the fix and will probably release a functioning v2.15.3 within the next few days)
Alright now the issue seems to be file path length
Command: bash .config/azure/deploy.sh
The package.json file does not specify node.js engine version constraints.
The node.js application will run with the default node.js version 6.9.1.
Selected npm version 3.10.8
meteor-azure: Setting NPM version
D:\local\AppData\npm\npm -> D:\local\AppData\npm\node_modules\npm\bin\npm-cli.js
D:\local\AppData\npm
`-- npm@3.10.8
meteor-azure: Building app
npm WARN enoent ENOENT: no such file or directory, open 'D:\home\site\repository\package.json'
npm WARN repository No description
npm WARN repository No repository field.
npm WARN repository No README data
npm WARN repository No license field.
Changes to your project's package version selections:
momentjs:moment added, version 2.10.6
Handling node.js deployment.
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\app\equip-report.html'
Copying file: 'programs\server\assets\app\equip-report.js'
Copying file: 'programs\server\assets\app\layout.css'
Copying file: 'programs\server\assets\app\layout.html'
Copying file: 'programs\server\assets\app\layout.js'
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\assets\packages\oauth\end_of_popup_response.html'
Copying file: 'programs\server\assets\packages\oauth\end_of_redirect_response.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'
Omitting next output lines...
Processed 1628 files...
Processed 3532 files...
Processed 5364 files...
Error: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.
An error has occurred during web site deployment.
Kudu Sync failed
npm WARN enoent ENOENT: no such file or directory, open 'D:\home\site\repository\package.json'\r\nnpm WARN repository No description\r\nnpm WARN repository No repository field.\r\nnpm WARN repository No README data\r\nnpm WARN repository No license field.\r\nError: The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.\r\nD:\Program Files (x86)\SiteExtensions\Kudu\59.51102.2512\bin\Scripts\starter.cmd bash .config/azure/deploy.sh
You'll want to open a new issue for that, dependency tree should be flattened with NPM 3.x (so maybe try running meteor npm --version
first to double-check)
Alright I will open a new issue. Thanks!
Hi
While i'm trying to deploy an existing webproject to a fresh azure webapp, i'm getting npm errors.
Please let me know i you need some more information.
Server Properties: WEBSITE_NODE_DEFAULT_VERSION: 4.6.1 SCM_COMMAND_IDLE_TIMEOUT: 3600 ROOT_URL: http://... MONGO_URL: mongodb://...
Thank you very much.
Greets