Quantcast
Channel: fritzing forum - Latest posts
Viewing all articles
Browse latest Browse all 29719

Fritzing2Web - looking for contributors

$
0
0

I followed the first install procedure in the readme.md on Win7pro:

Try and install it on Windows.

Use the first method so install yarn

Use the first method (the installer)

First install Node.js from

https://nodejs.org/en/

download node-v8.10.0-x64.msi

run the installer to install it.

Appears to have installed correctly.

back to

Download yarn-1.5.1.msi

run the installer to install it.

install git for dos from

https://git-scm.com/downloads

Git-2.15.1.2-64-bit.exe

and install it.

In my case I installed gnu make from

http://gnuwin32.sourceforge.net/packages/make.htm

(your make should do the same I expect)

make-3.81.exe

and added it to my windows path (which it doesn’t do by itself) then in a git command prompt (because the code wants git to be available). Then I changed in to the repository directory in the git cmd window and I ran
from a command prompt?

yarn add fritzing/fritzing-parts-api-client-js

then the make test that @paulvollmer suggested above that I run. That creates this error:

C:\Users\Owner\fritzing-parts-api-client-js>make test
FAIL test\index.test.js
● Test suite failed to run

TypeError: C:/Users/Owner/fritzing-parts-api-client-js/src/index.js: Cannot

read property ‘some’ of undefined

  at VisitState.onEnter (node_modules/istanbul-lib-instrument/dist/visitor.j

s:141:72)
at VisitState.wrappedEntry (node_modules/istanbul-lib-instrument/dist/visi
tor.js:336:14)
at NodePath._call (node_modules/babel-traverse/lib/path/context.js:76:18)
at NodePath.call (node_modules/babel-traverse/lib/path/context.js:48:17)
at NodePath.visit (node_modules/babel-traverse/lib/path/context.js:105:12)

  at TraversalContext.visitQueue (node_modules/babel-traverse/lib/context.js

:150:16)
at TraversalContext.visitSingle (node_modules/babel-traverse/lib/context.j
s:108:19)
at TraversalContext.visit (node_modules/babel-traverse/lib/context.js:192:
19)
at Function.traverse.node (node_modules/babel-traverse/lib/index.js:114:17
)
at NodePath.visit (node_modules/babel-traverse/lib/path/context.js:115:19)

----------|----------|----------|----------|----------|-------------------|

File % Stmts % Branch % Funcs % Lines Uncovered Line #s
All files 0 0 0 0
---------- ---------- ---------- ---------- ---------- -------------------

Test Suites: 1 failed, 1 total
Tests: 0 total
Snapshots: 0 total
Time: 7.285s
Ran all test suites.
make: *** [test] Error 1

C:\Users\Owner\fritzing-parts-api-client-js>

Hopefully that will mean something to him (it doesn’t to me other than it isn’t happy about something :slight_smile: ).

Peter


Viewing all articles
Browse latest Browse all 29719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>