- Shared Data from other component in services
http://stackoverflow.com/questions/35273106/angular2-share-data-between-components-using-services
- Class 'TestCase' not found
- Unexpected console statement
Fix: add /* eslint-disable no-console */
di paling atas file
- 'require' is not defined
Fix : add /*eslint-env node*/
di paling atas file
- basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')") SyntaxError: missing ) after argument list
- "No input file specified"
http://stackoverflow.com/questions/24274387/using-laravel-homestead-no-input-file-specified
- error : 'const' is available in ES6 (use esnext option) or Mozilla JS extensions (use moz).
http://stackoverflow.com/questions/27441803/why-does-jshint-throw-a-warning-if-i-am-using-const
Syntax error or access violation: 1071 Specified key was too long; max key length is 767 bytes
https://laravel-news.com/laravel-5-4-key-too-long-error
Call to undefined method Tests\Feature\BookControllerTest::seeInDatabase()
in laravel 5.4
//change seeInDatabase()
$this->seeInDatabase('books', ['title' => 'My Books!']);
//to assertDatabaseHas()
$this->assertDatabaseHas('books', ['title' => 'My Book!']);
- A non-empty PSR-4 prefix must end with a namespace separator
- Error when testing array with assert.equal(). use assert.deepEqual instead assert.equal() http://stackoverflow.com/questions/13225274/the-difference-between-assert-equal-and-assert-deepequal-in-javascript-testing-w
- No such file or directory after publish npm packages globally
add #!/usr/bin/env node
in first line
- cURL error 60: SSL certificate: unable to get local issuer certificate