在null上调用成员函数make()

时间:2016-10-23 09:36:51

标签: laravel laravel-5 composer-php

我将项目从laravel 4.2升级到laravel 5,当我在clear-compile命令后尝试{ "compilerOptions": { "declaration": false, "emitDecoratorMetadata": true, "experimentalDecorators": true, "lib": ["es6", "dom"], "mapRoot": "./", "module": "es6", "moduleResolution": "node", "noImplicitAny": false, "outDir": "../resources/static/out-tsc", "sourceMap": true, "target": "es6", "typeRoots": [ "../../../node_modules/@types" ] } } 时,我得到了

composer update

当我尝试测试我的项目时,我明白了:

enter image description here

任何帮助?

1 个答案:

答案 0 :(得分:0)

有时,错误消息并不能说明错误。检查您的配置文件是否正常,那里没有意外的令牌。例如缺少逗号或右括号。