Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/r-k-b/cycle-http-driver-require-example
repro steps for import / build errors occurring somewhere between jspm/systemjs and @cycle/http
https://github.com/r-k-b/cycle-http-driver-require-example
Last synced: 26 days ago
JSON representation
repro steps for import / build errors occurring somewhere between jspm/systemjs and @cycle/http
- Host: GitHub
- URL: https://github.com/r-k-b/cycle-http-driver-require-example
- Owner: r-k-b
- Created: 2016-01-31T00:24:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-31T00:25:17.000Z (almost 9 years ago)
- Last Synced: 2023-03-23T12:04:33.523Z (almost 2 years ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Start with this clean repo (either a fresh clone, or `git clean -fxd`)
$ npm install
$ jspm install
Fails with:$ node ./systemjs-build.js
Build error:
[Error: ENOENT: no such file or directory, open 'C:\Users\rob\projects\cycle-http-driver-require-example\emitter.js']Ok.. so we manually install that dependency:
$ jspm install npm:emitter
Try the build again:
$ node ./systemjs-build.js
Build error:
[Error: ENOENT: no such file or directory, open 'C:\Users\rob\projects\cycle-http-driver-require-example\reduce.js']
Install reduce & try again:$ jspm install npm:reduce
$ node ./systemjs-build.js
Build error:
[Error: ENOENT: no such file or directory, open 'C:\Users\rob\projects\cycle-http-driver-require-example\jspm_packages\npm\@cycle\[email protected]\dist\http-driver.js']
wutTurns out changing `jspm_packages/npm/@cycle/[email protected]/dist/cycle-http-driver.js:779` fixes this. Replace:
var _require = require('./http-driver');
with:var _require = require('../lib/http-driver');
and try again:
$ node ./systemjs-build.js
Build completehuzzah
----
Where do I go to fix this.