cozy / create-cozy-app

A CLI to bootstrap a "zero-configuration" application for the Cozy V3 platform
https://docs.cozy.io/en/tutorials/app/
MIT License
16 stars 15 forks source link

Tests failing on master on my machine #1283

Open ptbrowne opened 5 years ago

ptbrowne commented 5 years ago

Steps to reproduce

git clone git@github.com:cozy/create-cozy-app.git
cd create-cozy-app
yarn
yarn test

Here is the result

Test Suites: 1 failed, 1 total
Tests:       16 failed, 16 total

It is always the same kind of error.

  ● App from cozy-scripts › should run webpack.watch correctly with watch script

    Cannot find module '/private/tmp/create-cozy-app/.tmp_test/test-app/node_modules/cozy-scripts/scripts/watch.js' from 'scripts.spec.js'

  ● App from cozy-scripts › should correctly use the webpack-merge strategy if a __mergeStrategy property is found

    Cannot find module '/private/tmp/create-cozy-app/.tmp_test/test-app/node_modules/cozy-scripts/scripts/config.js' from 'scripts.spec.js'

Will investigate later but if somebody has already encountered the problem or can reproduce, I will be interested :)

ptbrowne commented 5 years ago

quentin Je crois qu'eric a aussi eu le souci récemment. Master est juste KO. Personne n'utilise la V2 on est tous sur la 1.12.X

eric J'ai eu des problèmes, liés à cozy-release je crois. Comme j'avais plus urgent à faire et que les modifs d'impacteraient que la prochaine fois qu'on créé des app, j'ai laissé de côté pour l'instant

https://mattermost.cozycloud.cc/cozycloud/pl/8ws3uhiyybn83qhmsnmcwsh4th

edas commented 5 years ago

Voir #1280 et #1281