Closed averri closed 5 years ago
I seem to remember a while back someone else had a similar problem because they were trying to install on windows in a similar path
@nothingismagick, thanks for that, but it didn't work.
There is definitely something wrong with your setup, because I got confirmation from multiple Windows 10 users (and also tested myself on a Win 10 in a VM) that it works correctly.
What does goodluck contain? Can you post the output of a dir
command inside of it? Quasar seems to not recognize that newly created folder as a quasar project.
This is currently in discussion right now in #v1-beta
This is the contents of the goodluck
dir:
drwxr-xr-x 1 ealverr 1049089 0 Apr 24 23:08 src/
-rw-r--r-- 1 ealverr 1049089 1348 Apr 24 23:08 .eslintrc.js
-rw-r--r-- 1 ealverr 1049089 20 Apr 24 23:08 README.md
-rw-r--r-- 1 ealverr 1049089 3598 Apr 24 23:08 quasar.conf.js
-rw-r--r-- 1 ealverr 1049089 69 Apr 24 23:08 babel.config.js
-rw-r--r-- 1 ealverr 1049089 815 Apr 24 23:08 .stylintrc
-rw-r--r-- 1 ealverr 1049089 200 Apr 24 23:08 .postcssrc.js
-rw-r--r-- 1 ealverr 1049089 258 Apr 24 23:08 .gitignore
-rw-r--r-- 1 ealverr 1049089 6 Apr 24 23:08 .eslintignore
-rw-r--r-- 1 ealverr 1049089 147 Apr 24 23:08 .editorconfig
-rw-r--r-- 1 ealverr 1049089 901 Apr 24 23:08 package.json
drwxr-xr-x 1 ealverr 1049089 0 Apr 24 23:09 node_modules/
drwxr-xr-x 1 ealverr 1049089 0 Apr 24 23:09 ./
-rw-r--r-- 1 ealverr 1049089 337264 Apr 24 23:09 yarn.lock
drwxr-xr-x 1 ealverr 1049089 0 Apr 24 23:17 ../
=> Trigger this inside of a Quasar project for more commands. So far I just pointed out you are not in quasar project directory, Or what quasar-cli thinks. Can you share the package.json file?
Are you running git bash as admin? On my Win 10 system, I had to make sure any programs I run for development need to be ran in admin mode.
Scott
@smolinari That's also a good point, But just to inform that am using quasar v1 and mostly use PowerShell without admin mode.
Are you running git bash as admin? On my Win 10 system, I had to make sure any programs I run for development need to be ran in admin mode.
Scott
Yes, I have tested using admin mode and the same issue happens. Thanks for commenting.
=> Trigger this inside of a Quasar project for more commands. So far I just pointed out you are not in quasar project directory, Or what quasar-cli thinks. Can you share the package.json file?
I'm sure I'm in a Quasar directory. The quasar-cli does not recognize it as is.
This is the contents of package.json
:
{
"name": "goodluck",
"version": "0.0.1",
"description": "A Quasar Framework app",
"productName": "Quasar App",
"cordovaId": "org.cordova.quasar.app",
"author": "ealverr",
"private": true,
"scripts": {
"lint": "eslint --ext .js,.vue src",
"test": "echo \"No test specified\" && exit 0"
},
"dependencies": {
"@quasar/extras": "^1.0.0",
"quasar": "^1.0.0-beta.0"
},
"devDependencies": {
"@quasar/app": "^1.0.0-beta.0",
"@vue/eslint-config-standard": "^4.0.0",
"babel-eslint": "^10.0.1",
"eslint": "^5.10.0",
"eslint-loader": "^2.1.1",
"eslint-plugin-vue": "^5.0.0",
"strip-ansi": "=3.0.1"
},
"engines": {
"node": ">= 8.9.0",
"npm": ">= 5.6.0",
"yarn": ">= 1.6.0"
},
"browserslist": [
"last 1 version, not dead, ie >= 11"
],
"resolutions": {
"ajv": "6.8.1"
}
}
I have tested Quasar v1-beta with Node 12 and it's working fine:
PS C:\Users\ealverr\projects\goodgod> quasar info
Operating System - Windows_NT(10.0.16299) - win32/x64
NodeJs - 12.0.0
Global packages
NPM - 6.9.0
yarn - 1.15.2
@quasar/cli - 1.0.0-beta.4
cordova - Not installed
Important local packages
quasar - 1.0.0-beta.18 -- High performance, Material Design 2, full front end stack with Vue.js -- build SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase
@quasar/app - 1.0.0-beta.19 -- Quasar Framework App CLI
@quasar/extras - 1.1.1 -- Quasar Framework fonts, icons and animations
vue - 2.6.10 -- Reactive, component-oriented view layer for modern web interfaces.
vue-router - 3.0.6 -- Official router for Vue.js 2
vuex - 3.1.0 -- state management for Vue.js
electron - Not installed
electron-packager - Not installed
electron-builder - Not installed
@babel/core - 7.3.4 -- Babel compiler core.
webpack - 4.30.0 -- Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, ... and your custom stuff.
webpack-dev-server - 3.3.1 -- Serves a webpack app. Updates the browser on changes.
workbox-webpack-plugin - 4.3.0 -- A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache.
register-service-worker - 1.6.2 -- Script for registering service worker, with hooks
Quasar App Extensions
*None installed*
Networking
Host - IE-00000617
vEthernet (DockerNAT) - 10.0.75.1
Ethernet - 159.107.167.234
vEthernet (Default Switch) - 172.17.44.209
vEthernet (nat) - 172.28.240.1
PS C:\Users\ealverr\projects\goodgod> quasar dev
Dev mode.......... spa
Pkg quasar........ v1.0.0-beta.18
Pkg @quasar/app... v1.0.0-beta.19
Debugging......... enabled
app:quasar-conf Reading quasar.conf.js +0ms
app:dev Checking listening address availability (0.0.0.0:8080)... +5ms
app:webpack Extending SPA Webpack config +541ms
app:generator Generating Webpack entry point +17ms
app:dev-server Booting up... +5ms
SPA █████████████████████████ [100%] in ~6s
DONE Compiled successfully in 6239ms 1:34:06 PM
N App dir........... C:\Users\ealverr\projects\goodgod
App URL........... http://localhost:8080/
Dev mode.......... spa
Pkg quasar........ v1.0.0-beta.18
Pkg @quasar/app... v1.0.0-beta.19
app:dev-server Opening default browser at http://localhost:8080/ +6s
Hi Razvan,
you're welcome. I can help with that, just let me know the best time for you. I'll be available from 10am to 5pm Irish time.
Em qui, 25 de abr de 2019 às 15:32, Razvan Stoenescu < notifications@github.com> escreveu:
@averri https://github.com/averri
Ok, thanks for answering and ruling out all of the obvious things. I'll prepare some changes in quasar/cli but can we sync together tomorrow (Friday) so we can do a teamviewer session to try some fixes directly on your machine pls? Would take 30-40 minutes of your time but I'd appreciate this very much. I can't reproduce on any Win 10 machine that I touched.
In my mind, the culprit is resolve-from underlying package which I will replace with my own code.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quasarframework/quasar/issues/3965#issuecomment-486697515, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOPPT6I4Y5J4AT7DFWDTQLPSG6G7ANCNFSM4HIID67A .
@averri please ping me on Discord. Preparing a bulletproof approach for quasar/cli and will need you to test it. Thanks for your time!
Seems like didn't sync. @averri Can you install latest @quasar/cli
(1.0.0-beta.5) and report if any errors? npm i -g @quasar/cli@latest
. I've enhanced the way quasar/cli deferrs to local quasar/app.
Thanks.
Hi @rstoenescu, I have tested the new @quasar/cli@1.0.0-beta.5
and it's working fine on Windows 10 with Nodejs 10.x. I even tested nvm
, and now developers can easily switch Node versions and quasar/cli is working fine. Great!
Hi Razvan,
are you online on Discord? I can't find you.
Yes, I'll try the latest quasar beta with Node 10.x (the one I was having issues).
Em sex, 26 de abr de 2019 às 17:02, Razvan Stoenescu < notifications@github.com> escreveu:
Seems like didn't sync. @averri https://github.com/averri Can you install latest @quasar/cli (1.0.0-beta.5) and report if any errors? npm i -g @quasar/cli@latest. I've enhanced the way quasar/cli deferrs to local quasar/app.
Thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quasarframework/quasar/issues/3965#issuecomment-487110607, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOPPTYCOBUWON23QMHVD43PSMRSBANCNFSM4HIID67A .
Good news: the new version is working fine on my Windows 10, with Nodejs 10.x. I'm even using nvm, so I can easily switch Node versions. Nice!
Em sex, 26 de abr de 2019 às 20:02, Alexandre Verri < alexandreverri@gmail.com> escreveu:
Hi Razvan,
are you online on Discord? I can't find you.
Yes, I'll try the latest quasar beta with Node 10.x (the one I was having issues).
Em sex, 26 de abr de 2019 às 17:02, Razvan Stoenescu < notifications@github.com> escreveu:
Seems like didn't sync. @averri https://github.com/averri Can you install latest @quasar/cli (1.0.0-beta.5) and report if any errors? npm i -g @quasar/cli@latest. I've enhanced the way quasar/cli deferrs to local quasar/app.
Thanks.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/quasarframework/quasar/issues/3965#issuecomment-487110607, or mute the thread https://github.com/notifications/unsubscribe-auth/AAOPPTYCOBUWON23QMHVD43PSMRSBANCNFSM4HIID67A .
Thanks for reporting!
I am facing the same issue on windows 10, Did this on my mac and worked fine, however, I have the same issue like op on windows 10
@rstoenescu your help on this is truly appreciated.
Additional note: we have production apps built on other Node.JS frameworks and thus updating node version is not a possibility. It works fine in the same node version on Mac. But at work we are a windows shop and the CI tools are all built for windows.
@shakeelosmani - can you please take your issue to either either the forum or the discord channel?. You'll get answers there for sure. Please just have some patience.
Thanks. 😄
Scott
@smolinari thanks for the tip, Iasked the same question on the discord channel. Fingers crossed.
I am having exactly the same problem.
Try removing node and reinstalling 10LTS @Arman-Ahmed-Jony
[solution]
step 1: run cmd/command line in the project folder
npm install
step 2:
quasar dev
if errors like bellow comes
[error] 1:23 error Expected linebreaks to be 'LF' but found 'CRLF' linebreak-style
use the following command
npm run lint -- --fix
that's how i solved this problem. i hope this will help you
Had the same issue with node 8.9. (but not with 8.10.), found this thread and upgraded nodejs and problem solved.
Thanks for sharing
share my case .
I clone a repo from github. run quasar and the same error occor. In my case , I run npm install / or yarn install . finally ,everything goes well.
i have same issue , Fixed with updating node version to v12.18.1
quasar - 2.7.5 -- Build high-performance VueJS user interfaces (SPA, PWA, SSR, Mobile and Desktop) in record time
@quasar/app - 3.3.3 -- Quasar Framework local CLI
@quasar/extras - 1.15.0 -- Quasar Framework fonts, icons and animations
On windows, it looks like Quasar creates quasar.config.js
and on Unix, it creates quasar.conf.js
I copied the windows app, freshly made, to unix and ran quasar dev
and got the warning. I then created a new app to port over and when copying the files, found the name difference.
=> Trigger this inside of a Quasar project for more commands. So far I just pointed out you are not in quasar project directory, Or what quasar-cli thinks. Can you share the package.json file?
tnks guy i want a this respost ty
Software version
Quasar App Extensions None installed
What did you get as the error?
The command
quasar dev
is not recognized.Detailed steps
What were you expecting?
I expect the command
quasar dev
to work as intended.What steps did you take, to get the error?
Steps described above.