quasarframework / app-extension-feathersjs

[WIP] The official Quasar 1.0 App-Extension for feathersjs
https://quasar.dev
MIT License
6 stars 4 forks source link

Missing dependencies and server #5

Closed MichaelJCole closed 5 years ago

MichaelJCole commented 5 years ago

Hi, after running these commands, I ended up with some missing dependencies:

$  quasar create feathers-test -b dev
... defaults
$  cd feathers-test
$  quasar ext add @quasar/feathersjs 
 app:extension Installing "@quasar/feathersjs" Quasar App Extension +0ms

 app:extension Retrieving "@quasar/quasar-app-extension-feathersjs"... +11ms
 app:spawn [sync] Running "npm install --save-dev @quasar/quasar-app-extension-feathersjs" +0ms

npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ @quasar/quasar-app-extension-feathersjs@1.0.0-alpha.2
added 50 packages from 82 contributors and audited 15946 packages in 8.008s
found 0 vulnerabilities

? feathers.js installation options: (Press <space> to select, <a> to toggle all,
 <i> to invert selection)Create Server, Install Frontend

 app:extension Running App Extension install script... +18s
 app:extension-manager Adding "@quasar/feathersjs" extension prompts to /quasar.extensions.json ... +161ms
 app:extension Quasar App Extension "@quasar/feathersjs" successfully installed. +1ms

I couldn't find the server code or app.listen in the source, so it may not have been installed. I tried it twice with the same results.

$ quasar dev
...
ERROR  Failed to compile with 3 errors                                 21:30:28

These dependencies were not found:

* @feathersjs/authentication-client in ./api/feathers.js
* @feathersjs/feathers in ./api/feathers.js
* @feathersjs/socketio-client in ./api/feathers.js

To install them, you can run: npm install --save @feathersjs/authentication-client @feathersjs/feathers @feathersjs/socketio-client

Versions:

node --version
v8.15.1

quasar --version
1.0.0-beta.22
nothingismagick commented 5 years ago

Can you confirm this works now with the new version of the extension?

MichaelJCole commented 5 years ago

Hi @nothingismagick, great! The dependencies got fixed, and quasar dev start the FE and opens to a white screen.

I still can't find the server code in the output though. Attached is a zip (minus node_modules). I'm running Ubuntu linux and zsh.

☀  quasar create feathers-test2 -b dev

  ___                             
 / _ \ _   _  __ _ ___  __ _ _ __ 
| | | | | | |/ _` / __|/ _` | '__|
| |_| | |_| | (_| \__ \ (_| | |   
 \__\_\\__,_|\__,_|___/\__,_|_|   

? Project name (internal usage for dev) asdf
? Project product name (official name; must start with a letter if you will build mobile apps) Quasar App
? Project description A Quasar Framework app
? Author Michael Cole <xxx>
? Check the features needed for your project: (Press <space> to select, <a> to toggle all, <i> to invert selection)ESLint
? Pick an ESLint preset Standard
? Cordova id (disregard if not building mobile apps) org.cordova.quasar.app
? Should we run `npm install` for you after the project has been created? (recommended) NPM

  Quasar CLI · Generated "feathers-test2".

 [*] Installing project dependencies ...

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

added 1113 packages from 549 contributors and audited 15873 packages in 18.799s
found 0 vulnerabilities

 [*] Running eslint --fix to comply with chosen preset rules...
[feathers-test2.zip](https://github.com/quasarframework/app-extension-feathersjs/files/3142370/feathers-test2.zip)

> asdf@0.0.1 lint /home/michael/scm/feathers-test2
> eslint --ext .js,.vue src "--fix"

 [*] Quasar Project initialization finished!

To get started:

  cd feathers-test2
  quasar dev

Documentation can be found at: https://v1.quasar-framework.org

Quasar is relying on donations to evolve. We'd be very grateful if you can
take a look at: https://www.patreon.com/quasarframework
Any amount is very welcomed.
If invoices are required, please first contact razvan@quasar-framework.org

Please give us a star on Github if you appreciate our work:
https://github.com/quasarframework/quasar

Enjoy! - Quasar Team

michael@mc-desktop ~/scm
☀  cd feathers-test2 

michael@mc-desktop ~/scm/feathers-test2
☀  ls
babel.config.js  node_modules  package.json  package-lock.json  quasar.conf.js  README.md  src

michael@mc-desktop ~/scm/feathers-test2
☀  cd src 

michael@mc-desktop ~/scm/feathers-test2/src
☀  ls
App.vue  assets  boot  components  css  index.template.html  layouts  pages  router  statics

michael@mc-desktop ~/scm/feathers-test2/src
☀  quasar ext add @quasar/feathersjs  
 app:extension Installing "@quasar/feathersjs" Quasar App Extension +0ms

 app:extension Retrieving "@quasar/quasar-app-extension-feathersjs"... +11ms
 app:spawn [sync] Running "npm install --save-dev @quasar/quasar-app-extension-feathersjs" +0ms

npm WARN ajv-keywords@3.4.0 requires a peer of ajv@^6.9.1 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

+ @quasar/quasar-app-extension-feathersjs@1.0.0-alpha.3
added 56 packages from 84 contributors and audited 15969 packages in 9.332s
found 0 vulnerabilities

? feathers.js installation options: Create Server, Install Frontend

 app:extension Running App Extension install script... +15s
 app:extension-manager Adding "@quasar/feathersjs" extension prompts to /quasar.extensions.json ... +142ms
 app:extension Quasar App Extension "@quasar/feathersjs" successfully installed. +1ms
MichaelJCole commented 5 years ago

feathers-test2.zip