Giter VIP home page Giter VIP logo

code-front-jet's People

Contributors

asnowwolf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

code-front-jet's Issues

Can not install FJ

System info:

  • node :
➜  angularjs node -v
v5.1.0
  • Mac: 10.11.1 (15B42)

Install error

[[email protected]] scripts.postinstall success, use 6s
[[email protected]] scripts.install: "node install.js" at /usr/local/lib/node_modules/.fj_npminstall/phantomjs/1.9.20/phantomjs
PhantomJS not found on PATH
Phantom installation failed [TypeError: Path must be a string. Received undefined] TypeError: Path must be a string. Received undefined
    at assertPath (path.js:8:11)
    at Object.posix.join (path.js:479:5)
    at findSuitableTempDirectory (/usr/local/lib/node_modules/.fj_npminstall/phantomjs/1.9.20/phantomjs/install.js:127:30)
    at /usr/local/lib/node_modules/.fj_npminstall/phantomjs/1.9.20/phantomjs/install.js:476:19
    at nextTickCallback (/usr/local/lib/node_modules/.fj_npminstall/kew/0.7.0/kew/kew.js:47:28)
    at doNTCallback0 (node.js:430:9)
    at process._tickCallback (node.js:359:13)
Error: post install error, please remove node_modules before retry!
Run "sh -c node install.js" error, exit code 1
Error: post install error, please remove node_modules before retry!
Run "sh -c node install.js" error, exit code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cnpm/node_modules/runscript/index.js:67:21)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

无法安装fj

无论是npm install fj -g或是cnpm install fj -g均未能成功安装,问题应该不是出现在下载包的过程,下载完成后才开始出现一堆error,由于提示太多就没有贴上来。
至于用npm安装其他包(像cnpm, node-gyp, node-sass等)都正常,安装也都很顺利,就是这个fj无法完成。
用这个的install.bat也是一堆error,我觉得是不是依赖包太旧导致的,我记得很多时候下载新的包成功率会高些

安装后,执行fj build 会报错

FrontJet这个当前的版本是0.5.0,直接安装不能使用吧。我本地测试,需要更新shelljs及修改build.js中buildHome任务(这里的方法是2.x版本的写法,安装的是3.x的版本)。这个有计划更新吗?谢谢

node -v 6.2.2
npm -v 3.9.5

shell.js: internal error
Error: ENOENT: no such file or directory, stat '项目路径\app\forks\default*'

TypeError: plugins.useref.assets is not a function

询问./install 安装时遇到问题

你好,我在京东上购买了 Angular书,里面介绍了你们使用的前端自动化工具,我准备安装使用,但是在执行./install 时遇到下面的问题:

我的node版本 :v5.10.1

Done. Phantomjs binary available at /Users/wangwenjie/Documents/mywork/git/angularjs/code-front-jet/node_modules/.npminstall/phantomjs-prebuilt/2.1.7/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[phantomjs-prebuilt@2.1.7] scripts.install success, use 1s
[dtrace-provider@0.6.0] scripts.install: "node scripts/install.js" at ./node_modules/.npminstall/dtrace-provider/0.6.0/dtrace-provider
path.js:7
    throw new TypeError('Path must be a string. Received ' + inspect(path));
    ^

TypeError: Path must be a string. Received undefined
    at assertPath (path.js:7:11)
    at Object.join (path.js:1213:7)
    at Object.<anonymous> (/Users/wangwenjie/Documents/mywork/git/angularjs/code-front-jet/node_modules/.npminstall/dtrace-provider/0.6.0/dtrace-provider/scripts/install.js:19:20)
    at Module._compile (module.js:413:34)
    at Object.Module._extensions..js (module.js:422:10)
    at Module.load (module.js:357:32)
    at Function.Module._load (module.js:314:12)
    at Function.Module.runMain (module.js:447:10)
    at startup (node.js:146:18)
    at node.js:404:3
[Error: Run "sh -c node scripts/install.js" error, exit code 1
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/cnpm/node_modules/runscript/index.js:67:21)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
    at maybeClose (internal/child_process.js:850:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)@%s] optional error: %s
peerDependencies WARNING [karma-jasmine@0.3.8] in /Users/wangwenjie/Documents/mywork/git/angularjs/code-front-jet/node_modules/.npminstall/karma-jasmine/0.3.8/karma-jasmine requires a peer of jasmine-core@* but none was installed

期待回复,谢谢~

照书的安装步骤搭建环境失败,启动 fj server 报错 服务起不来。。。

[11:12:01] Starting 'bowerInstall'...
module.js:472
throw err;
^

Error: Cannot find module 'internal/fs'
at Function.Module._resolveFilename (module.js:470:15)
at Function.Module._load (module.js:418:25)
at Module.require (module.js:498:17)
at require (internal/module.js:20:19)
at evalmachine.:18:20
at Object. (C:\Users\Administrator\AppData\Roaming\npm\node_modul
es\fj\node_modules._bower@1.7.7@bower\lib\node_modules\graceful-fs\fs.js:11:1)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
[11:12:02] gulp-notify: [Front Jet Error Report] bower install失败,可能网络有问
题或存在版本冲突,请手动运行bower install命令来解决它。
bower install失败,可能网络有问题或存在版本冲突,请手动运行bower install命令来解
决它。

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.