Coder Social home page Coder Social logo

create-ssr-app's Introduction

Hi there 👋

I'm a front end engineer, and foucs on open source programmer.

I use TypeScript and Rust in daily development.

My work experience

I used to work at Alibaba from 2018 to 2020

I'm working at WeChat

My personal representative open source project

ssr A most advanced ssr framework support React17/React18/Vue2/Vue3 on Earth that implemented serverless-side render specification.

fe-dev-playbook A document about how to create a perfect development environment.

v8-profiler-rs Use Rust analyze V8 HeapSnapShot by visual interface ui

node-ffi-rs Implement ffi in Node.js by Rust and NAPI

memoryshare Share memory between different Node.js processes by Rust

Famous open source project i had contributed to

vite

webpack

How to sponsor me

There are two ways to sponsor me both Alipay and WeChat

Eth address: 0x87a2575a5d4dbD5f965e3e3a3d20641BC9a5d192

create-ssr-app's People

Contributors

zhangyuang avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

create-ssr-app's Issues

linux上create-ssr-app cli换行符问题

详细描述你的问题

执行 yarn create ssr-app project_name出现/usr/bin/env: “node\r”: 没有那个文件或目录
vim查看源码并 :set ff 发现换行符为 msdos

期望的结果

cli正常执行

当前使用的版本

[email protected]

复现仓库地址

你本人对问题可能的原因判断(如果你能大概判断的话)

换行符不正确,改为unix换行符即可解决问题

mac上使用脚手架抛错 env: node\r: No such file or directory

完整的信息如下

> yarn create ssr-app --template=ssr-with-ts

yarn create v1.22.4
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
[3/4] 🔗  Linking dependencies...
[4/4] 🔨  Building fresh packages...

success Installed "[email protected]" with binaries:
      - create-ssr-app
      - csa
env: node\r: No such file or directory
error Command failed.
Exit code: 127
Command: /usr/local/bin/create-ssr-app
Arguments: --template=ssr-with-ts
Directory: /Users/lee/Desktop/Development/mi-project/event-template
Output:

info Visit https://yarnpkg.com/en/docs/cli/create for documentation about this command.

查了一下,应该是Windows的crlf换行符导致的,临时的解决办法 https://stackoverflow.com/questions/30344858/node-script-executable-not-working-on-mac-env-node-r-no-such-file-or-directo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.