[annotator-dev] error when installing on windows 7 64 bits

Benjamin Young bigbluehat at hypothes.is
Wed Aug 19 18:17:46 UTC 2015


Yeah! Another Windows user. ^_^

Are you using `npm` in cmd or PowerShell? Or are you using something like
the GitHub Bash Shell?

I've been able to stick with using GitHub's bash shell and haven't had any
build problems. Sadly, I forget (as it's been awhile) all the stuff I went
through to get things setup...

I've also used http://chocolatey.org/ for binary dependencies and the like.

As far as the `make` commands go, you may be better off using the Makefile
simply as documentation and running the commands referenced there "by hand."

Let me know how it goes!
Benjamin
--
Developer Advocate
http://hypothes.is/

On Wed, Aug 19, 2015 at 3:45 AM, <huangxclife at gmail.com> wrote:

> Sorry, seems I messed up some code. I downloaded a new version from
> github, and “npm install” passed! But npm test failed with error
> “./node_modules/karma/bin/karma start –single-run, ‘.’ Is not recognized as
> an internal or external command, operable program or batch file. Npm err!”.
> Also when “make”, said “The system cannot find the path specified.”
>
>
>
> How can I know which packages are built successfully?
>
>
>
> *From:* Randall Leeds [mailto:randall at bleeds.info]
> *Sent:* Wednesday, August 19, 2015 3:00 PM
>
> *To:* huangxclife at gmail.com; annotator-dev at lists.okfn.org
> *Subject:* Re: [annotator-dev] error when installing on windows 7 64 bits
>
>
>
> That looks like a strange error. Maybe with SSL and node, downloading
> packages is somehow a problem in your environment.
>
> Do other packages install successfully?
>
>
>
> On Tue, Aug 18, 2015, 23:17  <huangxclife at gmail.com> wrote:
>
> I was running “npm install .”, code version is 5e21….2fbe. I’ve never
> succeeded in this command on windows. But I was able to build it in my
> linux virtual machine.
>
>
>
> *From:* Randall Leeds [mailto:randall at bleeds.info]
> *Sent:* Wednesday, August 19, 2015 11:07 AM
> *To:* huangxclife at gmail.com; annotator-dev at lists.okfn.org
> *Subject:* Re: [annotator-dev] error when installing on windows 7 64 bits
>
>
>
> Can you say what commands you've run and what version of annotator, please?
>
>
>
> On Mon, Aug 17, 2015, 01:51  <huangxclife at gmail.com> wrote:
>
> Has anyone successfully installed annotator on windows 7 with 64 bits? I
> couldn’t find a solution for the following error. Any one knows why?
>
>
>
> 936 silly gunzTarPerm extractEntry README.md
>
> 63937 silly gunzTarPerm modified mode [ 'README.md', 420, 438 ]
>
> 63938 silly gunzTarPerm extractEntry LICENSE
>
> 63939 silly gunzTarPerm modified mode [ 'LICENSE', 420, 438 ]
>
> 63940 verbose stack TypeError: Cannot read property 'emit' of null
>
> 63940 verbose stack     at TLSSocket.connectionErrorHandler (D:\Program
> Files\nodejs\node_modules\npm\node_modules\request\request.js:206:24)
>
> 63940 verbose stack     at TLSSocket.g (events.js:199:16)
>
> 63940 verbose stack     at TLSSocket.emit (events.js:129:20)
>
> 63940 verbose stack     at net.js:459:14
>
> 63940 verbose stack     at process._tickCallback (node.js:355:11)
>
> 63941 verbose cwd D:\GitHub\browser-addon\annotator
>
> 63942 error Windows_NT 6.1.7601
>
> 63943 error argv "D:\\Program Files\\nodejs\\\\node.exe" "D:\\Program
> Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "."
>
> 63944 error node v0.12.7
>
> 63945 error npm  v2.11.3
>
> 63946 error Cannot read property 'emit' of null
>
> 63947 error If you need help, you may report this error at:
>
> 63947 error     <https://github.com/npm/npm/issues>
>
> 63948 verbose exit [ 1, true ]
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
>
>
> _______________________________________________
> annotator-dev mailing list
> annotator-dev at lists.okfn.org
> https://lists.okfn.org/mailman/listinfo/annotator-dev
> Unsubscribe: https://lists.okfn.org/mailman/options/annotator-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/annotator-dev/attachments/20150819/37d7c79e/attachment-0003.html>


More information about the annotator-dev mailing list