adonisjs / adonis-cli Goto Github PK
View Code? Open in Web Editor NEWLegacy Adonis CLI module to generate new application
License: MIT License
Legacy Adonis CLI module to generate new application
License: MIT License
Branch | Build failing π¨ |
---|---|
Dependency | semver |
Current Version | 5.3.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
semver is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 16 commits.
e1c49c8
v5.4.0
3ebc11d
more test coverage
5b30513
speed up tests a lot, add coverage
e1668ce
add top level intersects function
6cb2bcb
intersection: use semver.version, not semver.raw
4bacbfa
Make exposed apis more clear
8b86a26
Reduce line length and remove unused platform parameter
99f133e
Add range and comparator intersection docs to README
afbe8ca
Move methods to comparator and range
67c9ed7
Add support for range and comparators comparison
caeeac4
remove 0.x from Travis, cache npm stuff, use containers
bdda1a4
Add Node.js 8 to .travis.yml
8fff305
Add node 6 to travis
aaba710
Added syntax highlighting to readme example
32802c5
minimize heap allocations for maxSatisfying/minSatisfying
There are 16 commits in total.
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
nodemon --inspect defaults to 127.0.0.1:9229 for debugging. Since I use docker containers in my development workflow, my debugger cannot connect (different virtual network interface).
It should be a fairly quick/non-breaking fix:
- nodemon --inspect
+ nodemon --inspect=0.0.0.0:9229
https://github.com/adonisjs/adonis-cli/blob/develop/src/Commands/Serve/index.js#L181
What do you think?
@danielsalles commented on Mon Feb 19 2018
If create validator
using path
the class
name bug.
Example:
adonis make:validator User/index
Output:
'use strict'
class User/index {
get rules () {
return {
// validation rules
}
}
}
module.exports = User/index
@alanaasmaa commented on Sat Mar 24 2018
I have same issue.
Did you get the validator to work in sub folder ?
@thetutlage commented on Sat Mar 24 2018
It shouldnβt stop u from using it, simply put the class name manually.
Also Iβll fix the cli to produce the right class name
@alanaasmaa commented on Sat Mar 24 2018
@thetutlage Damn u reply fast.
I tried to fix class name manually but it did not work. I get 204 No Content from my api.
@thetutlage commented on Sat Mar 24 2018
204 is not an error, also response code is not a way to find if something works or not.
Make sure your controller does return something or calls response.send
When make controller for ws received error:
$ adonis make:controller ModemLogTailController
? Select controller type For Websocket channel
Cannot read property 'getFilePath' of undefined
Tree view files:
app
Controllers
Http
UsersController.js
Hi, below is the console output when trying to install on Windows 7.
C:\Users\jk23\dev\my_projects
Ξ» adonis -V
2.1.8
C:\Users\jk23\dev\my_projects
Ξ» adonis new yardstick
_ _ _ _
/ \ __| | ___ _ __ (_)___ | |___
/ _ \ / _` |/ _ \| '_ \| / __|_ | / __|
/ ___ \ (_| | (_) | | | | \__ \ |_| \__ \
/_/ \_\__,_|\___/|_| |_|_|___/\___/|___/
β Your current Node.js & npm version match the AdonisJs requirements!
β Cloning master branch of adonisjs/adonis-app blueprint
clone: Repository cloned
i Yarn has been detected in your system!
? Do you want to use yarn instead of npm? Yes
β Installing dependencies using yarnΓ Installing dependencies failed!
Command failed: cd C:\Users\jk23\dev\my_projects\yardstick; yarn
The system cannot find the path specified.
C:\Users\jk23\dev\my_projects
Ξ» cd yardstick\
C:\Users\jk23\dev\my_projects\yardstick (master) ([email protected])
Ξ» yarn
yarn install v0.19.1
info No lockfile found.
[1/4] Resolving packages...
warning adonis-lucid > knex > [email protected]: use uuid module instead
[2/4] Fetching packages...
warning [email protected]: The platform "win32" is incompatible with this module.
info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
[3/4] Linking dependencies...
[4/4] Building fresh packages...
success Saved lockfile.
Done in 266.04s.
I use yarn exclusively for managing dependencies and for this reason I do not have npm installed. On Arch Linux nodejs, npm and yarn are separate packages so one can install only nodejs and yarn without npm. This is my current setup. However, after installing adonis-cli with yarn global add adonis-cli
and attempting to create a project with adonis new yardstick --yarn
I get the error in the attached image.
It appears adonis-cli is not honoring the --yarn
flag. Should this be the expected behavior?
adonis make:controller <controller_name>
where <controller_name>
is any single word i.e. "Test" fails silently, it returns nothing and no files are created within app/Controllers/Http
It is my understanding that we should use adonis make:controller <controller_name>
rather than node ace make:controller <controller_name>
as the commands are proxied by the new CLI.
node ace make:controller <controller name>
results in the following error:
error: 'make:controller' is not a registered command
on services clone file can we change that we specify a url for the blueprint and not only use github.
cloneCommand =
${cloneCommand} https://github.com/${blueprint}.git "${appPath}"
Looking at the source code i can see you are now unable to set a custom file extensions for nodemon too watch. in my case i'm creating an graphql api so i have a lot of .graphql files, i would like to set this extension in the serve --dev command. For now i can use nodemon directly but it would be nice if you can set your own extensions. I can probably make a pr soon when i have some more time though :)
Hello, I encountered a strange issue, where I could not use an already defined variable, because it was undefined, but I could not define it because it was already declared:
> let asd = Employee.findBy('login', 'superuser')
ReferenceError: Employee is not defined
at repl:1:11
at Script.runInContext (vm.js:74:29)
at REPLServer.defaultEval (repl.js:250:29)
at bound (domain.js:376:14)
at REPLServer.runBound (domain.js:389:12)
> const Employee = use('App/Models/Employee')
undefined
> let asd = Employee.findBy('login', 'superuser')
SyntaxError: Identifier 'asd' has already been declared
at repl:1:1
at Script.runInContext (vm.js:74:29)
at REPLServer.defaultEval (repl.js:250:29)
at bound (domain.js:376:14)
at REPLServer.runBound (domain.js:389:12)
> asd = Employee.findBy('login', 'superuser')
ReferenceError: asd is not defined
at repl:1:5
at Script.runInContext (vm.js:74:29)
at REPLServer.defaultEval (repl.js:250:29)
at bound (domain.js:376:14)
at REPLServer.runBound (domain.js:389:12)
Hi, in docs i see command make:validator
. In cli i not found this command.
Hi, after install adonis cli via npm and try on command prompt always show like this.
'adonis' is not recognized as an internal or external command,
operable program or batch file.
How to solve this?
thanks before
Node Version: v6.11.4
NPM Version: 5.5.1
System OS: Windows 10 Pro - x64
Error Stack:
async handle ({ name }, options) {
^^^^^^
SyntaxError: Unexpected identifier
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:542:28)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\0x90\AppData\Roaming\npm\node_modules\@adonisjs\cli\src\Commands\index.js:18:8)
As the title says, this was done on a truly fresh install (without any prior installation) straight from the guide at http://adonisjs.com/docs/4.0/installation
Node 8.0+
Sorry!Sample for replay:
Route.resource('/test', 'TestController').only('index', 'store', 'show', 'update')
Output command adonis route:list
$ adonis route:list
βββββββββ¬βββββββββββ¬βββββββββββββββββββββββ¬βββββββββββββ¬ββββββββββββββ¬βββββββββ
β Route β Verb(s) β Handler β Middleware β Name β Domain β
βββββββββΌβββββββββββΌβββββββββββββββββββββββΌβββββββββββββΌββββββββββββββΌβββββββββ€
β /test β HEAD,GET β TestController.index β β /test.index β β
βββββββββ΄βββββββββββ΄βββββββββββββββββββββββ΄βββββββββββββ΄ββββββββββββββ΄βββββββββ
But when set accepted methods as array, adonis route:list
display correct
Route.resource('/test', 'TestController').only(['index', 'store', 'show', 'update'])
$ adonis route:list
βββββββββββββ¬ββββββββββββ¬ββββββββββββββββββββββββ¬βββββββββββββ¬βββββββββββββββ¬βββββββββ
β Route β Verb(s) β Handler β Middleware β Name β Domain β
βββββββββββββΌββββββββββββΌββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββββΌβββββββββ€
β /test β HEAD,GET β TestController.index β β /test.index β β
βββββββββββββΌββββββββββββΌββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββββΌβββββββββ€
β /test β POST β TestController.store β β /test.store β β
βββββββββββββΌββββββββββββΌββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββββΌβββββββββ€
β /test/:id β HEAD,GET β TestController.show β β /test.show β β
βββββββββββββΌββββββββββββΌββββββββββββββββββββββββΌβββββββββββββΌβββββββββββββββΌβββββββββ€
β /test/:id β PUT,PATCH β TestController.update β β /test.update β β
βββββββββββββ΄ββββββββββββ΄ββββββββββββββββββββββββ΄βββββββββββββ΄βββββββββββββββ΄βββββββββ
When you create an adonis app the first time, you select the package manager you prefer (npm or yarn currently). Thing is that this option doesn't seems to be stored somewhere so everytime I need to add a new package I always have to specify --yarn
if my configuration was using yarn. If I forgot it than npm will kick in and will pollute node modules and my repo with npm locks etc.
I'm suggesting to save this configuration somewhere and let adonis-cli
to read it and use it as the predefined package manager
No
Possibly :)
I am having this error when I create Adonis project. Please fix.
npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--production"
npm ERR! node v4.2.1
npm ERR! npm v2.14.7
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported
npm ERR! notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: win32
npm ERR! notsup Actual Arch: x64
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Damilare\freelance\Kangpe\npm-debug.log
I am getting the following error when trying to run adonis
in command line:
/usr/bin/env: βnode --harmony-async-awaitβ: No such file or directory
Quick google found this
Using Ubuntu 16.04
Node: v8.2.1
Hello! I just installed @adonisjs/cli
, and I'm not able to create a new project with adonis new project
async _setupProjectDirectory (stepsCounter, appPath, options) {
^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: Unexpected identifier
at Object.exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:543:28)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (C:\Users\xxx\AppData\Roaming\npm\node_modules\@adonisjs\cli\src\Commands\index.js:18:8)
at Module._compile (module.js:571:32)```
I'm on Windows 10, tested the command with CMD, Powershell & Bash.
Node version: 7.5
EDIT : Seen with a guy on Discord, this is due to my Node version, which doesn't include `async` functions.
Hi, i just install adois's cli on a new mac,
when I'm running the serve command I'm getting this error:
Error: Cannot find module '../../../lib/boxen'
but the server works.
it just idea.
why not make this command run as alias for ace when on project directory. like this we don't need to use two command for make new project and managing project. and it make this command use more often. but it just alias so use ace command is no problem.
Looks like some of the command line scripts cause Node hangup.
eg:
adonis route:list
Cli lists routes and "waits" indefinitely. I've tried to dig into this issue and it looks for me that some commands are returning Promise (function handlers are defined with async
keyword) which is not resolved (or waits for resolving).
Some commands (eg adonis --help
) stop node after execution.
I tried to write a fix for this however, I'm not sure whether the problem is in adonis-cli
or simply in the commands that are executed. If it's the latter case it would require reviewing all packages providing commands for the framework.
when i use this command in terminal this error occurred
error: unknown option `--api-only'
Hello,
Im using vscode to debug nodejs.
My app crashes often and sometimes stops watching files.
I run npm run dev-debug
that calls adonis serve --dev --debug
in cmder.
Debugging starts and all is fine.
I attach my vscode with this config
{
"name": "Attach",
"type": "node",
"request": "attach",
"port": 9229,
"address": "localhost",
"restart": true,
"sourceMaps": false,
"localRoot": "${workspaceRoot}",
"remoteRoot": null
}
Everything works okey, except app is crashing pretty often and watch stops watching.
I use adonuxt template
We do our best to reply to all the issues on time. If you will follow the given guidelines, the turn around time will be faster.
Delete the above section and the instructions in the sections below before submitting
5.0.8
v11.3.0
6.5.0
Please add a .gitignore file in database folder for sqlite:
*.sqlite
From @bolt12 on January 21, 2018 19:1
I just noticed that if i create a new Controller using
adonis make:controller <name> --resource
it will create a new file with all route resources but the last one is called delete, and looking into the docs it should be destroy.
Copied from original issue: adonisjs/adonis-api-app#14
Hi guys.
I followed docs by this url and really confused when
adonis new --only-api
didn't work but in docs it described. Ok, happens. But I can't understand this package.json
...
"dependencies": {
"adonis-ace": "^3.0.7",
"adonis-auth": "^1.0.5",
"adonis-commands": "^2.1.5",
"adonis-fold": "^3.0.3",
"adonis-framework": "^3.0.10",
"adonis-lucid": "^3.0.14",
"adonis-middleware": "^1.0.11",
"adonis-websocket": "^1.0.3",
"youch": "^2.0.4"
},
...
As I understand v3.0 of adonis is deprecated(legacy) and as I see we have adonis packages for v4.0 but why cli creates deprecated project dependencies?
One more points is different hello world pages between docs and spawned by adonis new
command.
I think(??) I found a bug that adonis install
does not run the postinstall
npm script.
I noticed this because I used npm link
to local packages. Well, npm 5 has a bug where running npm i
unlinks packages. So I have a post-install to put them back.
It works with npm install
but not with adonis install
.
--no-ansi
option returns nothing.
4.0.10
node v8.15.0
npm 6.5.0
$ adonis --no-ansi
I write code in PhpStorm. IDE created dir .idea
. In watch mode this dir is system and it is should not be watched.
Sample output log:
$ adonis serve --dev
Started server in dev mode
2017-08-11T12:19:12.424Z - info: serving app on http://127.0.0.1:3333
add .idea/workspace.xml
2017-08-11T12:19:52.460Z - info: serving app on http://127.0.0.1:3333
Hello, first of all congratulate them for this excellent framework, it helps a lot to launch applications quickly.
My observation is that reading the documentation appear features that have not yet been published, specifically the option to generate validators in the console (adonis make: validator StoreUser) which corresponds to version 4.1, however the latest published version is 4.0.
Do you have an estimated date of publication of this version?
I'm trying to use adonis inside monorepo with https://lernajs.io/ and yarn/yarn workspaces
my deps:
"@adonisjs/ace": "^5.0.1",
"@adonisjs/auth": "^3.0.4",
"@adonisjs/bodyparser": "^2.0.2",
"@adonisjs/cli": "^4.0.4",
"@adonisjs/cors": "^1.0.5",
"@adonisjs/fold": "^4.0.7",
"@adonisjs/framework": "^5.0.5",
"@adonisjs/ignitor": "^2.0.6",
"@adonisjs/lucid": "^5.0.3"
folder structure looks so:
.βββ packages
β βββ api
β βββ node_modules
β βββ app
β β βββ Controllers
β β β βββ Http
β β β βββ HelloWorldController.js
β β βββ Models
β β βββ Hooks
β β β βββ User.js
β β βββ Token.js
β β βββ User.js
β βββ config
β β βββ app.js
β β βββ auth.js
β β βββ bodyParser.js
β β βββ cors.js
β β βββ database.js
β βββ database
β β βββ migrations
β β β βββ 1503250034279_user.js
β β β βββ 1503250034280_token.js
β β βββ factory.js
β βββ start
β β βββ app.js
β β βββ kernel.js
β β βββ routes.js
β βββ ace
β βββ package.json
β βββ server.js
βββ lerna.json
βββ node_modules
βββ package.json
βββ yarn.lock
here is lerna config
{
"lerna": "2.9.0",
"packages": [
"packages/*"
],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.0"
}
just try to execute adonis --help
inside ./packages/api
cwd
it throws an error:
Error: Cannot find module '/Users/user/project/packages/api/node_modules/@adonisjs
/ace'
1 Ignitor._registerCommands
/Users/user/project/node_modules/@adonisjs/ignitor/src/Ignitor/index.js:411
2 Ignitor.fire
/Users/user/project/node_modules/@adonisjs/ignitor/src/Ignitor/index.js:754
so there is two node_modules folders
as I see cli util tries to resolve node_modules
inside packages/api
folder, but lerna/yarn workspaces use hoisting (https://github.com/lerna/lerna/#--hoist-glob) for modules and creates symlinks only for .bin
as a short solution, to make it work, I just use postinstall hook and create an symlink manually: cd packages/api/node_modules && ln -s ../../../node_modules/@adonisjs
When attempting to create a Lucid model named model
the command runs, but the resulting JS file is created in the apps
directory and not apps/Models
.
$ adonis --version
4.1.0
$ npm -v
6.7.0
$ node -v
v11.13.0
$ adonis make:model model
β create app/Models.js
interesting reading lately recommending NOT installing packages globally, thereby ensuring that older codebases stay functional as they were built.
this means that to start a new adonis project I have to create a throw-away wrapper
mkdir yardstick_wrapper && cd $_
yarn init
yarn add --dev adonis-cli
adonis new yardstick --yarn
cd yardstick
yarn add --dev adonis-cli
cd ../..
mv yardstick_wrapper/yardstick .
rm -rf yardstick_wrapper
perhaps you could add a --local flag (or --here) to not create and enter the application directory?
Hi !
I'm currently discovering adonis which seems really promising !
When I tried to setup my first project, the readme says to run :
adonis new awesome-project
But when I did that, all the deps where setup using npm.
It would be nice to have a yarn argument or --skip-npm so we can run yarn later on our own.
Hi when i have a Folder with space
when use adonis serve --dev
I get this error:
C:\Arbeit Wichtig\amalyanshop>adonis serve --dev
ββββββββββββββββββββββββ
β β
β Started server β
β Watcher: On β
β Debugger: Off β
β β
ββββββββββββββββββββββββ
module.js:473
throw err;
^
Error: Cannot find module 'C:\Arbeit Wichtig\amalyanshop\"C:\Arbeit'
at Function.Module._resolveFilename (module.js:527:15)
at Function.Module._load (module.js:453:25)
at Function.Module.runMain (module.js:665:10)
at startup (bootstrap_node.js:201:16)
at bootstrap_node.js:626:3
Hello everyone,
I install adonisjs --api-only and when I run the command: migration: run I get an error telling me to install sqlite.
In my .env file, I have mysql.
Help
adonis 4.1.0
9.0.0
Console :
Knex: run
$ npm install sqlite3 --save
Error: Cannot find module 'sqlite3'
My .env file :
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_USER=root
Tank's for your help
Is anyone working on this?
I ran ./node_modules/.bin/adonis new src
, as per the readme: http://www.adonisjs.com/docs/3.1/installation
.
Using node 6.8.1, npm 3.10.8
I get the following error:
-----------AdonisJs requirements check--------------
AdonisJs needs Node.JS >=4.0.0 and npm >=3.0.0
verifying node.js and npm current installed versions...
Your current Node.JS version: 6.8.1
Your current npm version: 3.10.8
Cloning into 'src'...
cleaning project
setting up app key
Fixing ace file
installing dependencies may take a while
installing dependencies... [email protected] /home/rje/projects/divinote/server/src
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected] (git+https://github.com/thetutlage/node-auto-loader.git#75c907108f56da6067fd8fc00fdc31fc5bf67e0c)
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
β βββ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
β βββ [email protected]
β βββ [email protected]
β βββ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected] (git://github.com/crypto-utils/keygrip.git#f7b41c2f305cfa7030d7da9e64af9790aa3be93a)
β βββ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
β βββ [email protected]
β βββ [email protected]
β βββ¬ [email protected]
β β βββ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
β βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ [email protected]
βββ¬ [email protected]
β βββ [email protected]
βββ¬ [email protected]
βββ [email protected]
npm ERR! Linux 4.4.0-43-generic
npm ERR! argv "/home/rje/.nvm/versions/node/v6.8.1/bin/node" "/home/rje/.nvm/versions/node/v6.8.1/bin/npm" "install" "--no-optional"
npm ERR! node v6.8.1
npm ERR! npm v3.10.8
npm ERR! code EBADPLATFORM
npm ERR! notsup Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! notsup Valid OS: darwin
npm ERR! notsup Valid Arch: any
npm ERR! notsup Actual OS: linux
npm ERR! notsup Actual Arch: x64
installing dependencies... \
npm ERR! Please include the following file with any support request:
npm ERR! /home/rje/projects/divinote/server/src/npm-debug.log
I don't know if it's the generator or the framework with the problem, but I'm putting this here. Currently the controller generator creates a controller with the method delete
, but when you call Route.resource
it generates a route that is looking for a destroy
method.
Node: 11.6.0
NPM: 6.5.0-next.0
Just run the cli with the npm version above and I received this
[1/6] β Unsupported npm version [node & npm]
ERROR Unsatisfied npm version 6.5.0-next.0. Please update npm to >=3.0.0 before you continue
Branch | Build failing π¨ |
---|---|
Dependency | adonis-ace |
Current Version | 3.0.7 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
adonis-ace is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you itβs very likely also breaking them.
I recommend you give this issue a very high priority. Iβm sure you can resolve this πͺ
The new version differs by 5 commits.
84e9c93
Merge branch 'release-3.0.8'
941f609
chore(release): 3.0.8
da5e4e8
fix(command): use command.opts() over command._events
8d0ffda
chore(package): update sinon to version 2.0.0 (#48)
89dab62
fix(package): update node-exceptions to version 2.0.0 (#49)
See the full diff
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot π΄
adonis-cli is creating a ace file on the path that adonis-cli new is called,
and not on the path to new created project.
If you execute adonis new demo on the path "/myapps" a demo new app will be created,
but the ace file will be created/fixed inside the "/myapps" folder,
and not inside the "demo" folder.
if i am doing this command
npm i -g @adonisjs/cli
i have this error
npm WARN optional Skipping failed optional dependency /@adonisjs/cli/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 4.8.0-36-generic
npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "i" "-g" "@adonisjs/cli"
npm ERR! node v4.2.6
npm ERR! npm v3.5.2
npm ERR! path /usr/local/lib
npm ERR! code EACCES
npm ERR! errno -13
npm ERR! syscall access
npm ERR! Error: EACCES: permission denied, access '/usr/local/lib'
npm ERR! at Error (native)
npm ERR! { [Error: EACCES: permission denied, access '/usr/local/lib']
npm ERR! errno: -13,
npm ERR! code: 'EACCES',
npm ERR! syscall: 'access',
npm ERR! path: '/usr/local/lib' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.
npm ERR! Please include the following file with any support request:
npm ERR! /home/faranda/npm-debug.log
please can someone help me?
Can't say if I'm posting this issue on the right repo...
My application has defined some Redis event listeners in event.js
file.
I've prepared a new command which is supposed to listen on MQ backend for new jobs (so it's a long-running command).
While running command application is still listening for events.
In my case, it was resulting in doubled events which were later stored twice in db.
I know that this may not be an issue, however, I'm wondering whether this behavior is correct.
Ace commands may have side-effects which should not happen while running a command.
IMO ace command should not listen for Redis events (in general not load events.js
file).
What do you think about it?
Why not ignore files in /public
folder in case when --dev
server starts?
Looking at cli.copy
and wondering if ncp would be helpful for package maintainers. If my package has multiple migration files, or multiple config files in subfolders, using ncp
under the hood rather than fs.copy
would make publishing easier. Thoughts?
C:\Users\jk23\dev\my_projects
Ξ» adonis -v
error: unknown option `-v'
C:\Users\jk23\dev\my_projects
Ξ» adonis -V
2.1.8
```
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.