wwebdev / static-website-template Goto Github PK
View Code? Open in Web Editor NEWA template for creating simple static websites without JS frameworks.
A template for creating simple static websites without JS frameworks.
Stacktrace after running npm i
...
gyp info using [email protected]
gyp info using [email protected] | win32 | x64
gyp verb command rebuild []
gyp verb command clean []
gyp verb clean removing "build" directory
gyp verb command configure []
gyp verb check python checking for Python executable "python2" in the PATH
gyp verb `which` failed Error: not found: python2
...
I don't use Sass but I do use Tailwind, any tips on how to go about this? For the most part everything installed seems useful to me, especially the posthtml-modules plug-in I come from a Laravel environment and that looks familiar to me, it's also one of the reasons why I want this to work so much. Just uninstall scss with npm but what other thing would need to be deactivated? I tried to follow along with the blog post but i think it's been a while since this and I think something came up in the process.
If i run npm install
it says i need to have node-sass installed, once i get that installed everything works as you intended but i don't use sass i know it's great tool and all. Thanks.
Stacktrace:
gyp verb command build []
gyp verb build type Release
gyp verb architecture x64
gyp verb node dev dir C:\Users\STUDIUM\.node-gyp\14.15.3
gyp verb found first Solution file build/binding.sln
gyp verb `which` succeeded for `msbuild` C:\Program Files (x86)\MSBuild\14.0\Bin\msbuild.EXE
gyp info spawn msbuild
gyp info spawn args [
gyp info spawn args 'build/binding.sln',
gyp info spawn args '/nologo',
gyp info spawn args '/p:Configuration=Release;Platform=x64'
gyp info spawn args ]
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
Build started 9/02/2021 11:56:47 PM.
Project "C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.sln" on node 1 (default targets).
ValidateSolutionConfiguration:
Building solution configuration "Release|x64".
Project "C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.sln" (1) is building "C:\SoftwareDevelopment\
Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) on node 1 (default targets).
Project "C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.vcxproj.metaproj" (2) is building "C:\Softwar
eDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\src\libsass.vcxproj" (3) on node 1 (default targets).
C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\src\libsass.vcxproj(21,3): error MSB4019: The imported project
"C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
Done Building Project "C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\src\libsass.vcxproj" (default targets)
-- FAILED.
Done Building Project "C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.vcxproj.metaproj" (default targ
ets) -- FAILED.
Done Building Project "C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.sln" (default targets) -- FAILE
D.
Build FAILED.
"C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.sln" (default target) (1) ->
"C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\binding.vcxproj.metaproj" (default target) (2) ->
"C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\src\libsass.vcxproj" (default target) (3) ->
C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass\build\src\libsass.vcxproj(21,3): error MSB4019: The imported proje
ct "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
0 Warning(s)
1 Error(s)
Time Elapsed 00:00:00.71
gyp ERR! build error
gyp ERR! stack Error: `msbuild` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\SoftwareDevelopment\\Epic-Project-Explorer\\ui\\static-website-template-master\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--verbose" "--libsass_ext=" "--libsass_cflags=" "--libsass_ldflags=" "--libsass_library="
gyp ERR! cwd C:\SoftwareDevelopment\Epic-Project-Explorer\ui\static-website-template-master\node_modules\node-sass
gyp ERR! node -v v14.15.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
Build failed with error code: 1
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\postcss-cli\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\onchange\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] postinstall: `node scripts/build.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] postinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
Thanks in advance,
Please help me out in adding font faces and aboutus page.
Since I added the ability you mention to put html head in separate file, I get the following problem in the browser:
Refused to execute inline script because it violates the following Content Security Policy directive: "default-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-kLOQNAVOaBgADiUv3KS/St2g6k1exicli/nlGA4Ku2Y='), or a nonce ('nonce-...') is required to enable inline execution. Note also that 'script-src' was not explicitly set, so 'default-src' is used as a fallback.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.