You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ npm -g i '8eecf0d2/netlify-local'npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/netlify-local/node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})npm ERR! path /usr/local/lib/node_modules/netlify-local/.dist/cli.jsnpm ERR! code ENOENTnpm ERR! errno -2npm ERR! syscall chmodnpm ERR! enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/netlify-local/.dist/cli.js'npm ERR! enoent This is related to npm not being able to find a file.npm ERR! enoentnpm ERR! A complete log of this run can be found in:npm ERR! /root/.npm/_logs/2018-12-12T13_20_46_337Z-debug.log
Tail of the debug log
10944 info linkStuff [email protected]10945 silly linkStuff [email protected] has /usr/local/lib/node_modules/netlify-local/node_modules as its parent node_modules10946 silly linkStuff [email protected] is part of a global install10947 silly linkStuff [email protected] is installed into a global node_modules10948 verbose linkBins [ { webpack: './bin/webpack.js' },10948 verbose linkBins '/usr/local/lib/node_modules/netlify-local/node_modules/.bin',10948 verbose linkBins false ]10949 silly build [email protected]10950 info linkStuff [email protected]10951 silly linkStuff [email protected] has /usr/local/lib/node_modules as its parent node_modules10952 silly linkStuff [email protected] is part of a global install10953 silly linkStuff [email protected] is installed into a global node_modules10954 silly linkStuff [email protected] is installed into the top-level global node_modules10955 verbose linkBins [ { 'netlify-local': '.dist/cli.js' }, '/usr/local/bin', true ]10956 timing action:build Completed in 126ms10957 verbose unlock done using /root/.npm/_locks/staging-3a08f0df5026584d.lock for /usr/local/lib/node_modules/.staging10958 timing stage:rollbackFailedOptional Completed in 652ms10959 timing stage:runTopLevelLifecycles Completed in 46801ms10960 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules/netlify-local/node_modules/fsevents):10961 warn notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})10962 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid OS: darwin10962 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Valid Arch: any10962 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual OS: linux10962 verbose notsup SKIPPING OPTIONAL DEPENDENCY: Actual Arch: x6410963 verbose stack Error: ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/netlify-local/.dist/cli.js'10964 verbose cwd /root10965 verbose Linux 4.19.7-1-default10966 verbose argv "/usr/bin/node10" "/usr/bin/npm-default" "-g" "i" "8eecf0d2/netlify-local"10967 verbose node v10.13.010968 verbose npm v6.4.110969 error path /usr/local/lib/node_modules/netlify-local/.dist/cli.js10970 error code ENOENT10971 error errno -210972 error syscall chmod10973 error enoent ENOENT: no such file or directory, chmod '/usr/local/lib/node_modules/netlify-local/.dist/cli.js'10974 error enoent This is related to npm not being able to find a file.10975 verbose exit [ -2, true ]
The text was updated successfully, but these errors were encountered:
My main reason for not committing build output is I don't see git not as a distribution target for this project (although I have used git for distribution in the past.)
If you have a real use case I'd be open to changing my mind but otherwise prefer to keep ignoring build output.
It is usually possible to support repo installs without pushing build artifacts, using post-install steps. I've only done it a few times, so I cant be certain it will work here. I'm happy to give it a go.
It can be quite helpful to do repo installs
Tail of the debug log
The text was updated successfully, but these errors were encountered: