chrome-devtools-autosave-server
chrome-devtools-autosave-server copied to clipboard
Unable to install :(
I get this error. Does it mean anything to anyone?
C:\Users\myname>npm install -g autosave
npm http GET https://registry.npmjs.org/autosave
npm http 304 https://registry.npmjs.org/autosave
npm WARN package.json [email protected] No README.md file found!
npm http GET https://registry.npmjs.org/commander
npm http 304 https://registry.npmjs.org/commander
\mydomain.local\data\Profiles\myname\Application Data\npm\autosave -> \mydomain.lo
cal\data\Profiles\myname\Application Data\npm\node_modules\autosave\bin
autosave
[email protected] install \mydomain.local\data\Profiles\myname\Application Dat a\npm\node_modules\autosave node ./scripts/install.js
'\mydomain.local\data\Profiles\myname\Application Data\npm\node_modules\autos ave' CMD.EXE was started with the above path as the current directory. UNC paths are not supported. Defaulting to Windows directory.
module.js:340
throw err;
^
Error: Cannot find module 'C:\Windows\scripts\install.js'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.runMain (module.js:492:10)
at process.startup.processNextTick.process._tickCallback (node.js:244:9)
npm ERR! [email protected] install: node ./scripts/install.js
npm ERR! cmd "/c" "node ./scripts/install.js" failed with 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the autosave package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./scripts/install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls autosave
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601 npm ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nod ejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "autosave" npm ERR! cwd C:\Users\myname npm ERR! node -v v0.8.11 npm ERR! npm -v 1.1.62 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! C:\Users\myname\npm-debug.log npm ERR! not ok code 0
Same thing happening to me FYI - on OSX (Mountain Lion). :-(
@cemerson could you put the whole log here?
Hi, I am facing precisely the same problem when I run 'npm install -g autosave' on my windows command prompt.
I am pasting the log here, if it helps.
<< Start Log >>
0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli '-g',
1 verbose cli 'autosave' ]
2 info using [email protected]
3 info using [email protected]
4 verbose node symlink C:\Program Files\nodejs\node.exe
5 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm\package.json
6 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm\package.json
7 verbose cache add [ 'autosave', null ]
8 silly cache add name=undefined spec="autosave" args=["autosave",null]
9 verbose parsed url { pathname: 'autosave', path: 'autosave', href: 'autosave' }
10 silly lockFile 20aa73aa-autosave autosave
11 verbose lock autosave C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\20aa73aa-autosave.lock
12 silly lockFile 20aa73aa-autosave autosave
13 verbose addNamed [ 'autosave', '' ]
14 verbose addNamed [ null, '' ]
15 silly lockFile 31f87189-autosave autosave@
16 verbose lock autosave@ C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\31f87189-autosave.lock
17 silly addNameRange { name: 'autosave', range: '', hasData: false }
18 verbose url raw autosave
19 verbose url resolving [ 'https://registry.npmjs.org/', './autosave' ]
20 verbose url resolved https://registry.npmjs.org/autosave
21 info trying registry request attempt 1 at 00:04:27
22 verbose etag "8P121P28NN1WPEM68ZUUXOCN6"
23 http GET https://registry.npmjs.org/autosave
24 http 304 https://registry.npmjs.org/autosave
25 silly registry.get cb [ 304,
25 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
25 silly registry.get etag: '"8P121P28NN1WPEM68ZUUXOCN6"',
25 silly registry.get date: 'Wed, 05 Dec 2012 18:34:53 GMT',
25 silly registry.get 'content-length': '0' } ]
26 verbose etag autosave from cache
27 silly addNameRange number 2 { name: 'autosave', range: '', hasData: true }
28 silly addNameRange versions [ 'autosave',
28 silly addNameRange [ '0.1.0',
28 silly addNameRange '0.2.0',
28 silly addNameRange '0.2.1',
28 silly addNameRange '0.2.2',
28 silly addNameRange '0.2.3',
28 silly addNameRange '0.3.0',
28 silly addNameRange '0.3.1',
28 silly addNameRange '0.3.2',
28 silly addNameRange '1.0.0',
28 silly addNameRange '1.0.1',
28 silly addNameRange '1.0.2',
28 silly addNameRange '1.0.3' ] ]
29 verbose addNamed [ 'autosave', '1.0.3' ]
30 verbose addNamed [ '1.0.3', '1.0.3' ]
31 silly lockFile c7af0965-autosave-1-0-3 [email protected]
32 verbose lock [email protected] C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\c7af0965-autosave-1-0-3.lock
33 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\autosave\1.0.3\package\package.json
34 silly lockFile c7af0965-autosave-1-0-3 [email protected]
35 silly lockFile 31f87189-autosave autosave@
36 silly resolved [ { name: 'autosave',
36 silly resolved version: '1.0.3',
36 silly resolved description: 'A server for Chrome Devtools Autosave (https://github.com/NV/chrome-devtools-autosave)',
36 silly resolved keywords: [ 'devtools' ],
36 silly resolved bin: { autosave: './bin/autosave' },
36 silly resolved scripts:
36 silly resolved { autostart: './scripts/autostart.sh',
36 silly resolved install: 'node ./scripts/install.js' },
36 silly resolved preferGlobal: true,
36 silly resolved author: { name: 'Nikita Vasilyev', email: '[email protected]' },
36 silly resolved main: 'index',
36 silly resolved engines: { node: '>= 0.4.x' },
36 silly resolved repository:
36 silly resolved { type: 'git',
36 silly resolved url: 'git://github.com/NV/chrome-devtools-autosave-server.git' },
36 silly resolved bugs: { url: 'https://github.com/NV/chrome-devtools-autosave-server/issues' },
36 silly resolved dependencies: { commander: '0.5.x' },
36 silly resolved readme: 'A server for chrome-devtools-autosave.\n\n## Installation\n\n1. Install Node.js\n2. Open a terminal (Terminal.app on Mac OS X, cmd.exe on Windows)\n3. Run npm install -g autosave\n\n> It fails with "Error: EACCES, permission denied". What should I do?\n\nRun the same command as an administrator. On Mac OS X and Linux it would be sudo npm install -g autosave.\n\n## Usage\n\nRun autosave in the terminal.\nYou should see something like "DevTools Autosave is running on http://127.0.0.1:9104".\n\n> It doesn’t work on Windows. I’m having \'autosave\' is not recognized as an internal or external command\n\nHave you tried turn it it off and on again? Seriously, restart the system.\n\n## Run on OS launch\n\nIt might be annoying to open a terminal and type "autosave↵" every time you need to run Autosave. On Mac OS X and Ubuntu you can run Autosave on OS launch as a daemon. To do so run:\n\n npm run-script -g autosave autostart\n\nIt is not yet available on other operation systems.\n',
36 silly resolved readmeFilename: 'README.mdown',
36 silly resolved _id: '[email protected]',
36 silly resolved from: 'autosave' } ]
37 info install [email protected] into C:\Users\presenjit.sharan\AppData\Roaming\npm
38 info installOne [email protected]
39 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\autosave\1.0.3\package\package.json
40 info C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave unbuild
41 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\package.json
42 verbose tar unpack C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\autosave\1.0.3\package.tgz
43 silly lockFile 79605ae9-oaming-npm-node-modules-autosave C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave
44 verbose lock C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\79605ae9-oaming-npm-node-modules-autosave.lock
45 silly gunzTarPerm modes [ '755', '644' ]
46 silly gunzTarPerm extractEntry package.json
47 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
48 silly gunzTarPerm extractEntry diff_match_patch.js
49 silly gunzTarPerm modified mode [ 'diff_match_patch.js', 438, 420 ]
50 silly gunzTarPerm extractEntry index.js
51 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
52 silly gunzTarPerm extractEntry bin/autosave
53 silly gunzTarPerm modified mode [ 'bin/autosave', 438, 420 ]
54 silly gunzTarPerm extractEntry README.mdown
55 silly gunzTarPerm modified mode [ 'README.mdown', 438, 420 ]
56 silly gunzTarPerm extractEntry scripts/install.js
57 silly gunzTarPerm modified mode [ 'scripts/install.js', 438, 420 ]
58 silly gunzTarPerm extractEntry scripts/autosave.conf
59 silly gunzTarPerm modified mode [ 'scripts/autosave.conf', 438, 420 ]
60 silly gunzTarPerm extractEntry scripts/autostart.sh
61 silly gunzTarPerm modified mode [ 'scripts/autostart.sh', 438, 420 ]
62 silly gunzTarPerm extractEntry scripts/com.chrome.devtools.autosave.launchd.plist
63 silly gunzTarPerm modified mode [ 'scripts/com.chrome.devtools.autosave.launchd.plist',
63 silly gunzTarPerm 438,
63 silly gunzTarPerm 420 ]
64 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\package.json
65 silly lockFile 79605ae9-oaming-npm-node-modules-autosave C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave
66 info preinstall [email protected]
67 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\package.json
68 verbose readDependencies using package.json deps
69 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\package.json
70 verbose readDependencies using package.json deps
71 verbose cache add [ '[email protected]', null ]
72 silly cache add name=undefined spec="[email protected]" args=["[email protected]",null]
73 verbose parsed url { pathname: '[email protected]',
73 verbose parsed url path: '[email protected]',
73 verbose parsed url href: '[email protected]' }
74 silly cache add name="commander" spec="0.5.x" args=["commander","0.5.x"]
75 verbose parsed url { pathname: '0.5.x', path: '0.5.x', href: '0.5.x' }
76 verbose addNamed [ 'commander', '0.5.x' ]
77 verbose addNamed [ null, '>=0.5.0- <0.6.0-' ]
78 silly lockFile 4be686d8-commander-0-5-x [email protected]
79 verbose lock [email protected] C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\4be686d8-commander-0-5-x.lock
80 silly addNameRange { name: 'commander', range: '>=0.5.0- <0.6.0-', hasData: false }
81 verbose url raw commander
82 verbose url resolving [ 'https://registry.npmjs.org/', './commander' ]
83 verbose url resolved https://registry.npmjs.org/commander
84 info trying registry request attempt 1 at 00:04:31
85 verbose etag "GTZB232PHS8O5H1JBATDET4Z"
86 http GET https://registry.npmjs.org/commander
87 http 304 https://registry.npmjs.org/commander
88 silly registry.get cb [ 304,
88 silly registry.get { server: 'CouchDB/1.2.0 (Erlang OTP/R15B)',
88 silly registry.get etag: '"GTZB232PHS8O5H1JBATDET4Z"',
88 silly registry.get date: 'Wed, 05 Dec 2012 18:34:57 GMT',
88 silly registry.get 'content-length': '0' } ]
89 verbose etag commander from cache
90 silly addNameRange number 2 { name: 'commander', range: '>=0.5.0- <0.6.0-', hasData: true }
91 silly addNameRange versions [ 'commander',
91 silly addNameRange [ '0.0.1',
91 silly addNameRange '0.0.3',
91 silly addNameRange '0.0.4',
91 silly addNameRange '0.0.5',
91 silly addNameRange '0.1.0',
91 silly addNameRange '0.2.0',
91 silly addNameRange '0.2.1',
91 silly addNameRange '0.3.0',
91 silly addNameRange '0.3.1',
91 silly addNameRange '0.3.2',
91 silly addNameRange '0.3.3',
91 silly addNameRange '0.4.0',
91 silly addNameRange '0.4.1',
91 silly addNameRange '0.4.2',
91 silly addNameRange '0.4.3',
91 silly addNameRange '0.5.0',
91 silly addNameRange '0.5.1',
91 silly addNameRange '0.6.0',
91 silly addNameRange '0.6.1',
91 silly addNameRange '0.5.2',
91 silly addNameRange '1.0.0',
91 silly addNameRange '1.0.1',
91 silly addNameRange '1.0.2',
91 silly addNameRange '1.0.3',
91 silly addNameRange '1.0.4',
91 silly addNameRange '1.0.5',
91 silly addNameRange '1.1.0',
91 silly addNameRange '1.1.1' ] ]
92 verbose addNamed [ 'commander', '0.5.2' ]
93 verbose addNamed [ '0.5.2', '0.5.2' ]
94 silly lockFile 3b2c849f-commander-0-5-2 [email protected]
95 verbose lock [email protected] C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\3b2c849f-commander-0-5-2.lock
96 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\commander\0.5.2\package\package.json
97 silly lockFile 3b2c849f-commander-0-5-2 [email protected]
98 silly lockFile 4be686d8-commander-0-5-x [email protected]
99 silly resolved [ { name: 'commander',
99 silly resolved version: '0.5.2',
99 silly resolved description: 'the complete solution for node.js command-line programs',
99 silly resolved keywords: [ 'command', 'option', 'parser', 'prompt', 'stdin' ],
99 silly resolved author: { name: 'TJ Holowaychuk', email: '[email protected]' },
99 silly resolved repository:
99 silly resolved { type: 'git',
99 silly resolved url: 'https://github.com/visionmedia/commander.js.git' },
99 silly resolved dependencies: {},
99 silly resolved devDependencies: { should: '>= 0.0.1' },
99 silly resolved scripts: { test: 'make test' },
99 silly resolved main: 'index',
99 silly resolved engines: { node: '>= 0.4.x' },
99 silly resolved readme: '# Commander.js\n\n The complete solution for node.js command-line interfaces, inspired by Ruby's commander.\n\n
\n\n## Installation\n\n $ npm install commander\n\n## Option parsing\n\n Options with commander are defined with the .option() method, also serving as documentation for the options. The example below parses args and options from process.argv, leaving remaining args as the program.args array which were not consumed by options.\n\njs\n#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\n\nvar program = require(\'commander\');\n\nprogram\n .version(\'0.0.1\')\n .option(\'-p, --peppers\', \'Add peppers\')\n .option(\'-P, --pineapple\', \'Add pineapple\')\n .option(\'-b, --bbq\', \'Add bbq sauce\')\n .option(\'-c, --cheese [type]\', \'Add the specified type of cheese [marble]\', \'marble\')\n .parse(process.argv);\n\nconsole.log(\'you ordered a pizza with:\');\nif (program.peppers) console.log(\' - peppers\');\nif (program.pineapple) console.log(\' - pineappe\');\nif (program.bbq) console.log(\' - bbq\');\nconsole.log(\' - %s cheese\', program.cheese);\n\n\n Short flags may be passed as a single arg, for example -abc is equivalent to -a -b -c. Multi-word options such as "--template-engine" are camel-cased, becoming program.templateEngine etc.\n\n## Automated --help\n\n The help information is auto-generated based on the information commander already knows about your program, so the following --help info is for free:\n\n\n $ ./examples/pizza --help\n\n Usage: pizza [options]\n\n Options:\n\n -V, --version output the version number\n -p, --peppers Add peppers\n -P, --pineapple Add pineappe\n -b, --bbq Add bbq sauce\n -c, --cheese <type> Add the specified type of cheese [marble]\n -h, --help output usage information\n\n\n\n## Coercion\n\njs\nfunction range(val) {\n return val.split(\'..\').map(Number);\n}\n\nfunction list(val) {\n return val.split(\',\');\n}\n\nprogram\n .version(\'0.0.1\')\n .usage(\'[options] <file ...>\')\n .option(\'-i, --integer <n>\', \'An integer argument\', parseInt)\n .option(\'-f, --float <n>\', \'A float argument\', parseFloat)\n .option(\'-r, --range <a>..<b>\', \'A range\', range)\n .option(\'-l, --list <items>\', \'A list\', list)\n .option(\'-o, --optional [value]\', \'An optional value\')\n .parse(process.argv);\n\nconsole.log(\' int: %j\', program.integer);\nconsole.log(\' float: %j\', program.float);\nconsole.log(\' optional: %j\', program.optional);\nprogram.range = program.range || [];\nconsole.log(\' range: %j..%j\', program.range[0], program.range[1]);\nconsole.log(\' list: %j\', program.list);\nconsole.log(\' args: %j\', program.args);\n\n\n## Custom help\n\n You can display arbitrary -h, --help information\n by listening for "--help". Commander will automatically\n exit once you are done so that the remainder of your program\n does not execute causing undesired behaviours, for example\n in the following executable "stuff" will not output when\n --help is used.\n\njs\n#!/usr/bin/env node\n\n/**\n * Module dependencies.\n */\n\nvar program = require(\'../\');\n\nfunction list(val) {\n return val.split(\',\').map(Number);\n}\n\nprogram\n .version(\'0.0.1\')\n .option(\'-f, --foo\', \'enable some foo\')\n .option(\'-b, --bar\', \'enable some bar\')\n .option(\'-B, --baz\', \'enable some baz\');\n\n// must be before .parse() since\n// node\'s emit() is immediate\n\nprogram.on(\'--help\', function(){\n console.log(\' Examples:\');\n console.log(\'\');\n console.log(\' $ custom-help --help\');\n console.log(\' $ custom-help -h\');\n console.log(\'\');\n});\n\nprogram.parse(process.argv);\n\nconsole.log(\'stuff\');\n\n\nyielding the following help output:\n\n\n\nUsage: custom-help [options]\n\nOptions:\n\n -h, --help output usage information\n -V, --version output the version number\n -f, --foo enable some foo\n -b, --bar enable some bar\n -B, --baz enable some baz\n\nExamples:\n\n $ custom-help --help\n $ custom-help -h\n\n\n\n## .prompt(msg, fn)\n\n Single-line prompt:\n\njs\nprogram.prompt(\'name: \', function(name){\n console.log(\'hi %s\', name);\n});\n\n\n Multi-line prompt:\n\njs\nprogram.prompt(\'description:\', function(name){\n console.log(\'hi %s\', name);\n});\n\n\n Coercion:\n\njs\nprogram.prompt(\'Age: \', Number, function(age){\n console.log(\'age: %j\', age);\n});\n\n\njs\nprogram.prompt(\'Birthdate: \', Date, function(date){\n console.log(\'date: %s\', date);\n});\n\n\n## .password(msg[, mask], fn)\n\nPrompt for password without echoing:\n\njs\nprogram.password(\'Password: \', function(pass){\n console.log(\'got "%s"\', pass);\n process.stdin.destroy();\n});\n\n\nPrompt for password with mask char "":\n\njs\nprogram.password(\'Password: \', \'_\', function(pass){\n console.log(\'got "%s"\', pass);\n process.stdin.destroy();\n});\n`\n\n## .confirm(msg, fn)\n\n Confirm with the given `msg`:\n\n`js\nprogram.confirm(\'continue? \', function(ok){\n console.log(\' got %j\', ok);\n});\n`\n\n## .choose(list, fn)\n\n Let the user choose from a `list`:\n\n`js\nvar list = [\'tobi\', \'loki\', \'jane\', \'manny\', \'luna\'];\n\nconsole.log(\'Choose the coolest pet:\');\nprogram.choose(list, function(i){\n console.log(\'you chose %d "%s"\', i, list[i]);\n});\n\n\n## Links\n\n - API documentation\n - ascii tables\n - progress bars\n - more progress bars\n - examples\n\n## License \n\n(The MIT License)\n\nCopyright (c) 2011 TJ Holowaychuk <[email protected]>\n\nPermission is hereby granted, free of charge, to any person obtaining\na copy of this software and associated documentation files (the\n'Software'), to deal in the Software without restriction, including\nwithout limitation the rights to use, copy, modify, merge, publish,\ndistribute, sublicense, and/or sell copies of the Software, and to\npermit persons to whom the Software is furnished to do so, subject to\nthe following conditions:\n\nThe above copyright notice and this permission notice shall be\nincluded in all copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,\nEXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\nMERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\nIN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\nCLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\nTORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\nSOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.',
99 silly resolved readmeFilename: 'Readme.md',
99 silly resolved _id: '[email protected]',
99 silly resolved _from: '[email protected]' } ]
100 info install [email protected] into C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave
101 info installOne [email protected]
102 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\commander\0.5.2\package\package.json
103 info C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander unbuild
104 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander\package.json
105 verbose tar unpack C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\commander\0.5.2\package.tgz
106 silly lockFile 4d414c6d--autosave-node-modules-commander C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander
107 verbose lock C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander C:\Users\presenjit.sharan\AppData\Roaming\npm-cache\4d414c6d--autosave-node-modules-commander.lock
108 silly gunzTarPerm modes [ '755', '644' ]
109 silly gunzTarPerm extractEntry package.json
110 silly gunzTarPerm modified mode [ 'package.json', 438, 420 ]
111 silly gunzTarPerm extractEntry .npmignore
112 silly gunzTarPerm modified mode [ '.npmignore', 438, 420 ]
113 silly gunzTarPerm extractEntry index.js
114 silly gunzTarPerm modified mode [ 'index.js', 438, 420 ]
115 silly gunzTarPerm extractEntry .travis.yml
116 silly gunzTarPerm modified mode [ '.travis.yml', 438, 420 ]
117 silly gunzTarPerm extractEntry History.md
118 silly gunzTarPerm modified mode [ 'History.md', 438, 420 ]
119 silly gunzTarPerm extractEntry lib/commander.js
120 silly gunzTarPerm modified mode [ 'lib/commander.js', 438, 420 ]
121 silly gunzTarPerm extractEntry Makefile
122 silly gunzTarPerm modified mode [ 'Makefile', 438, 420 ]
123 silly gunzTarPerm extractEntry Readme.md
124 silly gunzTarPerm modified mode [ 'Readme.md', 438, 420 ]
125 verbose read json C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander\package.json
126 silly lockFile 4d414c6d--autosave-node-modules-commander C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander
127 info preinstall [email protected]
128 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander\package.json
129 verbose readDependencies using package.json deps
130 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander\package.json
131 verbose readDependencies using package.json deps
132 silly resolved []
133 verbose about to build C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander
134 info build C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander
135 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules\commander\package.json
136 verbose linkStuff [ true,
136 verbose linkStuff 'C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules',
136 verbose linkStuff false,
136 verbose linkStuff 'C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\node_modules' ]
137 info linkStuff [email protected]
138 verbose linkBins [email protected]
139 verbose linkMans [email protected]
140 verbose rebuildBundles [email protected]
141 info install [email protected]
142 info postinstall [email protected]
143 verbose about to build C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave
144 info build C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave
145 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\package.json
146 verbose linkStuff [ true,
146 verbose linkStuff 'C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules',
146 verbose linkStuff true,
146 verbose linkStuff 'C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules' ]
147 info linkStuff [email protected]
148 verbose linkBins [email protected]
149 verbose link bins [ { autosave: './bin/autosave' },
149 verbose link bins 'C:\Users\presenjit.sharan\AppData\Roaming\npm',
149 verbose link bins true ]
150 verbose linkMans [email protected]
151 verbose rebuildBundles [email protected]
152 verbose rebuildBundles [ 'commander' ]
153 info install [email protected]
154 verbose unsafe-perm in lifecycle true
155 silly exec cmd "/c" "node ./scripts/install.js"
156 silly cmd,/c,node ./scripts/install.js,C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave spawning
157 info [email protected] Failed to exec install script
158 info C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave unbuild
159 verbose from cache C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules\autosave\package.json
160 info preuninstall [email protected]
161 info uninstall [email protected]
162 verbose true,C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules,C:\Users\presenjit.sharan\AppData\Roaming\npm\node_modules unbuild [email protected]
163 verbose C:\Users\presenjit.sharan\AppData\Roaming\npm,[object Object] binRoot
164 info postuninstall [email protected]
165 error [email protected] install:node ./scripts/install.js
165 errorcmd "/c" "node ./scripts/install.js" failed with 127
166 error Failed at the [email protected] install script.
166 error This is most likely a problem with the autosave package,
166 error not with npm itself.
166 error Tell the author that this fails on your system:
166 error node ./scripts/install.js
166 error You can get their info via:
166 error npm owner ls autosave
166 error There is likely additional logging output above.
167 error System Windows_NT 6.1.7601
168 error command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "-g" "autosave"
169 error cwd C:\Windows\system32
170 error node -v v0.8.15
171 error npm -v 1.1.66
172 error code ELIFECYCLE
173 verbose exit [ 1, true ]
<< End Log >>
Any solution for this one?
Same thing here running OS X Mountain Lion.
I downloaded the ZIP file and moved the enclosed "chrome-devtools-autosave-server-master" to my Documents folder.
cd to /bin or to the enclosing folder throws up all kinds of Errors (using with sudo)
- Are we all doing something terribly wrong? And where should we "change directory" to so that the command can find the right file to install?
0 info it worked if it ends with ok 1 verbose cli [ 'node', 1 verbose cli '/usr/local/bin/npm', 1 verbose cli 'install', 1 verbose cli '-g', 1 verbose cli 'autosave', 1 verbose cli '/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave' ] 2 info using [email protected] 3 info using [email protected] 4 verbose read json /usr/local/lib/package.json 5 verbose read json /usr/local/lib/package.json 6 verbose cache add [ 'autosave', null ] 7 verbose cache add name=undefined spec="autosave" args=["autosave",null] 8 verbose parsed url { pathname: 'autosave', path: 'autosave', href: 'autosave' } 9 verbose cache add [ '/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave', 9 verbose cache add null ] 10 verbose cache add name=undefined spec="/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave" args=["/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave",null] 11 verbose parsed url { pathname: '/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave', 11 verbose parsed url path: '/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave', 11 verbose parsed url href: '/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave' } 12 silly lockFile 20aa73aa-autosave autosave 13 verbose lock autosave /Users/jhk/.npm/20aa73aa-autosave.lock 14 silly lockFile 87741774-osave-server-master-bin-autosave /Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave 15 verbose lock /Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave /Users/jhk/.npm/87741774-osave-server-master-bin-autosave.lock 16 silly lockFile 20aa73aa-autosave autosave 17 silly lockFile 20aa73aa-autosave autosave 18 verbose addNamed [ 'autosave', '' ] 19 verbose addNamed [ null, '' ] 20 silly lockFile 31f87189-autosave autosave@ 21 verbose lock autosave@ /Users/jhk/.npm/31f87189-autosave.lock 22 silly addNameRange { name: 'autosave', range: '', hasData: false } 23 verbose url raw autosave 24 verbose url resolving [ 'https://registry.npmjs.org/', './autosave' ] 25 verbose url resolved https://registry.npmjs.org/autosave 26 info trying registry request attempt 1 at 16:41:53 27 verbose etag "60V72VQF7HERVE1YCQ3YUA80O" 28 http GET https://registry.npmjs.org/autosave 29 verbose chmod /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz 644 30 verbose tar unpack /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz 31 silly lockFile faa6bea2-3159-0-23015812993980944-package /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package 32 verbose lock /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package /Users/jhk/.npm/faa6bea2-3159-0-23015812993980944-package.lock 33 silly lockFile c039ff6b-3159-0-23015812993980944-tmp-tgz /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz 34 verbose lock /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz /Users/jhk/.npm/c039ff6b-3159-0-23015812993980944-tmp-tgz.lock 35 silly gunzTarPerm modes [ '755', '644' ] 36 verbose read json /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package/package.json 37 error not a package /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz 38 silly lockFile faa6bea2-3159-0-23015812993980944-package /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package 39 silly lockFile faa6bea2-3159-0-23015812993980944-package /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package 40 silly lockFile c039ff6b-3159-0-23015812993980944-tmp-tgz /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz 41 silly lockFile c039ff6b-3159-0-23015812993980944-tmp-tgz /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/tmp.tgz 42 silly lockFile 87741774-osave-server-master-bin-autosave /Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave 43 silly lockFile 87741774-osave-server-master-bin-autosave /Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave 44 error addLocal Could not install /Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave 45 error Error: ENOENT, open '/Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package/package.json' 46 error If you need help, you may report this log at: 46 error http://github.com/isaacs/npm/issues 46 error or email it to: 46 error [email protected] 47 error System Darwin 12.2.0 48 error command "node" "/usr/local/bin/npm" "install" "-g" "autosave" "/Users/jhk/Documents/chrome-devtools-autosave-server-master/bin/autosave" 49 error cwd /Users/jhk 50 error node -v v0.8.21 51 error npm -v 1.2.11 52 error path /Users/jhk/tmp/npm-6291/1361979713159-0.23015812993980944/package/package.json 53 error code ENOENT 54 error errno 34 55 verbose exit [ 34, true ]
Same here on Mountain Lion. Installs fine but as soon as I do sudo npm run-script -g autosave autostart I get:
npm ERR! Error: ENOENT, open '/usr/local/lib/node_modules/autosave/package.json'
npm ERR! If you need help, you may report this log at:
npm ERR! <http://github.com/isaacs/npm/issues>
npm ERR! or email it to:
npm ERR! <[email protected]>
npm ERR! System Darwin 12.4.0
npm ERR! command "node" "/usr/local/bin/npm" "run-script" "-g" "autosave" "autostart"
npm ERR! cwd /Users/xxxxxx
npm ERR! node -v v0.10.20
npm ERR! npm -v 1.3.11
npm ERR! path /usr/local/lib/node_modules/autosave/package.json
npm ERR! code ENOENT
npm ERR! errno 34
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/xxxxxx/npm-debug.log
npm ERR! not ok code 0
Hm, it works for me.
sudo npm run-script -g autosave autostart on Mac OS X runs https://github.com/NV/chrome-devtools-autosave-server/blob/master/scripts/autostart.sh#L4.
As a workaround you can manually put com.chrome.devtools.autosave.launchd.plist into $HOME/Library/LaunchAgents/ and do launchctl load "$HOME/Library/LaunchAgents/com.chrome.devtools.autosave.launchd"
If none of this work, you can manually start autosave by running autosave in the Terminal.