0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

5.0.2 Cannot find module '@rollup/rollup-linux-arm64-gnu' on multi platform build

Posted at

メモ用
"pnpm": {
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}
}

overrudesするだけです。pnpmのとこはそれぞれのドキュメント見て当てはまるやつで書く!!

ちなみにnpmは
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}だけ

etc,
"devDependencies": {
"@types/compression": "^1.7.5",
"@types/express": "^4.17.21",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"@vitejs/plugin-react": "^4.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-react-refresh": "^0.4.7",
"typescript": "^5.2.2",
"vite": "^5.3.4"
},
"optionalDependencies": {
"@rollup/rollup-linux-x64-gnu": "4.9.5"
},
"overrides": {
"rollup": "npm:@rollup/wasm-node"
}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?