adonis-blog-demo's People
Forkers
kessir g3z edisplay tylerhoran ricardoaponte yosvelquintero bigtaddy work-fork-work g3n1us redajadir daresam irhamd4ni bagaskara-turboly ayozevera mateusfmachado habibtalib danielalbuquerque mervinz atinux isnan909 dvhoangfh thetutlage 2php mixassio akochemasov medinov johfermq chizotavictor israelblock angelomedeiros vanzinvestor turkmvc tannerjt philraj ashrafdev jentino begueradj skechav udoyen saeedkhmusic rezendegc rodrigogalhardo erikyuzwa jiacong-l diablogatox coolandcodes voidp34r engbrunosales parkerproject mayankgandhi saroj990 iqdavidh vinzzmydatamodels seccomiro sambenzt brunolagoa rajurayhan tritesh leandrobez filipebraida rafosolima targalimited w7code heritage5665 dzman1990 teetlaja frankwrk ccf19881030 anangnovriadi dhiwaniesya siddiquipro gucarletto franciiscocampos170 armgitaar wiledusc droid95 derghoul blindly ibrahimsayedahmad prondubuisi nully0x tebellox leandromagol cirosantilli travis-r6s zhangshuangcai yawadev kingaribel daezma daudongit tvaccari34 jergi itzsamdamadonis-blog-demo's Issues
TypeError: (intermediate value).handle is not a function
TypeError: (intermediate value).handle is not a function
TypeError: (intermediate value).handle is not a function
at ExceptionHandler.handle (C:\Users\user\blog\app\Exceptions\Handler.js:28:18)
at Server._handleException (C:\Users\user\blog\node_modules\@adonisjs\framework\src\Server\index.js:254:21)
at _executeServerMiddleware.then.then.catch (C:\Users\user\blog\node_modules\@adonisjs\framework\src\Server\index.js:441:14)
at <anonymous>
I'm getting this error when loading 127.0.0.0:3333/
on Windows and Ubuntu with a fresh install of node 8.11.2 and adonisjs/[email protected].
Additionally, 127.0.0.0:3333/login
loads with a missing stylesheet and other resources.
adonis: command not found
Any idea what I am doing wrong?
$ adonis key:generate
-bash: adonis: command not found
Validator not working
Validations are not working and validator.fails()
always returns true
even tho every field has values and is unique. It's not even returning a validator.message()
when some fields are not filled, but required.
Spec:
OS: Windows 10
NPM: 5.7.1
Node: 8.10.0
Invalid CSS after "m": expected 1 selector or at-rule, was "module.exports = re"
Hey, I've got an error while running npm run build:dev
...
It seems it comes from the bootstrap
import, any idea? Thanks!
/Users/thomas/Sites/adonis-blog-demo/resources/assets/sass/app.scss: Invalid CSS after "m": expected 1 selector or at-rule, was "module.exports = re"
at options.error (/Users/thomas/Sites/adonis-blog-demo/node_modules/node-sass/lib/index.js:291:26)
Incorrect Readme
I'm receiving this error
adonis-blog-demo$ adonis --version
3.0.17
adonis-blog-demo$ adonis install
error: missing required argument `module'
i tried npm i
and everything seems to be working
Update dependencies - failing at [email protected]
Hi,
npm install
is failing for [email protected]
As a workaround, I manually installed deasync
using npm install deasync
Log:
> [email protected] install E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync
> node ./build.js
E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync>if not defined npm_config_node_gyp (node "C:\Users\fakeuser\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\fakeuser\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
deasync.cc
win_delay_load_hook.cc
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_converters_43_inl.h(22): warning C4996: 'v8::Value::ToBoolean': was declared deprecated (compiling source fi
le ..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(2567): note: see declaration of 'v8::Value::ToBoolean' (compiling source file ..\src\deasync.c
c)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_converters_43_inl.h(40): warning C4996: 'v8::Value::BooleanValue': was declared deprecated (compiling source
file ..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(2605): note: see declaration of 'v8::Value::BooleanValue' (compiling source file ..\src\deasyn
c.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_implementation_12_inl.h(103): error C2664: 'v8::MaybeLocal<v8::Function> v8::Function::New(v8::Local<v8::Con
text>,v8::FunctionCallback,v8::Local<v8::Value>,int,v8::ConstructorBehavior,v8::SideEffectType)': cannot convert argument 1 from 'v8::Isolate *' to 'v8::Local<v8::Con
text>' (compiling source file ..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_implementation_12_inl.h(105): note: No constructor could take the source type, or constructor overload res
olution was ambiguous (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_implementation_12_inl.h(337): error C2660: 'v8::StringObject::New': function does not take 1 arguments (comp
iling source file ..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(5426): note: see declaration of 'v8::StringObject::New' (compiling source file ..\src\deasync.
cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_implementation_12_inl.h(337): error C2059: syntax error: ')' (compiling source file ..\src\deasync.cc) [E:\J
S fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1034): error C2661: 'v8::Value::ToString': no overloaded function takes 0 arguments (compiling source file
..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1044): error C2664: 'int v8::String::WriteUtf8(v8::Isolate *,char *,int,int *,int) const': cannot convert
argument 1 from 'char *' to 'v8::Isolate *' (compiling source file ..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj
]
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1044): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or funct
ion-style cast (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1818): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\deasync.cc)
[E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(3402): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1824): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\deasync.cc)
[E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(3402): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1830): warning C4996: 'v8::Object::Set': was declared deprecated (compiling source file ..\src\deasync.cc)
[E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(3411): note: see declaration of 'v8::Object::Set' (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1836): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\deasync.cc)
[E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(3457): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1842): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\deasync.cc)
[E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(3457): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1847): warning C4996: 'v8::Object::Get': was declared deprecated (compiling source file ..\src\deasync.cc)
[E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(3461): note: see declaration of 'v8::Object::Get' (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_object_wrap.h(24): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyabl
ePersistentTraits<T>>' [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
with
[
T=v8::Object
] (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1859): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Object
] (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_object_wrap.h(67): warning C4996: 'v8::PersistentBase<v8::Object>::MarkIndependent': was declared deprecated
(compiling source file ..\src\deasync.cc) [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
c:\users\fakeuser\appdata\local\node-gyp\cache\12.13.1\include\node\v8.h(563): note: see declaration of 'v8::PersistentBase<v8::Object>::MarkIndependent' (compiling so
urce file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan_object_wrap.h(124): error C2039: 'IsNearDeath': is not a member of 'Nan::Persistent<v8::Object,v8::NonCopyab
lePersistentTraits<T>>' [E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync\build\deasync.vcxproj]
with
[
T=v8::Object
] (compiling source file ..\src\deasync.cc)
e:\js fw_lib\adonis\adonis-blog-demo\node_modules\nan\nan.h(1859): note: see declaration of 'Nan::Persistent<v8::Object,v8::NonCopyablePersistentTraits<T>>'
with
[
T=v8::Object
] (compiling source file ..\src\deasync.cc)
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\fakeuser\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Windows_NT 10.0.18363
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\fakeuser\\AppData\\Roaming\\npm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd E:\JS fw_lib\adonis\adonis-blog-demo\node_modules\deasync
gyp ERR! node -v v12.13.1
gyp ERR! node-gyp -v v5.0.7
gyp ERR! not ok
Build failed
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] install: `node ./build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
live demo
where can i view a live demo? asides cloning to view on my local.
Module build failed: ReferenceError: Unknown plugin "transform-runtime"
When running npm run build:dev
the following is output:
> [email protected] build:dev /Users/xxxx/Sites/adonis-blog-demo
> cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
95% emitting
ERROR Failed to compile with 1 errors 13:26:28
error in ./resources/assets/js/app.js
Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified in "/Users/xxxx/.babelrc" at 0, attempted to resolve relative to "/Users/xxxx"
at /Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-loader/lib/index.js:50:20)
at /Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-loader/lib/fs-cache.js:118:18
at ReadFileContext.callback (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-loader/lib/fs-cache.js:31:21)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:437:13)
@ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss
Asset Size Chunks Chunk Names
/public/js/app.js 4.3 kB 0 [emitted] /public/js/app
public/css/app.css 178 kB 0 [emitted] /public/js/app
ERROR in ./resources/assets/js/app.js
Module build failed: ReferenceError: Unknown plugin "transform-runtime" specified in "/Users/xxxx/.babelrc" at 0, attempted to resolve relative to "/Users/xxxx"
at /Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:180:17
at Array.map (<anonymous>)
at Function.normalisePlugins (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:158:20)
at OptionManager.mergeOptions (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:234:36)
at OptionManager.init (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/options/option-manager.js:368:12)
at File.initOptions (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/index.js:212:65)
at new File (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/file/index.js:135:24)
at Pipeline.transform (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-core/lib/transformation/pipeline.js:46:16)
at transpile (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-loader/lib/index.js:50:20)
at /Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-loader/lib/fs-cache.js:118:18
at ReadFileContext.callback (/Users/xxxx/Sites/adonis-blog-demo/node_modules/babel-loader/lib/fs-cache.js:31:21)
at FSReqWrap.readFileAfterOpen [as oncomplete] (fs.js:437:13)
@ multi ./resources/assets/js/app.js ./resources/assets/sass/app.scss
npm ERR! code ELIFECYCLE
npm ERR! errno 2
npm ERR! [email protected] build:dev: `cross-env NODE_ENV=development webpack --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js`
npm ERR! Exit status 2
npm ERR!
npm ERR! Failed at the [email protected] build:dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/xxxx/.npm/_logs/2017-11-27T18_26_28_548Z-debug.log
error: no viable conversion from 'Local<v8::Context>' to 'v8::Isolate *' X(Boolean)
CXX(target) Release/obj.target/deasync/src/deasync.o
In file included from ../src/deasync.cc:3:
In file included from ../../nan/nan.h:202:
In file included from ../../nan/nan_converters.h:67:
../../nan/nan_converters_43_inl.h:22:1: error: no viable conversion from 'Localv8::Context' to 'v8::Isolate '
X(Boolean)
^~~~~~~~~~
../../nan/nan_converters_43_inl.h:18:23: note: expanded from macro 'X'
val->To ## TYPE(isolate->GetCurrentContext())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/christiannoriel/Library/Caches/node-gyp/13.8.0/include/node/v8.h:2762:37: note: passing argument to parameter 'isolate' here
Local ToBoolean(Isolate isolate) const;
Using Persona
Hey all,
I'm trying to use persona for authentication, however, I'm running into some issues, I got the user to register but I'm having issues doing the following.
- Verification link in the email, when clicked navigate back to the website to the login page (set
account_status
from pending to active) - Resetting the user password, again link the email, when clicked navigate back to the website to the new password page.
I should be able to deal with the update profile etc but if you want to add this to the demo that would be great.
Spoken to @RomainLanz through Discord, no code needed for this issue.
Running adonis migration:run end up with errors
After running npm install
, npm install
has to be run to fix many problems. If this is done and you try to run adonis migration:run
, an error will appear:
Error: Cannot find module '@adonisjs/lucid/providers/LucidProvider'
I tried to install lucid with adonis install @adonisjs/lucid
I also tried installing sqllite with npm i sqlite3
Neither works for me.
Is this a bug or is there a solution?
Not creating user nor checking for Validation on register
Somehow /register
has a tiny problem of not validating nor creating the user in the db. It just goes back with a 302 redirect.
Relation between post and user not working
Some sqlite3 issue in registration
Knex:warning - .returning() is not supported by sqlite3 and will not have any effect.
Sorting posts & truncate 150
Hi all! Firstly sorry for my bad English please :)
I offer to make some changes in PostController.js for:
From:
const posts = await Post.all()
Post#1 (old)
Post#2 (...)
Post#3 (latest)
To:
const posts = await Post.query().orderBy('id', 'desc').fetch()
Post#3 (latest)
Post#2 (...)
Post#1 (old)
Cannot add a worker call if workerfarm is ending.
Having this error while -> npm run build:dev
Details of errors:
at WorkerFarm.addCall (/Users/robin/node/adonis-blog-demo/node_modules/@parcel/workers/src/WorkerFarm.js:194:13)
at WorkerFarm.run (/Users/robin/node/adonis-blog-demo/node_modules/@parcel/workers/src/WorkerFarm.js:77:21)
at Bundler.loadAsset (/Users/robin/node/adonis-blog-demo/node_modules/parcel-bundler/src/Bundler.js:577:35)
at async Bundler.processAsset (/Users/robin/node/adonis-blog-demo/node_modules/parcel-bundler/src/Bundler.js:557:5)
at async PromiseQueue._runJob (/Users/robin/node/adonis-blog-demo/node_modules/parcel-bundler/src/utils/PromiseQueue.js:48:7)
โจ Built in 770ms.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.