- 在
go run build.go setup
時報錯:go的開發路徑配置不正確
- 在
npm run build
報錯:報錯信息:Module build failed: ModuleBuildError: Module build failed: Error: `sass-loader` requires `node-sass` >=4. Please install a compatible version.複製代碼
須要安裝node-sass
- 在
npm run watch
報錯:報錯信息:This usually happens because your environment has changed since running 'npm install' .複製代碼
須要執行:npm rebuild node-sass命令
;
- 在打包時發生錯誤:
exec: "fpm": executable file not found in $PATH
yum install ruby-devel gcc make rpm-build rubygems
gem install --no-ri --no-rdoc fpm
fpm --version
複製代碼