-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running Locally Throws CssSyntaxError #9
Comments
In the webpack.config.js, I removed this rule:
And it cleared up. Seems to be related to a larger problem with webpack: webpack-contrib/css-loader#362 |
Also tried upgrading the components, but made no difference: |
I was unable to reproduce this issue. I'm using yarn 1.22.10 and node 14.15.0 on osx. Here were the commands I ran: ~/c/vue-mf-styleguide (master|✔) [130] $ yarn --version
1.22.10
~/c/vue-mf-styleguide (master|✔) $ node --version
v14.15.0
~/c/vue-mf-styleguide (master|✔) $ rm -rf node_modules
yarn install
~/c/vue-mf-styleguide (master|✔) $ yarn install
yarn install v1.22.10
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
[4/4] 🔨 Building fresh packages...
✨ Done in 18.99s.
~/c/vue-mf-styleguide (master|✔) $ yarn start
yarn run v1.22.10
$ webpack-dev-server
(node:41747) DeprecationWarning: Tapable.plugin is deprecated. Use new API on `.hooks` instead
(Use `node --trace-deprecation ...` to show where the warning was created)
ℹ 「wds」: Project is running at http://localhost:8080/
ℹ 「wds」: webpack output is served from /
ℹ 「wds」: Content not from webpack is served from /Users/joeldenning/code/vue-mf-styleguide
Browserslist: caniuse-lite is outdated. Please run the following command: `yarn upgrade`
ℹ 「wdm」: Hash: 49e9a5d2f46c989cb3f5
Version: webpack 4.41.5
Time: 1701ms
Built at: 12/22/2020 11:26:57 AM
Asset Size Chunks Chunk Names
vue-mf-styleguide.js 380 KiB main [emitted] main
vue-mf-styleguide.js.map 420 KiB main [emitted] [dev] main
Entrypoint main = vue-mf-styleguide.js vue-mf-styleguide.js.map
[0] multi (webpack)-dev-server/client?http://localhost:8080 ./src/vue-mf-styleguide.js 40 bytes {main} [built]
[./node_modules/ansi-html/index.js] 4.16 KiB {main} [built]
[./node_modules/webpack-dev-server/client/index.js?http://localhost:8080] (webpack)-dev-server/client?http://localhost:8080 4.29 KiB {main} [built]
[./node_modules/webpack-dev-server/client/overlay.js] (webpack)-dev-server/client/overlay.js 3.51 KiB {main} [built]
[./node_modules/webpack-dev-server/client/socket.js] (webpack)-dev-server/client/socket.js 1.53 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/createSocketUrl.js] (webpack)-dev-server/client/utils/createSocketUrl.js 2.91 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/log.js] (webpack)-dev-server/client/utils/log.js 964 bytes {main} [built]
[./node_modules/webpack-dev-server/client/utils/reloadApp.js] (webpack)-dev-server/client/utils/reloadApp.js 1.59 KiB {main} [built]
[./node_modules/webpack-dev-server/client/utils/sendMessage.js] (webpack)-dev-server/client/utils/sendMessage.js 402 bytes {main} [built]
[./node_modules/webpack-dev-server/node_modules/strip-ansi/index.js] (webpack)-dev-server/node_modules/strip-ansi/index.js 161 bytes {main} [built]
[./node_modules/webpack/hot sync ^\.\/log$] (webpack)/hot sync nonrecursive ^\.\/log$ 170 bytes {main} [built]
[./src/component-library/page-header.vue] 1.23 KiB {main} [built]
[./src/global.css] 573 bytes {main} [built]
[./src/set-public-path.js] 94 bytes {main} [built]
[./src/vue-mf-styleguide.js] 217 bytes {main} [built]
+ 34 hidden modules
ℹ 「wdm」: Compiled successfully. What version of Node are you using? And what OS? |
macOS Mojave 10.14.6 I was able to reproduce this by deleting the yarn.lock and node_modules and rebuilding both with |
Glad to hear this was resolved. If the yarn.lock has issues, we should update it. Care to send in a PR with the changes? |
Took a fresh pull of the master branch and ran through the directions on the readme to install and run this webpack app.
The text was updated successfully, but these errors were encountered: