Last login: Thu Mar 23 07:53:12 on console nagasm-Mac-mini-2:~ nagasm$ ls Applications Downloads Music Sites Desktop Library Pictures dwhelper Documents Movies Public nagasm-Mac-mini-2:~ nagasm$ cd Documents nagasm-Mac-mini-2:Documents nagasm$ ls Archive_Library Max 8 Xcode Arduino Myo leapmotion Basic OpenBCI lua-5.3.4 Kinect OpenCV mbed_NucleoF401RE MSDOS Processing nagasm_org Max Propeller開発 simpleKinect Max 7 SuperCollider お仕事 nagasm-Mac-mini-2:Documents nagasm$ cd Max nagasm-Mac-mini-2:Max nagasm$ ls Packages 実験中 Pieces 実験室 Projects 学生プロジェクト集 old_archive nagasm-Mac-mini-2:Max nagasm$ cd Projects nagasm-Mac-mini-2:Projects nagasm$ ls 12_rubber_SW LED_control TIPS 6axis-sensor LEDpanel TUA2017demo 6axis_Nano33IoT LightpadBlock TWE-Lite 9axis_Nano33BLE Lissajous ToCoStick ADPS9960 LittleBits TouchMIDI32 Adafruit_WiFi MDW2017 USB_controllers Analog_to_Serial MDW2020_Ochi Uzu-Open Arduino2Max MDW2020_Teru Uzu-Tool ArduinoMIDIUSB MDWworkshop2018 VFB10 ArduinoNANO33IoT_WiFi MOTOWN VPP-SUAC Audible_Logistic MUSE Wii_again BFseminar20180331demo Max7お勉強 Xenoma BothHandsControl MaxSummerSchool2018.zip control Breath_Record Max_demo cv_jit CO2 Max_test emstyle CdS_PWM Maxuino felica ChatGPT Max日記(4) fpic_ubutton Clyde_test Max補習2021 function_test Clyde_tool Mega_Magnet jitter-examples Cycling74Forum Mozzi_speed_test jitter_test Dazed_&_Confused Muse2MyoUniUni jitter実験 Dazed_&_Confused_OC Muse_2 kinect Dodecahedron MyFaboriteObject koyama Drive_Game NeoGainer latency_test EDA_sensor OMMF2018 leapmotion EmotiBit OpenCampus2006 mbed日記(2) EncoderReceiver OpenCampus2017 mbed日記(3) Eye_tracker OscllatorSync mira FMC3 PAWセンサ movie_player Firmata Processing namaco Firmata+maxuino Propeller picachu GAINER RC522 reacTIVision GHI2014 RTC-lib_71 serial_receive GSR2 Rev-O-mate tsukuba_ensembell Globolink Reverb_test very_old Guranular Risset_Rhythm 作品集2012-2019 HeartBeat Ritto_Music 作品集2013-2020 IRCAM_Piano Sasaoka 筑波大2015 InteractiveProducts SeeedEMG 映像酔い InteractveRhythmGame SeeedGPS 筋肉体操 Jabara Seeed_Mini_LiDER 遠隔授業2020 Javascript SeeeduinoXIAO 基礎心理学 JumpingGirl SuperCollider_test シンセ講座2022 nagasm-Mac-mini-2:Projects nagasm$ cd ChatGPT nagasm-Mac-mini-2:ChatGPT nagasm$ ls OpenAI_test_01.maxpat communication.js test1.js OpenAI_test_02.maxpat test.js test2.js nagasm-Mac-mini-2:ChatGPT nagasm$ npm install @openai/api dyld: lazy symbol binding failed: Symbol not found: ____chkstk_darwin Referenced from: /Users/nagasm/.nvm/versions/node/v18.15.0/bin/node Expected in: /usr/lib/libSystem.B.dylib dyld: Symbol not found: ____chkstk_darwin Referenced from: /Users/nagasm/.nvm/versions/node/v18.15.0/bin/node Expected in: /usr/lib/libSystem.B.dylib Trace/BPT trap: 5 nagasm-Mac-mini-2:ChatGPT nagasm$ nvm uninstall 18.15.0 Uninstalled node v18.15.0 nagasm-Mac-mini-2:ChatGPT nagasm$ nagasm-Mac-mini-2:ChatGPT nagasm$ nvm install 12 nvm use 12 Downloading and installing node v12.22.12... Downloading https://nodejs.org/dist/v12.22.12/node-v12.22.12-darwin-x64.tar.xz... ######################################################################## 100.0% Computing checksum with shasum -a 256 Checksums matched! Now using node v12.22.12 (npm v6.14.16) nagasm-Mac-mini-2:ChatGPT nagasm$ nvm use 12 Now using node v12.22.12 (npm v6.14.16) nagasm-Mac-mini-2:ChatGPT nagasm$ nagasm-Mac-mini-2:ChatGPT nagasm$ npm install @openai/api npm ERR! code E404 npm ERR! 404 Not Found - GET https://registry.npmjs.org/@openai%2fapi - Not found npm ERR! 404 npm ERR! 404 '@openai/api@latest' is not in the npm registry. npm ERR! 404 You should bug the author to publish it (or use the name yourself!) npm ERR! 404 npm ERR! 404 Note that you can also install from a npm ERR! 404 tarball, folder, http url, or git url. npm ERR! A complete log of this run can be found in: npm ERR! /Users/nagasm/.npm/_logs/2023-03-23T01_17_04_876Z-debug.log nagasm-Mac-mini-2:ChatGPT nagasm$ npm install axios npm WARN saveError ENOENT: no such file or directory, open '/Users/nagasm/Documents/Max/Projects/ChatGPT/package.json' npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN enoent ENOENT: no such file or directory, open '/Users/nagasm/Documents/Max/Projects/ChatGPT/package.json' npm WARN ChatGPT No description npm WARN ChatGPT No repository field. npm WARN ChatGPT No README data npm WARN ChatGPT No license field. + axios@1.3.4 added 9 packages from 25 contributors and audited 9 packages in 3.367s 1 package is looking for funding run `npm fund` for details found 0 vulnerabilities ╭───────────────────────────────────────────────────────────────╮ │ │ │ New major version of npm available! 6.14.16 → 9.6.2 │ │ Changelog: https://github.com/npm/cli/releases/tag/v9.6.2 │ │ Run npm install -g npm to update! │ │ │ ╰───────────────────────────────────────────────────────────────╯ nagasm-Mac-mini-2:ChatGPT nagasm$