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
Bug report: test failures. The author of object.getprototypeof was kind enough to publish a workaround, so projects work again. But they have been broken for 4 months until today as far as I can tell (date of publish of is-equal 1.6.2, using object.getprototypeof). See 1.6.2 tests don't start (project create with nwb) inspect-js/is-equal#77 for some insights.
REPRO
$ nwb new react-app tuu
# edit package.json to use object.getprototypeof 1.0.1
$ npm run test
> [email protected] test /tmp/bar/tuu
> nwb test-react
START:
08 09 2021 17:36:46.891:INFO [karma-server]: Karma v5.0.9 server started at http://0.0.0.0:9876/
08 09 2021 17:36:46.892:INFO [launcher]: Launching browsers PhantomJS with concurrency unlimited
08 09 2021 17:36:46.916:INFO [launcher]: Starting browser PhantomJS
08 09 2021 17:36:47.127:INFO [PhantomJS 2.1.1 (Linux x86_64)]: Connected on socket GChCaIIaxtzq9rV4AAAA with id 41645376
PhantomJS 2.1.1 (Linux x86_64) ERROR
TypeError: Object is not a function (evaluating 'getPolyfill()')
at webpack:///usr/local/lib/node_modules/nwb/node_modules/reflect.getprototypeof/index.js:10:1 <- tests/App.test.js:6830:33
Finished in 0.218 secs / 0 secs @ 17:36:47 GMT+0200 (heure d’été d’Europe centrale)
SUMMARY:
✔ 0 tests completed
Karma exit code was 1
Is the version of nwb you're using installed globally or locally?
globally
Which versions of Node.js, npm and nwb are you using (if using it globally)?
This issue is a:
REPRO
Is the version of
nwb
you're using installed globally or locally?globally
Which versions of Node.js, npm and nwb are you using (if using it globally)?
Which modules are installed in your project?
none
Try setting the
DEBUG
environment variable tonwb
before running to check what generated configuration looks like:The text was updated successfully, but these errors were encountered: