You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[!] Error: Could not resolve './pages/Version.svelte' from src/routes.js
Error: Could not resolve './pages/Version.svelte' from src/routes.js
at error (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:198:30)
at ModuleLoader.handleResolveId (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:22287:24)
at /root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:22250:26
[!] Error: Unexpected token (Note that you need @rollup/plugin-json to import JSON files)
node_modules/axios/package.json (2:8)
1: {
2: "name": "axios",
^
3: "version": "0.21.4",
4: "description": "Promise based HTTP client for the browser and node.js",
Error: Unexpected token (Note that you need @rollup/plugin-json to import JSON files)
at error (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:198:30)
at Module.error (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:12560:16)
at Module.tryParse (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:12937:25)
at Module.setSource (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:12842:24)
at ModuleLoader.addModuleSource (/root/simple-cloud-music/node_modules/rollup/dist/shared/rollup.js:22090:20)
这个问题不知道怎么解决
node 版本为 v18.12.0
The text was updated successfully, but these errors were encountered:
问题1:
readme 里这一段:
node i
命令是不是应该是npm install
?问题2:
应该是文件名大小写问题 ,
src/pages/version.svelte
文件名改为src/pages/Version.svelte
就好了。问题3:
这个问题不知道怎么解决
node 版本为 v18.12.0
The text was updated successfully, but these errors were encountered: