Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem for development in Windows 10. #219

Closed
impossible98 opened this issue Feb 4, 2020 · 5 comments
Closed

Problem for development in Windows 10. #219

impossible98 opened this issue Feb 4, 2020 · 5 comments

Comments

@impossible98
Copy link

npm WARN rm not removing C:\Users\chris\dev\impossible98\insect\node_modules\.bin\JSONStream.cmd as it wasn't installed by C:\Users\chris\dev\impossible98\insect\node_modules\JSONStream
npm WARN rm not removing C:\Users\chris\dev\impossible98\insect\node_modules\.bin\JSONStream as it wasn't installed by C:\Users\chris\dev\impossible98\insect\node_modules\JSONStreamolution inconsistencies caused by unsynchro                
> psc-package@4.0.0 preinstall C:\Users\chris\dev\impossible98\insect\node_modules\psc-package
> node ./install.js > opn@6.0.0: The package has been renamed to `open`
[2/4] Fetching packages...

> purescript@0.13.6 postinstall C:\Users\chris\dev\impossible98\insect\node_modules\purescriptfrom insta                > install-purescript --purs-ver=0.13.6
[3/4] Linking dependencies...
i Found a cache at C:\Users\chris\AppData\Local\purescript-npm-installer-nodejs\Cache\content-v2\sha512\86\9e
[1/2] ⠂ psc-package
√ Restore the cached 0.13.6 binary for win32 (488ms)
√ Verify the restored binary works correctly (481ms)

Installed to C:\Users\chris\dev\impossible98\insect\node_modules\purescript\purs.bin 60.09 MB


> insect@5.3.0 postinstall C:\Users\chris\dev\impossible98\insect
> psc-package install && npm run browserify && npm run copy

Unable to parse packages.json: Error in $: not enough input
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! insect@5.3.0 postinstall: `psc-package install && npm run browserify && npm run copy`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the insect@5.3.0 postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\chris\AppData\Roaming\npm-cache\_logs\2020-02-04T13_42_07_366Z-debug.log
@sharkdp
Copy link
Owner

sharkdp commented Feb 5, 2020

Thank you very much for the feedback. I don't know what's going on here. It looks like it could be related to a recent change in #217. Maybe @justinwoo could help (if you have time to look at this)?

@justinwoo
Copy link
Contributor

No idea what this is really, but let me try checking through some backlogs. @dstcruz would also know a lot more about this than I do

@justinwoo
Copy link
Contributor

@impossible98 Could you try the branch in #220 sometime? It seems this issue is largely caused by a collision of some gitconfig settings with newlines on Windows and a dependency of psc-package.

@sharkdp
Copy link
Owner

sharkdp commented Feb 17, 2020

@impossible98 Please let us know if this has been fixed by merging #220.

@sharkdp
Copy link
Owner

sharkdp commented Mar 15, 2020

Closing this for now.

@sharkdp sharkdp closed this as completed Mar 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants