- 在
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
复制代码