我尝试按照此课程在openclassroom中列出的步骤进行操作:https://openclassrooms.com/fr/courses/6391096-creez-des-sites-web-responsive-avec-bootstrap-4/6504178-creez-votre-propre-theme-de-conception
很多问题。如果您是法国人,则可以在此论坛中考虑我的主题: https://www.developpez.net/forums/d2079485/javascript/outils/installation-sass-message-terminal-windows/
所以我决定再次安装nodejs。我指定我没有卸载第一个,因为我没有找到方法。也许我不能那样做!
现在我尝试输入此命令行,其结果是:(看看npm警告!)
PS C:\Users\haddo\Documents\CODEUR\Projet-bootstrap-openclassroom> npm install --save bootstrap
npm WARN bootstrap@4.5.0需要一个jquery@1.9.1-3的对等节点,但未安装。您必须自己安装对等依赖项。 npm WARN bootstrap@4.5.0需要popper.js@^1.16.0的同级项,但未安装。您必须自己安装对等依赖项。 npm WARN projet-bootstrap-openclassroom@1.0.0没有存储库字段。
1个项目正在寻找资金
运行npm fund
了解详情
发现了0个漏洞
在节点js和npm版本下:
PS C:\ Users \ haddo \ Documents \ CODEUR \ Projet-bootstrap-openclassroom>节点-v v14.3.0 PS C:\ Users \ haddo \ Documents \ CODEUR \ Projet-bootstrap-openclassroom> npm -v 6.14.4 PS C:\ Users \ haddo \ Documents \ CODEUR \ Projet-bootstrap-openclassroom>
最后,我尝试输入此ligne命令,结果如下:
PS C:\ Users \ haddo \ Documents \ CODEUR \ Projet-bootstrap-openclassroom> @import“ ../node_modules/bootstrap/scss/bootstrap.scss” 里加(Ligne)1:9 + @import“ ../node_modules/bootstrap/scss/bootstrap.scss” + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Jeton inattendu«../node_modules/bootstrap/scss/bootstrap.scss“»dans l'expression ou l'指令。 里加(Ligne)1:1 + @import“ ../node_modules/bootstrap/scss/bootstrap.scss” + ~~~~~~~~ 不可能的«@»使用者的投射«@»不能完全表达自己的观点。 «@import»ne déunecommande的peutêtreutiliséque comme参数。将变量和表达式一起使用,使用« $ import»。 + CategoryInfo:ParserError:(:) [],ParentContainsErrorRecordException + FullyQualifiedErrorId:UnexpectedToken
我希望我已经足够精确了。