Giter VIP home page Giter VIP logo

aout3-samples's People

Contributors

mike-holcomb avatar royosherove avatar vkhorikov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

aout3-samples's Issues

The ch1 sample stops with error

The linter appears to run over all of the folders in the project. The command npm run ch1 fails with an error. Here is the log:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/Users/mike/.nvm/versions/node/v13.1.0/bin/node',
1 verbose cli '/Users/mike/.nvm/versions/node/v13.1.0/bin/npm',
1 verbose cli 'run',
1 verbose cli 'ch1'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prech1', 'ch1', 'postch1' ]
5 info lifecycle [email protected]prech1: [email protected]
6 info lifecycle [email protected]
ch1: [email protected]
7 verbose lifecycle [email protected]ch1: unsafe-perm in lifecycle true
8 verbose lifecycle [email protected]
ch1: PATH: [omit]
9 verbose lifecycle [email protected]ch1: CWD: /Users/mike/projects/aout3-samples
10 silly lifecycle [email protected]
ch1: Args: [
10 silly lifecycle '-c',
10 silly lifecycle 'semistandard --fix && node ./ch1/custom-test-phase1.js && node ./ch1/custom-test-phase2.js && node ./ch1/custom-test-phase3.js'
10 silly lifecycle ]
11 silly lifecycle [email protected]ch1: Returned: code: 1 signal: null
12 info lifecycle [email protected]
ch1: Failed to exec ch1 script
13 verbose stack Error: [email protected] ch1: semistandard --fix && node ./ch1/custom-test-phase1.js && node ./ch1/custom-test-phase2.js && node ./ch1/custom-test-phase3.js
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (/Users/mike/.nvm/versions/node/v13.1.0/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:210:5)
13 verbose stack at ChildProcess. (/Users/mike/.nvm/versions/node/v13.1.0/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:210:5)
13 verbose stack at maybeClose (internal/child_process.js:1028:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid [email protected]
15 verbose cwd /Users/mike/projects/aout3-samples
16 verbose Darwin 18.6.0
17 verbose argv "/Users/mike/.nvm/versions/node/v13.1.0/bin/node" "/Users/mike/.nvm/versions/node/v13.1.0/bin/npm" "run" "ch1"
18 verbose node v13.1.0
19 verbose npm v6.12.1
20 error code ELIFECYCLE
21 error errno 1
22 error [email protected] ch1: semistandard --fix && node ./ch1/custom-test-phase1.js && node ./ch1/custom-test-phase2.js && node ./ch1/custom-test-phase3.js
22 error Exit status 1
23 error Failed at the [email protected] ch1 script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]

Here is a portion of what prints to stdout:

semistandard: Semicolons For All! (https://github.com/Flet/semistandard)
/Users/mike/projects/aout3-samples/ch2/tests/hellojest.test.js:1:1: 'test' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/hellojest.test.js:2:3: 'expect' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:3:1: 'describe' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:4:3: 'test' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:6:5: 'expect' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:8:3: 'test' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:10:5: 'expect' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:12:3: 'test' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:14:5: 'expect' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:18:1: 'describe' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:19:3: 'test' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:21:5: 'expect' is not defined.
/Users/mike/projects/aout3-samples/ch2/tests/password-rules.spec.js:24:3: 'test' is not defined.

Dependency installation fails on fresh clone

Cloning the repository and trying to install dependencies currently fails with a conflicting dependency. The culprit is the jasmine and jasmine-auto-spies pair.

$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/jasmine
npm ERR!   dev jasmine@"^4.4.0" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer jasmine@">=2.6.0 <=3.5.0" from [email protected]
npm ERR! node_modules/jasmine-auto-spies
npm ERR!   dev jasmine-auto-spies@"^5.4.0" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: [email protected]
npm ERR! node_modules/jasmine
npm ERR!   peer jasmine@">=2.6.0 <=3.5.0" from [email protected]
npm ERR!   node_modules/jasmine-auto-spies
npm ERR!     dev jasmine-auto-spies@"^5.4.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

[email protected] requires a lower version of jasmine than is specified.

Updating jasmine to ^5.1.0 and jasmine-auto-spies to ^8.0.1 allows for installation to proceed as expected. I am not sure if any functionality is affected by these upgrades.

This seems rather high-priority given the book just released!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.