saltyshiomix / nextron

⚡ Next.js + Electron ⚡
https://npm.im/nextron
MIT License
3.97k stars 229 forks source link

An error occurred when `nextron init test-app --template with-typescript #1

Closed saltyshiomix closed 6 years ago

saltyshiomix commented 6 years ago

Could not load TypeScript. Try installing with yarn add typescript or npm install typescript. If TypeScript is installed globally, try using yarn link typescript or npm link typescript.

Maybe npm install error.

Try commands below:

$ rm -rf node_modules
$ yarn

# with no error
$ yarn dev
$ yarn build
saltyshiomix commented 6 years ago

Fix https://github.com/saltyshiomix/nextron/commit/646f1697783124755c4e956f5e1026a56c449f23