Skip to content
This repository was archived by the owner on Feb 17, 2022. It is now read-only.

Conversation

@paulathevalley
Copy link
Contributor

Since .css files are only used for the demo, move the loaders to devDependencies and remove them from the root webpack config.

@paulathevalley
Copy link
Contributor Author

paulathevalley commented Sep 21, 2017

Remember how node v6 was failing (#96)? Now it’s passing, but node v4 is failing!

👉 https://travis-ci.org/FormidableLabs/component-playground/jobs/278014606#L558

21 09 2017 02:04:32.985:INFO [karma]: Karma v0.13.22 server started at http://localhost:9999/
21 09 2017 02:04:32.993:INFO [launcher]: Starting browser PhantomJS
21 09 2017 02:04:32.998:ERROR [launcher]: No binary for PhantomJS browser on your platform.
  Please, set "PHANTOMJS_BIN" env variable.
21 09 2017 02:04:33.000:ERROR [launcher]: [TypeError: Cannot read property 'stderr' of undefined]
TypeError: Cannot read property 'stderr' of undefined
    at Object._start (/home/travis/build/FormidableLabs/component-playground/node_modules/karma-phantomjs-launcher/index.js:82:18)

Furthermore, if you swap out yarn run check-ci for npm run check-ci, then node v4 passes again. 👉 https://travis-ci.org/FormidableLabs/component-playground/builds/278013684

"mocha": "^2.2.5",
"opener": "^1.4.1",
"phantomjs": "^1.9.17",
"phantomjs-prebuilt": "^2.1.15",
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Evidently yarn can build phantomjs-prebuilt but not phantomjs!

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phantomjs is deprecated. phantomjs-prebuilt is the modern version.

@paulathevalley
Copy link
Contributor Author

Ready for review!

Copy link
Member

@ryan-roemer ryan-roemer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just one minor nit for Travis. Rest LGTM without re-review.

# Disabling tests on node6 until #96 is resolved
#- "6"
- 4
- 6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add - 8 please.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 ✅

"style-loader": "~0.8.0",
"url-loader": "~0.5.5",
"webpack": "^1.10.0"
"webpack": "^1.12.3"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we ticket out upgrading to webpack@3 later?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done: #102

@paulathevalley paulathevalley merged commit 55850d2 into master Sep 21, 2017
@paulathevalley paulathevalley deleted the task-updateCSSdeps branch September 21, 2017 17:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants