yarnpkg / yarn

The 1.x line is frozen - features and bugfixes now happen on https://github.com/yarnpkg/berry
https://classic.yarnpkg.com
Other
41.37k stars 2.72k forks source link

yarn build #8945

Open Slutte267 opened 1 year ago

Slutte267 commented 1 year ago

Hi i have this and i can't fix that T^T. help me, plz! I'm about to take my final exam.

MacBook-Air-cua-69MK:~ 69mk$ cd nguyen-thuy-quynh-21070560-library-system-final-submission MacBook-Air-cua-69MK:nguyen-thuy-quynh-21070560-library-system-final-submission 69mk$ rails g scaffold Subject name:string description:string invoke active_record create db/migrate/20230427120101_create_subjects.rb create app/models/subject.rb invoke test_unit create test/models/subject_test.rb create test/fixtures/subjects.yml invoke resource_route route resources :subjects invoke scaffold_controller create app/controllers/subjects_controller.rb invoke erb create app/views/subjects create app/views/subjects/index.html.erb create app/views/subjects/edit.html.erb create app/views/subjects/show.html.erb create app/views/subjects/new.html.erb create app/views/subjects/_form.html.erb create app/views/subjects/_subject.html.erb invoke resource_route invoke test_unit create test/controllers/subjects_controller_test.rb create test/system/subjects_test.rb invoke helper create app/helpers/subjects_helper.rb invoke test_unit invoke jbuilder create app/views/subjects/index.json.jbuilder create app/views/subjects/show.json.jbuilder create app/views/subjects/_subject.json.jbuilder MacBook-Air-cua-69MK:nguyen-thuy-quynh-21070560-library-system-final-submission 69mk$ rails g scaffold Book title:string author:string publisher:string year:integer borrowed_at:datetime available:boolean subject:references invoke active_record create db/migrate/20230427120115_create_books.rb create app/models/book.rb invoke test_unit create test/models/book_test.rb create test/fixtures/books.yml invoke resource_route route resources :books invoke scaffold_controller create app/controllers/books_controller.rb invoke erb create app/views/books create app/views/books/index.html.erb create app/views/books/edit.html.erb create app/views/books/show.html.erb create app/views/books/new.html.erb create app/views/books/_form.html.erb create app/views/books/_book.html.erb invoke resource_route invoke test_unit create test/controllers/books_controller_test.rb create test/system/books_test.rb invoke helper create app/helpers/books_helper.rb invoke test_unit invoke jbuilder create app/views/books/index.json.jbuilder create app/views/books/show.json.jbuilder create app/views/books/_book.json.jbuilder MacBook-Air-cua-69MK:nguyen-thuy-quynh-21070560-library-system-final-submission 69mk$ rails db:migrate == 20230427120101 CreateSubjects: migrating =================================== -- create_table(:subjects) -> 0.0032s == 20230427120101 CreateSubjects: migrated (0.0033s) ==========================

== 20230427120115 CreateBooks: migrating ====================================== -- create_table(:books) -> 0.0054s == 20230427120115 CreateBooks: migrated (0.0055s) =============================

MacBook-Air-cua-69MK:nguyen-thuy-quynh-21070560-library-system-final-submission 69mk$ yarn build yarn run v1.22.19 error Couldn't find a package.json file in "/Users/69mk/nguyen-thuy-quynh-21070560-library-system-final-submission" info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. MacBook-Air-cua-69MK:nguyen-thuy-quynh-21070560-library-system-final-submission 69mk$