featherbear / presonus-studiolive-api-midi-integration

MIDI Integration for the PreSonus StudioLive API
5 stars 2 forks source link

> Cannot find module 'rollup' #4

Closed jhoanir closed 1 year ago

jhoanir commented 2 years ago

I tried everything but i can't built it. Can you help me out?

yarn add.txt yarn start.txt

featherbear commented 2 years ago
yarn run v1.22.19
warning ../../package.json: No license field
$ node __sapper__/build | bunyan
node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '/Users/jhoanir/node_modules/presonus-studiolive-api-midi-integration/__sapper__/build'
    at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Module._load (node:internal/modules/cjs/loader:804:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.7.0
Done in 0.57s.

Please try run the yarn dev command and see if that works

jhoanir commented 2 years ago
yarn run v1.22.19
warning ../../package.json: No license field
$ node __sapper__/build | bunyan
node:internal/modules/cjs/loader:959
  throw err;
  ^

Error: Cannot find module '/Users/jhoanir/node_modules/presonus-studiolive-api-midi-integration/__sapper__/build'
    at Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
    at Module._load (node:internal/modules/cjs/loader:804:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:17:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v18.7.0
Done in 0.57s.

Please try run the yarn dev command and see if that works

I'm trying with this: Mixer: StudioLive 16R Firmware Version: 2.5.17953 App Version: 3.6.4.87069

Looks like don't connect any midi device and don't connect to mixer. Attaching my .env file env.txt

➜  presonus-studiolive-api-midi-integration git:(master) ✗ yarn dev
yarn run v1.22.19
warning ../../package.json: No license field
$ sapper dev | bunyan

[rollup-plugin-svelte] The following packages did not export their `package.json` file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.

- socket.io-parser

✔ server (5.0s)

[rollup-plugin-svelte] The following packages did not export their `package.json` file so we could not check the "svelte" field. If you had difficulties importing svelte components from a package, then please contact the author and ask them to export the package.json file.

- socket.io-parser
- engine.io-parser

✔ client (5.4s)
[2022-08-11T04:07:27.615Z]  INFO: PreSonus StudioLive MIDI Integration/31058 on mahhshev.local: Starting web server
[2022-08-11T04:07:27.619Z]  INFO: PreSonus StudioLive MIDI Integration/31058 on mahhshev.local: Enabling WebMIDI support
[2022-08-11T04:07:27.635Z]  INFO: PreSonus StudioLive MIDI Integration/31058 on mahhshev.local: Created virtual MIDI device
[2022-08-11T04:07:27.638Z]  INFO: PreSonus StudioLive MIDI Integration/31058 on mahhshev.local: Found MIDI devices in mac
    devices: [
      "Keystation 88 Port 1",
      "Keystation 88 Port 2",
      "SSCOM Port 1",
      "SSCOM Port 2",
      "IAC2SL3 bus"
    ]
[2022-08-11T04:07:27.638Z]  INFO: PreSonus StudioLive MIDI Integration/31058 on mahhshev.local: Connecting to StudioLive console at 192.168.0.100:53000
[2022-08-11T04:07:27.640Z]  INFO: PreSonus StudioLive MIDI Integration/31058 on mahhshev.local: Web server listening on 0.0.0.0:3000
> Listening on http://localhost:3000
✔ service worker (849ms)
Unhandled message code CK
Unhandled message code CK
featherbear commented 2 years ago

The code has been updated and CK packets should now be resolved