It looks to me like some of the dependencies for (at least) one of the examples are out of date. Attempting to run npm start in "cyclejs/examples/intermediate/tsx-seconds-elapsed" fails with TypeScript errors starting with:
"node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax."
I updated several dependencies by deleting dependency and devDependency lines from "tsx-seconds-elapsed/package.json", and then reinstalling the associated libraries with npm, and the example now builds and runs as expected. I'm relatively new to JavaScript and node.js development, and very new to poking around in Cycle, so I'm not sure—first—how to choose and maintain the versions of dependencies for this example, and—second—what is the best way to manage the dependency listings in "package.json". That said, I've attached the diff to "package.json", if it helps provide some information.
It looks to me like some of the dependencies for (at least) one of the examples are out of date. Attempting to run
npm startin "cyclejs/examples/intermediate/tsx-seconds-elapsed" fails with TypeScript errors starting with:"node_modules/@types/node/index.d.ts(20,1): error TS1084: Invalid 'reference' directive syntax."
I updated several dependencies by deleting
dependencyanddevDependencylines from "tsx-seconds-elapsed/package.json", and then reinstalling the associated libraries with npm, and the example now builds and runs as expected. I'm relatively new to JavaScript and node.js development, and very new to poking around in Cycle, so I'm not sure—first—how to choose and maintain the versions of dependencies for this example, and—second—what is the best way to manage the dependency listings in "package.json". That said, I've attached the diff to "package.json", if it helps provide some information.