Closed remisharrock closed 7 years ago
update: on a clean install of npm etc, I get this message:
$ gulp serve
[02:23:39] Requiring external module babel-register
/Users/Shared/sharrock/sysbuild/webapp/gulpfile.babel.js:1
(function (exports, require, module, __filename, __dirname) { import fs from 'fs';
^^^^^^
SyntaxError: Unexpected token import
at Object.exports.runInThisContext (vm.js:76:16)
at Module._compile (module.js:528:28)
at loader (/Users/Shared/sharrock/sysbuild/webapp/node_modules/babel-register/lib/node.js:146:5)
at Object.require.extensions.(anonymous function) [as .js] (/Users/Shared/sharrock/sysbuild/webapp/node_modules/babel-register/lib/node.js:156:7)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
at Function.Module._load (module.js:424:3)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Liftoff.handleArguments (/usr/local/lib/node_modules/gulp/bin/gulp.js:116:3)
I'll look into this
Seems fine to me, except my NPM is 3.8.9. Not sure why that would make a difference. If you're still concerned about this, try downloading a fresh copy of the repo and try again -- I had a lot of similar issues but everything seems to be in order at the moment
Hi, I tried to follow the steps here without success:
1 seems OK:
2 seems OK:
3 forked and cloned correctly my fork. 4 ok 5 seems ok, but I have three questions: Q1: in script.sh , why do you use https://github.com/s-macke/jor1k.git instead of https://github.com/cs-education/jor1k.git ? Q2: the folder jo1k has a .gitsubmodules with
If I understand correctly the dependencies here , the url should be replaced with https://github.com/cs-education/jor1k/tree/sysbuild-stable ? Q3: should the script.sh also initialize the folder sys ? because it is not initialized after step 5 6 ok 7 a few warnings:
8 here I got an error:
when I search for "Failed to load external module babel-register" I might be related to https://github.com/google/web-starter-kit/issues/878 https://github.com/yeoman/generator-webapp/issues/356 9 blank page with this console output: