解决了,$..以后这种问题我会更仔细一些。麻烦了-。-
额,我又报错了,视频中每一步都是跟着做的,而且这部分步骤也很少。错误信息:
ErrorException in QuestionsController.php line 22:
Object of class App\Repositories\QuestionRepository could not be converted to string
有。。我还重新生成了一遍这个表,刚又检查了一遍发现question_id这个字段 写成了queistion_id。。这种问题真的,麻烦了
你好,我在添加了$question->topics()->attach($topics);语句后报错:
QueryException in Connection.php line 770:
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'question_id' in 'field list' (SQL: insert into question_topic
(created_at
, question_id
, topic_id
, updated_at
) values (2017-02-27 20:03:20, 7, 13, 2017-02-27 20:03:20), (2017-02-27 20:03:20, 7, 2, 2017-02-27 20:03:20))
我好像知道了,没有配置git的环境变量..我再去试试,如果有新的问题,再来请教你,谢谢
es6 语法支持就是settings中javascript的language verison选择为ECMAScript6?
需要我贴出执行npm install后所有的信息么?
额,好的,谢谢。那npm,我执行完npm install就好了,不去管wanrn?还有ERR呢?
比如:
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\laragon\\bin\\nodejs\\node.exe" "D:\\Program Files\\nodejs\\node_global\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! node v6.9.5
npm ERR! npm v4.2.0
npm ERR! code ENOGIT
Vue.http.interceptors.push((request, next) => {
request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
next();
});
这是boostrap.js文件中具体出现红色波浪线的地方
1.项目中是boostrap.js文件出现红色波浪底线(错误?)只是打开了这个文件就这样,具体程序还不知道。
2.npm install。很多warn。用npm install -g npm更新了,一样不行
站长我想问一下,当我打开bootstrap后,里面出现问题,出现问题的是:
Vue.http.interceptors.push((request, next) => {
request.headers.set('X-CSRF-TOKEN', Laravel.csrfToken);
next();
});
这个是什么原因?我打开了另外一个新的laravel5.3项目,也是同样的问题。
在npm install出现了
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
还是用配置环境的方式把laragon的node配置好了。题外话站长什么时候可以把评论加一个功能,可以删除自己的留言,刚才那个问题想删了=。=