Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |
Tags
- Babel
- docker
- Redux
- rabbitmq
- Redis
- CentOS
- laravel
- 기초 수학
- webpack
- php
- React
- python
- 블레이드 템플릿
- node.js
- nodejs
- linux
- Backbone.js
- For
- Switch
- AWS
- Machine Learning
- SQL
- fastapi
- javascript
- mariadb
- nginx
- Node
- deep learning
- Go
- NCP
Archives
- Today
- Total
개발일기
Windows Powershell - Supplying an input file via '@' gives an error: The splatting operator '@' cannot be used to reference variables in an expression 본문
cmd, terminal
Windows Powershell - Supplying an input file via '@' gives an error: The splatting operator '@' cannot be used to reference variables in an expression
Flashback 2025. 5. 4. 17:03728x90
반응형

윈도우 파워쉘에서 yarn add @socket.io/redis-adapter를 할 때 이와 같은 에러가 발생했다. 파워쉘이 @ 기호를 배열, 해시테이블, splatting 연산자 용도로 인식했기 때문에 발생하는 에러로 @ 기호가 위치하는 npm 모듈명을 ""로 감싸주면 해결된다.
yarn add "@socket.io/redis-adapter"
참고 사이트:
728x90
반응형