Open vbarbarosh opened 10 years ago
it happened with me, too. But just because I have interrupted the npm install after an infinity install process, so the jsxc module was not installed. try manually install via "npm install jsxc".
I don't know why, but the "npm install react-boilerplate" is slow, So, if you wait, the things will get done.
make sure that the ./src and ./lib directory exists before run the build script. but for this type of error the message should be:
jsxc src/ lib/ ERROR: "src/" must exist npm ERR! react-boilerplate@0.2.0 build:
jsxc src/ lib/
npm ERR! Exit status 1
Based on my installation process and errors I could guess that you have tried to install via npm, right? Because when I re-tried but via git clone all errors before had not happened.
Try: git clone https://github.c/petehunt/react-boilerplate npm install npm run build npm start
I have the same result as @vbarbarosh. Installing jsxc through npm fixes it.
sudo npm install jsxc worked for me also
I had the same issue – jsxc is not installed. The first answer given by @feliperoberto fixes the problem. I manually installed jsxc by running the following from the command line:
npm install jsxc
So the full order would be:
git clone https://github.c/petehunt/react-boilerplate
npm install
npm install jsxc
npm run build
npm start
+1 @hawaiifi
Had this same issue, sudo npm install jsxc worked for me as well
Had the same issue. I believe it was caused by having a problem of creating symbolic link on a share folder between Windows and Ubuntu Virtual Box. Works good after I do "npm install" in a ubuntu directory that is not on a shared disk.
Just wait until "npm install" finished. It took some time that ı didn't understand. When installation is over , jsxc is working well.
Try using the following command:
sudo npm run-script build
It worked for me
I encountered these error! ERROR in ./src/main.ts
npm ERR! Linux 4.13.0-39-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "build"
npm ERR! node v6.14.2
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! the-core-serverless@1.0.0 build: ng build --prod
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the the-core-serverless@1.0.0 build script 'ng build --prod'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the the-core-serverless package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ng build --prod
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs the-core-serverless
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls the-core-serverless
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request: npm ERR! /home/aws/Desktop/xxx/xx-app/Start/npm-debug.log
SOLUTION: great works! npm install jsxc
vb@corei3:~/w/a/react-boilerplate-master$ npm run build
sh: 1: jsxc: not found
npm ERR! react-boilerplate@0.2.0 build:
jsxc src/ lib/
npm ERR! Exit status 127 npm ERR! npm ERR! Failed at the react-boilerplate@0.2.0 build script. npm ERR! This is most likely a problem with the react-boilerplate package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! jsxc src/ lib/ npm ERR! You can get their info via: npm ERR! npm owner ls react-boilerplate npm ERR! There is likely additional logging output above. npm ERR! System Linux 3.2.0-4-amd64 npm ERR! command "node" "/usr/local/bin/npm" "run" "build" npm ERR! cwd /home/www/a/react-boilerplate-master npm ERR! node -v v0.11.14-pre npm ERR! npm -v 1.4.15 npm ERR! code ELIFECYCLE npm ERR! npm ERR! Additional logging details can be found in: npm ERR! /home/www/a/react-boilerplate-master/npm-debug.log npm ERR! not ok code 0