Cocos Creator 3.x 的fairyGUI 在 git 上的 Demo,打开报错,npm install 还是不对
git:https://github.com/fairygui/Fa ... cc3.0
下载之后用creator打开demo工程
报很多个错,全部都是:
Unable to resolve bare specifier 'fairygui-cc'
creator 3.3.2
npm install 时:
>npm install --save fairygui-cc
npm WARN saveError ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'
npm WARN system32 No description
npm WARN system32 No repository field.
npm WARN system32 No README data
npm WARN system32 No license field.
+ fairygui-cc@1.1.1
updated 1 package and audited 4 packages in 1.489s
found 0 vulnerabilities
之后在System32\node_modules\fairygui-cc发现有下载dist文件夹,但是运行demo时依旧报如题目所述错误,是否和我将cocos安装在d盘有关?
下载之后用creator打开demo工程
报很多个错,全部都是:
Unable to resolve bare specifier 'fairygui-cc'
creator 3.3.2
npm install 时:
>npm install --save fairygui-cc
npm WARN saveError ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'
npm WARN enoent ENOENT: no such file or directory, open 'C:\WINDOWS\system32\package.json'
npm WARN system32 No description
npm WARN system32 No repository field.
npm WARN system32 No README data
npm WARN system32 No license field.
+ fairygui-cc@1.1.1
updated 1 package and audited 4 packages in 1.489s
found 0 vulnerabilities
之后在System32\node_modules\fairygui-cc发现有下载dist文件夹,但是运行demo时依旧报如题目所述错误,是否和我将cocos安装在d盘有关?
没有找到相关结果
已邀请:
1 个回复
谷主
赞同来自: