Comments (9)
Same issue for me trying with both npm and yarn.
Windows 10
npm 6.4.1
node 10.14.2
C:\Users\jday\Documents\GitHub\one-click-hugo-cms>yarn start
yarn run v1.12.3
$ gulp server
[23:17:50] Failed to load external module @babel/register
[23:17:50] Requiring external module babel-register
assert.js:350
throw err;
^
AssertionError [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (C:\Users\jday\Documents\GitHub\one-click-hugo-cms\node_modules\undertaker\lib\set-task.js:10:3)
at Gulp.task (C:\Users\jday\Documents\GitHub\one-click-hugo-cms\node_modules\undertaker\lib\task.js:13:8)
at Object.<anonymous> (C:/Users/jday/Documents/GitHub/one-click-hugo-cms/gulpfile.babel.js:25:6)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at loader (C:\Users\jday\Documents\GitHub\one-click-hugo-cms\node_modules\babel-register\lib\node.js:144:5)
at Object.require.extensions.(anonymous function) [as .js] (C:\Users\jday\Documents\GitHub\one-click-hugo-cms\node_modules\babel-register\lib\node.js:154:7)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
from one-click-hugo-cms.
@jaegz there have been a few updates since you posted this, can you confirm whether its still an issue?
from one-click-hugo-cms.
@erquhart thanks I'll give this another go and get back to you
from one-click-hugo-cms.
Similar on OSX with node 10. Using node v10.5.0 (npm v6.1.0). Yarn does not work at all, npm show a several warnings and security vulnerabilities, but somehow works. Is there any branch I should switch to?
from one-click-hugo-cms.
Just updated and ran locally with yarn and didn't encounter any problems. Using OSX, Node 10.13.0, npm 6.4.1 and yarn 1.12.1.
from one-click-hugo-cms.
Really want to help, but need a way to reliably reproduce, seems to be an environment issue so far.
from one-click-hugo-cms.
Running into the same issues with yarn 1.13.0, npm 6.8.0 and node 11.8.0 on osx. Has anyone found any solutions?
from one-click-hugo-cms.
The error you got after doing npm install gulp
is due to gulp dependency upgrading gulp to gulp 4.0.0
.
one-click-hugo-cms will not work with gulp 4. More specifically the gulpfile.babel.js
is not written to work on gulp 4.
Try and revert gulp to version 3 "gulp": "^3.9.1",
in package.json
. See if the problem persists. Refresh the node_modules folder if possible
from one-click-hugo-cms.
I have also been seeing this issue but environment/system dependent. I did get it running on a windows 10 machine by uninstalling NVM, Node, and NPM, then reinstalling only node and npm. I wish I followed the steps I took but did not. Meanwhile my OSX system continues to error out. Using gulp 3.9.1 got farther in the process but hit the error:
[18:53:41] 'js' errored after 44 ms
[18:53:41] WebpackOptionsValidationError: Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.module has an unknown property 'loaders'.
And then various others. Just offering my experience.
from one-click-hugo-cms.
Related Issues (20)
- Local development fails: `npm install` and `npm install --force` fail with latest Node and NPM HOT 3
- Serve site from subdirectory HOT 1
- Dependency Dashboard
- Image preview on Value page not working HOT 3
- Bug: 1-click site generation fails HOT 2
- switch from master to main HOT 1
- Git Gateway Error accessing Admin panel on a brand-new one-click deployment HOT 5
- Build and start issues (maybe sass related) HOT 2
- Found no layout file for “HTML” for kind “taxonomy”: You should create a template file which matches Hugo Layouts Lookup Rules for this combination HOT 1
- Adds maintenance tooling HOT 1
- New stewardship and direction HOT 2
- Updating the build pipeline to include custom CMS templates for preview HOT 1
- [Production mode] Tachyons media queries are not working HOT 3
- Styling appears differently when running locally vs deployed to netlify HOT 4
- Deployment
- No rendered page after deploying on Netlify HOT 2
- Supplied tech.md page not editiable through the Netlify CMS interface
- Delete master branch and merge #479 into main HOT 1
- Teste site
- Response for config.yml was not yaml HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from one-click-hugo-cms.