我下载了带有主题和编译器的 dojo 源代码,并尝试使用 node.js 对其进行编译
并按照以下说明进行操作,但无法在 pc 环境中编译?
可以帮忙吗?
http://davidwalsh.name/dijit-theme
C:\Downloads\dojo-release-1.7.3-src\dojo-release-1.7.3-src\dijit\themes\claro>node compile.js
Error: require.paths is removed. Use node_modules folders, or the NODE_PATH environment variable instead.
at Function.Module._compile.Object.defineProperty.get (module.js:386:11)
at Object.<anonymous> (C:\Downloads\dojo-release-1.7.3-src\dojo-release-1.7.3-src\util\less\ind
ex.js:5:8)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (C:\Downloads\dojo-release-1.7.3-src\dojo-release-1.7.3-src\dijit\themes\
claro\compile.js:8:9)
at Module._compile (module.js:449:26)