Closed sarriaroman closed 6 years ago
I tried a new project using with-typescript-material-ui
with the same result.
Installing modules with Yarn solves the problem but this is the new problem running with yarn dev
yarn dev sarriaroman@macbook-pro
yarn run v1.7.0
$ nextron
env: node\r: No such file or directory
error Command failed with exit code 127.
Running nextron
with the global module works for dev.
Thank you for your trying nextron and sorry for inconvenience. I usually use Windows 7, so I'll test nextron with my Mac later today :)
If you have some time, could you tell me your node and npm versions? (you may use several versions of nodejs)
Thanks a lot for reporting bugs <3
I develop nextron mainly on Windows.
But CLI files are DOS format of Windows, so UNIX format on Mac, we see env: node\r: No such file or directory
error.
See this reference: https://stackoverflow.com/questions/30344858/node-script-executable-not-working-on-mac-env-node-r-no-such-file-or-directo
Running dos2unix node_modules/nextron/**/*
solves the issue. The problem as you said is with CRLF
format in the files of the module.
To get installed dos2unix on mac: brew install dos2unix
( Homebrew must be installed previous to run the command )
Developed on my Windows and tested on my Mac, nextron@0.8.3
fixes this issue 👍
Have any other troubles?
After the creation of a new project, when I try to tun
npm run dev
I'm getting the next error:The mime module is installed just in case. This wasn't happening with the version 0.6.7, I upgrade to the latest and start happening.
Thanks