运行npm start时,node_modules错误

时间:2019-02-12 10:28:58

标签: reactjs

在我的应用程序中键入“ npm start”时出现此错误

class Book(models.Model):
   book_id = models.IntegerField(primary_key=True)
   name = models.CharField(max_length=255)
   isbn = models.CharField(max_length=255)

class Author(models.Model):
   id = models.IntegerField(primary_key=True)
   name = models.CharField(max_length=255)
   mobile_no = models.CharField(max_length=255)
   book_id = models.ForeignKey(Book)//I want to link it with Book.book_id

我试图删除文件夹node_modules并用npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! questionnaire@0.1.0 start: `react-scripts start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the questionnaire@0.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 重新安装,但是问题再次出现。 我该如何解决?

0 个答案:

没有答案