getndazn / kopytko-cli

Command line interface for Kopytko Ecosystem.
MIT License
2 stars 0 forks source link

UnsuccessfulWorkflowExecution [Error]: Workflow did not execute successfully. #11

Closed jfrux closed 2 years ago

jfrux commented 2 years ago

When running kopytko new roku-test-project Node version 17.6.0

➜  Projects kopytko new roku-test-project
? What is your Roku device IP address? 10.168.20.61
? What is your Roku device dev user? rokudev
? What is your Roku device dev password? pass
? What is your Roku device application id? **removed**
? What is your Roku device signing password? **removed**
CREATE roku-test-project/.env (176 bytes)
CREATE roku-test-project/.editorconfig (200 bytes)
CREATE roku-test-project/.eslintrc (464 bytes)
CREATE roku-test-project/.kopytkorc (1203 bytes)
CREATE roku-test-project/.npmignore (74 bytes)
CREATE roku-test-project/README.md (789 bytes)
CREATE roku-test-project/package.json (722 bytes)
CREATE roku-test-project/manifest/default.js (249 bytes)
CREATE roku-test-project/manifest/dev.js (57 bytes)
CREATE roku-test-project/manifest/production.js (21 bytes)
CREATE roku-test-project/manifest/staging.js (21 bytes)
CREATE roku-test-project/manifest/test.js (21 bytes)
CREATE roku-test-project/plugins/remove-test-code.js (794 bytes)
CREATE roku-test-project/src/components/App.routing.brs (187 bytes)
CREATE roku-test-project/src/components/App.template.brs (160 bytes)
CREATE roku-test-project/src/components/App.theme.brs (237 bytes)
CREATE roku-test-project/src/components/App.view.brs (941 bytes)
CREATE roku-test-project/src/components/App.view.xml (222 bytes)
CREATE roku-test-project/src/components/MainScene.brs (178 bytes)
CREATE roku-test-project/src/components/MainScene.xml (157 bytes)
CREATE roku-test-project/src/components/TrackerTask.xml (91487 bytes)
CREATE roku-test-project/src/components/clock/Clock.model.xml (161 bytes)
CREATE roku-test-project/src/components/clock/Clock.request.brs (392 bytes)
CREATE roku-test-project/src/components/clock/Clock.request.xml (170 bytes)
CREATE roku-test-project/src/components/clock/Clock.template.brs (437 bytes)
CREATE roku-test-project/src/components/clock/Clock.view.brs (457 bytes)
CREATE roku-test-project/src/components/clock/Clock.view.xml (228 bytes)
CREATE roku-test-project/src/components/clock/_tests/ClockView.test.brs (1895 bytes)
CREATE roku-test-project/src/components/common/HttpRequest.brs (1439 bytes)
CREATE roku-test-project/src/components/common/HttpRequest.xml (163 bytes)
CREATE roku-test-project/src/components/common/NavButton.xml (168 bytes)
CREATE roku-test-project/src/components/common/Spinner.component.brs (422 bytes)
CREATE roku-test-project/src/components/common/Spinner.component.xml (169 bytes)
CREATE roku-test-project/src/components/counter/Counter.template.brs (367 bytes)
CREATE roku-test-project/src/components/counter/Counter.view.brs (858 bytes)
CREATE roku-test-project/src/components/counter/Counter.view.xml (234 bytes)
CREATE roku-test-project/src/components/counter/_tests/CounterView.test.brs (2091 bytes)
CREATE roku-test-project/src/components/home/Home.template.brs (1337 bytes)
CREATE roku-test-project/src/components/home/Home.view.brs (922 bytes)
CREATE roku-test-project/src/components/home/Home.view.xml (225 bytes)
CREATE roku-test-project/src/images/busyspinner_hd.png (8237 bytes)
CREATE roku-test-project/src/source/Main.brs (440 bytes)
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: roku-test-project@1.0.0
npm ERR! Found: eslint@5.6.0
npm ERR! node_modules/eslint
npm ERR!   dev eslint@"5.6.0" from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@"^8.9.0" from @dazn/eslint-plugin-kopytko@2.1.0
npm ERR! node_modules/@dazn/eslint-plugin-kopytko
npm ERR!   dev @dazn/eslint-plugin-kopytko@"^2.0.0" from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /Users/joshua/.npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/joshua/.npm/_logs/2022-03-07T18_29_29_232Z-debug-0.log
✖ Package install failed, see above.
UnsuccessfulWorkflowExecution [Error]: Workflow did not execute successfully.
    at ChildProcess.<anonymous> (/Users/joshua/.asdf/installs/nodejs/17.6.0/.npm/lib/node_modules/@dazn/kopytko-cli/node_modules/@angular-devkit/schematics/tasks/package-manager/executor.js:134:31)
    at ChildProcess.emit (node:events:527:28)
    at maybeClose (node:internal/child_process:1090:16)
    at Socket.<anonymous> (node:internal/child_process:449:11)
    at Socket.emit (node:events:527:28)
    at Pipe.<anonymous> (node:net:688:12)
jfrux commented 2 years ago

Also, looks like it requires Node >=16.10.0 as that is what the angular-devkit/core and angular-devkit/schematics dependencies require. Are those needed? Maybe we should drop them.

jfrux commented 2 years ago

Fails with the same error when running it with Nodejs 16.10.0

tbazelczuk commented 2 years ago

Hi jfrux,

Thank for your feedback. We have just updated the package. It should works with nodejs 16.x. Please use npm install -g @dazn/kopytko-cli

jfrux commented 2 years ago

Thank you so much! That seems to have fixed it. Awesome project you have going so far!

Any considerations of using brighterscript at all? I'd imagine you could use some of it for the imports, namespacing, etc.