quasarframework / quasar-ui-qcalendar

QCalendar - Quasar App Extension, Vue CLI plug-in and UMD distributions available
https://quasarframework.github.io/quasar-ui-qcalendar
MIT License
441 stars 123 forks source link

cannot run quasar dev after updating to 1.0.2 #22

Closed fansanelli closed 5 years ago

fansanelli commented 5 years ago

Describe the bug after updating to latest version (@quasar/quasar-app-extension-qcalendar@1.0.2) of the component i get:

⚠️ Missing .babelrc file...

after running: $ quasar dev

To Reproduce update component and run quasar dev

Expected behavior doesn't give errors

Screenshots

Desktop (please complete the following information):

Smartphone (please complete the following information):

Additional context haven't test on a clean build

hawkeye64 commented 5 years ago

That's interesting, since the demo is using Quasar which produces a babel.config.js instead of the .babelrc. Any chance you are using npm? If so, remove node_modules and the lock file and re-install with yarn.

cjmendoza commented 5 years ago

Tried what was suggested and did not work. Problem shows a little different in the console errors: Uncaught SyntaxError: Unexpected token ... at Object../node_modules/quasar-mixin-colorize/src/index.js (app.js:7154) at webpack_require (app.js:1476) at fn (app.js:833) at eval (webpack-internal:///./node_modules/@quasar/quasar-app-extension-qcalendar/src/component/mixins/calendar-base.js:19) at Module../node_modules/@quasar/quasar-app-extension-qcalendar/src/component/mixins/calendar-base.js (app.js:2308) at webpack_require (app.js:1476) at fn (app.js:833) at eval (webpack-internal:///./node_modules/@quasar/quasar-app-extension-qcalendar/src/component/QCalendar.js:16) at Module../node_modules/@quasar/quasar-app-extension-qcalendar/src/component/QCalendar.js (app.js:2192) at __webpack_require__ (app.js:1476)

hawkeye64 commented 5 years ago

This appears to be an issue with quasar-mixin-colorize

Uncaught SyntaxError: Unexpected token ...

I'd like to know more about this error if you can track down the line. I know...javascript doesn't give much to go on... :(

cjmendoza commented 5 years ago

"use strict"; eval("webpack_require.r(webpack_exports);\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"isNamedCssColor\", function() { return isNamedCssColor; });\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"isCssColor\", function() { return isCssColor; });\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"isCssVar\", function() { return isCssVar; });\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"calculateColor\", function() { return calculateColor; });\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"makeQuasarColorVar\", function() { return makeQuasarColorVar; });\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"Colorize\", function() { return Colorize; });\n/ harmony export (binding) / webpack_require.d(webpack_exports, \"Theme\", function() { return Theme; });\n/ harmony import / var vueWEBPACK_IMPORTED_MODULE_0 = webpack_require(/! vue / \"./node_modules/vue/dist/vue.runtime.esm.js\");\n\n\nconst CSS_COLOR_NAMES = ['aliceblue', 'antiquewhite', 'aqua', 'aquamarine', 'azure', 'beige', 'bisque', 'black', 'blanchedalmond', 'blue', 'blueviolet', 'brown', 'burlywood', 'cadetblue', 'chartreuse', 'chocolate', 'coral', 'cornflowerblue', 'cornsilk', 'crimson', 'cyan', 'darkblue', 'darkcyan', 'darkgoldenrod', 'darkgray', 'darkgrey', 'darkgreen', 'darkkhaki', 'darkmagenta', 'darkolivegreen', 'darkorange', 'darkorchid', 'darkred', 'darksalmon', 'darkseagreen', 'darkslateblue', 'darkslategray', 'darkslategrey', 'darkturquoise', 'darkviolet', 'deeppink', 'deepskyblue', 'dimgray', 'dimgrey', 'dodgerblue', 'firebrick', 'floralwhite', 'forestgreen', 'fuchsia', 'gainsboro', 'ghostwhite', 'gold', 'goldenrod', 'gray', 'grey', 'green', 'greenyellow', 'honeydew', 'hotpink', 'indianred', 'indigo', 'ivory', 'khaki', 'lavender', 'lavenderblush', 'lawngreen', 'lemonchiffon', 'lightblue', 'lightcoral', 'lightcyan', 'lightgoldenrodyellow', 'lightgray', 'lightgrey', 'lightgreen', 'lightpink', 'lightsalmon', 'lightseagreen', 'lightskyblue', 'lightslategray', 'lightslategrey', 'lightsteelblue', 'lightyellow', 'lime', 'limegreen', 'linen', 'magenta', 'maroon', 'mediumaquamarine', 'mediumblue', 'mediumorchid', 'mediumpurple', 'mediumseagreen', 'mediumslateblue', 'mediumspringgreen', 'mediumturquoise', 'mediumvioletred', 'midnightblue', 'mintcream', 'mistyrose', 'moccasin', 'navajowhite', 'navy', 'oldlace', 'olive', 'olivedrab', 'orange', 'orangered', 'orchid', 'palegoldenrod', 'palegreen', 'paleturquoise', 'palevioletred', 'papayawhip', 'peachpuff', 'peru', 'pink', 'plum', 'powderblue', 'purple', 'red', 'rosybrown', 'royalblue', 'saddlebrown', 'salmon', 'sandybrown', 'seagreen', 'seashell', 'sienna', 'silver', 'skyblue', 'slateblue', 'slategray', 'slategrey', 'snow', 'springgreen', 'steelblue', 'tan', 'teal', 'thistle', 'tomato', 'turquoise', 'violet', 'wheat', 'white', 'whitesmoke', 'yellow', 'yellowgreen']\n\nfunction isNamedCssColor (color) {\n return !!color && CSS_COLOR_NAMES.includes(color.toLowerCase())\n}\n\nfunction isCssColor (color) {\n return !!color && (!!color.match(/^(#|(rgb|hsl)a?\()/) || isNamedCssColor(color))\n}\n\nfunction isCssVar (color) {\n return !!color && color.startsWith('--')\n}\n\nfunction calculateColor (color, defaultColor = 'black') {\n return color === void 0 && defaultColor !== void 0 // safety net\n ? calculateColor(defaultColor)\n : isCssColor(color)\n ? color\n : makeQuasarColorVar(color, defaultColor)\n}\n\nfunction makeQuasarColorVar (color, defaultColor) {\n const varStr = isCssVar(color)\n ? color\n : --q-color-${color}\n\n return var(${varStr}, '${defaultColor}')\n}\n\nconst Colorize = vueWEBPACK_IMPORTED_MODULE_0[\"default\"].extend({\n name: 'colorize',\n\n props: {\n color: String\n },\n\n methods: {\n isValidCssColor (color) {\n return isCssColor(color) || isCssVar(color)\n },\n\n setBothColors (color, bgColor, data = {}) {\n return this.setTextColor(color, this.setBackgroundColor(bgColor, data))\n },\n\n setBackgroundColor (color, data = {}) {\n if (this.isValidCssColor(color)) {\n const calcColor = calculateColor(color)\n data.style = {\n ...data.style,\n 'background-color': ${calcColor}\n }\n } else if (color) {\n const colorName = color.toString().trim()\n data.class = {\n ...data.class,\n ['bg-' + colorName]: true\n }\n }\n\n return data\n },\n\n setTextColor (color, data = {}) {\n if (this.isValidCssColor(color)) {\n const calcColor = calculateColor(color)\n data.style = {\n ...data.style,\n 'color': ${calcColor},\n 'caret-color': ${calcColor}\n }\n } else if (color) {\n const colorName = color.toString().trim()\n data.class = {\n ...data.class,\n ['text-' + colorName]: true\n }\n }\n return data\n }\n }\n})\n\nconst Theme = vue__WEBPACK_IMPORTED_MODULE_0[\"default\"].extend({\n name: 'theme',\n\n props: {\n theme: {\n type: Object,\n default: () => {}\n },\n enableTheme: Boolean\n },\n\n methods: {\n // this function exists for performance reasons. If you do not\n // desire the performance hit of theming, be sure to set\n // the property 'enable-themes' to false (default).\n useDefaultTheme (color, bgColor, data = {}) {\n return data\n },\n\n getThemeColors (keys = []) {\n const colors = new Map()\n if (this.enableTheme === true && this.theme !== void 0) {\n keys.forEach((key) => {\n colors.set(key, this.theme[key])\n })\n }\n return colors\n }\n }\n})\n\n//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiLi9ub2RlX21vZHVsZXMvcXVhc2FyLW1peGluLWNvbG9yaXplL3NyYy9pbmRleC5qcy5qcyIsInNvdXJjZXMiOlsid2VicGFjazovLy8uL25vZGVfbW9kdWxlcy9xdWFzYXItbWl4aW4tY29sb3JpemUvc3JjL2luZGV4LmpzP2RkYTYiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFZ1ZSBmcm9tICd2dWUnXG5cbmNvbnN0IENTU19DT0xPUl9OQU1FUyA9IFsnYWxpY2VibHVlJywgJ2FudGlxdWV3aGl0ZScsICdhcXVhJywgJ2FxdWFtYXJpbmUnLCAnYXp1cmUnLCAnYmVpZ2UnLCAnYmlzcXVlJywgJ2JsYWNrJywgJ2JsYW5jaGVkYWxtb25kJywgJ2JsdWUnLCAnYmx1ZXZpb2xldCcsICdicm93bicsICdidXJseXdvb2QnLCAnY2FkZXRibHVlJywgJ2NoYXJ0cmV1c2UnLCAnY2hvY29sYXRl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QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7QUFDQTtBQUNBO0FBQ0E7Iiwic291cmNlUm9vdCI6IiJ9\n//# sourceURL=webpack-internal:///./node_modules/quasar-mixin-colorize/src/index.js\n");

hawkeye64 commented 5 years ago

Yeah, that's not helping me.

This is in your own app or running the demo?

cjmendoza commented 5 years ago

My own

hawkeye64 commented 5 years ago

Is there a repo I can check it out?

cjmendoza commented 5 years ago

I can try to put something together for you. The app is pretty large. Was working fine with beta version.

hawkeye64 commented 5 years ago

Let me know when available. You can DM me on Discord for faster service if you like.

fansanelli commented 5 years ago

Feel free to close this issue. My bad.. I was trying to keep 2 version of quasar and messed things

cjmendoza commented 5 years ago

Any way to install an older version to try out and verify if it is colorize mixin problem?

hawkeye64 commented 5 years ago

@cjmendoza I git cloned app-extension-qcalendar and built the demo without issues. And, the interactive demo is running fine, also without issues (https://quasarframework.github.io/app-extension-qcalendar). So, I can't imagine what it may be. Plus, all the App Extensions I have github pages for use the App extension QRibbon, that is using quasar-mixin-colorize and they are all working. That being said, I have seen NPM have issues with dependencies of dependencies, especially on windows. My guess you are using NPM and not yarn. If this is the case, can you

  1. Install yarn if you do not already have it
  2. Remove your node_modules and package-clock.json
  3. Install by issuing: yarn --force

Let me know if that works out for you.

cjmendoza commented 5 years ago

FYI I ran with v1.0.0 and it works fine.

hawkeye64 commented 5 years ago

@cjmendoza So, you're saying after 1.0.0 it is broken? Are you builing SSR or PWA, or rather, anything that is not raw SPA?

cjmendoza commented 5 years ago

I am running SPA. Tried 1.0.2 and did not work. 1.0.0 works fine.

hawkeye64 commented 5 years ago

@cjmendoza I just did this: quasar create calendar-test accepted all defaults, then in 'calendar-test' folder: quasar ext add @quasar/qcalendar in src/Pages/Index.js - replaced template code with this:

<template>
  <q-page class="flex items-start">
    <q-calendar />
  </q-page>
</template>

in terminal: quasar dev It builds and comes up fine with no issues. No errors or warnings in chrome dev tools. I can't imagine what might be causing your issues.

What OS? What browser? and post contents of quasar info for me please. Let's try to get this nailed down.

hawkeye64 commented 5 years ago

@cjmendoza @fansanelli Fixed in v1.0.5 - please test https://github.com/quasarframework/app-extension-qcalendar/releases/tag/v1.0.5