bySabi / neal-sample-meteor

Sample page for neal-react with meteor 1.3 and webpack
MIT License
18 stars 3 forks source link

Errors on windows #2

Open sonicviz opened 8 years ago

sonicviz commented 8 years ago

Hi, Looks like a neat project, but I get errors trying to run it. I followed the recommended instructions to "Back to React 0.14.x" and "Back to builtin meteor jQuery 1.11.2" and updated meteor and all packages but still getting webpack errors as below:

[I removed and reinstalled webpack in case that was the issue, but apparently not]

G:\Meteor Projects\Project X\neal-sample-meteor-master>npm install webpack neal-sample-meteor@1.0.0 G:\Meteor Projects\Project X\neal-sample-meteor-master +-- css-loader@0.23.1 | -- postcss@5.2.0 |-- supports-color@3.1.2 +-- UNMET PEER DEPENDENCY react@15.3.1 +-- UNMET PEER DEPENDENCY react-dom@15.3.1 -- webpack@1.13.2 +-- acorn@3.3.0 +-- enhanced-resolve@0.9.1 |-- memory-fs@0.2.0 +-- interpret@0.6.6 +-- memory-fs@0.3.0 | -- errno@0.1.4 |-- prr@0.0.0 +-- node-libs-browser@0.6.0 | +-- assert@1.4.1 | +-- browserify-zlib@0.1.4 | | -- pako@0.2.9 | +-- buffer@4.9.1 | | +-- base64-js@1.1.2 | |-- ieee754@1.1.6 | +-- console-browserify@1.1.0 | | -- date-now@0.1.4 | +-- constants-browserify@0.0.1 | +-- crypto-browserify@3.2.8 | | +-- pbkdf2-compat@2.0.1 | | +-- ripemd160@0.2.0 | |-- sha.js@2.2.6 | +-- domain-browser@1.1.7 | +-- events@1.1.1 | +-- http-browserify@1.7.0 | | -- Base64@0.2.1 | +-- https-browserify@0.0.0 | +-- os-browserify@0.1.2 | +-- path-browserify@0.0.0 | +-- process@0.11.9 | +-- punycode@1.4.1 | +-- querystring-es3@0.2.1 | +-- readable-stream@1.1.14 | |-- isarray@0.0.1 | +-- stream-browserify@1.0.0 | | -- readable-stream@1.1.14 | |-- isarray@0.0.1 | +-- timers-browserify@1.4.2 | | -- process@0.11.9 | +-- tty-browserify@0.0.0 | +-- url@0.10.3 | |-- punycode@1.3.2 | +-- util@0.10.3 | | -- inherits@2.0.1 |-- vm-browserify@0.0.4 | -- indexof@0.0.1 +-- optimist@0.6.1 | +-- minimist@0.0.10 |-- wordwrap@0.0.3 +-- supports-color@3.1.2 +-- tapable@0.1.10 +-- uglify-js@2.6.4 | +-- async@0.2.10 | +-- uglify-to-browserify@1.0.2 | -- yargs@3.10.0 | +-- camelcase@1.2.1 | +-- cliui@2.1.0 | | +-- center-align@0.1.3 | | | +-- align-text@0.1.4 | | | | +-- longest@1.0.1 | | | |-- repeat-string@1.5.4 | | | -- lazy-cache@1.0.4 | | +-- right-align@0.1.3 | |-- wordwrap@0.0.2 | -- window-size@0.1.0 +-- watchpack@0.2.9 | +-- async@0.9.2 |-- chokidar@1.6.0 | +-- anymatch@1.3.0 | | +-- arrify@1.0.1 | | -- micromatch@2.3.11 | | +-- arr-diff@2.0.0 | | |-- arr-flatten@1.0.1 | | +-- array-unique@0.2.1 | | +-- braces@1.8.5 | | | +-- expand-range@1.8.2 | | | | -- fill-range@2.2.3 | | | | +-- is-number@2.1.0 | | | | +-- isobject@2.1.0 | | | |-- randomatic@1.1.5 | | | +-- preserve@0.2.0 | | | -- repeat-element@1.1.2 | | +-- expand-brackets@0.1.5 | | |-- is-posix-bracket@0.1.1 | | +-- extglob@0.3.2 | | +-- filename-regex@2.0.0 | | +-- kind-of@3.0.4 | | | -- is-buffer@1.1.4 | | +-- normalize-path@2.0.1 | | +-- object.omit@2.0.0 | | | +-- for-own@0.1.4 | | | |-- for-in@0.1.5 | | | -- is-extendable@0.1.1 | | +-- parse-glob@3.0.4 | | | +-- glob-base@0.3.0 | | |-- is-dotfile@1.0.2 | | -- regex-cache@0.4.3 | | +-- is-equal-shallow@0.1.3 | |-- is-primitive@2.0.0 | +-- async-each@1.0.1 | +-- glob-parent@2.0.0 | +-- is-binary-path@1.0.1 | | -- binary-extensions@1.6.0 | +-- is-glob@2.0.1 | |-- is-extglob@1.0.0 | -- readdirp@2.1.0 |-- set-immediate-shim@1.0.1 -- webpack-core@0.6.8 -- source-map@0.4.4

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14 npm WARN react-waypoint@1.3.1 requires a peer of react@^0.14.0 but none was installed. npm WARN react-waypoint@1.3.1 requires a peer of react-dom@^0.14.0 but none was installed. npm WARN neal-sample-meteor@1.0.0 No license field.

G:\Meteor Projects\Project X\neal-sample-meteor-master>meteor [[[[[ ~\G\Meteor Projects\Project X\neal-sample-meteor-master ]]]]]

=> Started proxy. => Started MongoDB. => Errors prevented startup:

While processing files with webpack:webpack (for target web.browser): plugin/WebpackCompiler.js:824:10: fs.existsSync is not a function at checkMigration (plugin/WebpackCompiler.js:824:10) at WebpackCompiler.processFilesForTarget (plugin/WebpackCompiler.js:46:5)

While processing files with webpack:webpack (for target os.windows.x86_32): plugin/WebpackCompiler.js:824:10: fs.existsSync is not a function at checkMigration (plugin/WebpackCompiler.js:824:10) at WebpackCompiler.processFilesForTarget (plugin/WebpackCompiler.js:46:5)

=> Your application has errors. Waiting for file change.

bySabi commented 8 years ago

It is related to https://github.com/sass/node-sass/issues/1515

I never build this project on windows but definitly it need a meteor 1.4/node 4 upgrade.

PR are welcome.

I will look it when I have some free time

On 8 Sep 2016, at 15:49, Paul Cohen notifications@github.com wrote:

Hi, Looks like a neat project, but I get errors trying to run it. I followed the recommended instructions to "Back to React 0.14.x" and "Back to builtin meteor jQuery 1.11.2" and updated meteor and all packages but still getting webpack errors as below:

ERROR in Missing binding G:\Meteor Projects\Project X\neal-sample-meteor-master\node_modules\node-sass\vendor\win32-ia32-11\binding.node Node Sass could not find a binding for your current environment: Windows 32-bit with Node 0.10.x

Found bindings for the following environments:

Windows 64-bit with Node.js 4.x This usually happens because your environment has changed since running npm install. Run npm rebuild node-sass to build the binding for your current environment. @ ./~/font-awesome/scss/font-awesome.scss 4:14-191 13:2-17:4 14:20-197

ERROR in Missing binding G:\Meteor Projects\Project X\neal-sample-meteor-master\node_modules\node-sass\vendor\win32-ia32-11\binding.node Node Sass could not find a binding for your current environment: Windows 32-bit with Node 0.10.x

Found bindings for the following environments:

Windows 64-bit with Node.js 4.x This usually happens because your environment has changed since running npm install. Run npm rebuild node-sass to build the binding for your current environment. @ ./~/neal-react/css/base.scss 4:14-183 13:2-17:4 14:20-189 => Started your app.

=> App running at: http://localhost:3000/ Type Control-C twice to stop.

Terminate batch job (Y/N)? ^C G:\Meteor Projects\Project X\neal-sample-meteor-master>meteor update

Changes to your project's package version selections from updating the release:

allow-deny upgraded from 1.0.2-rc.4 to 1.0.4 autoupdate upgraded from 1.2.6-rc.4 to 1.2.8 babel-compiler upgraded from 6.5.2-rc.4 to 6.6.4 babel-runtime upgraded from 0.1.6-rc.4 to 0.1.8 base64 upgraded from 1.0.6-rc.4 to 1.0.8 binary-heap upgraded from 1.0.6-rc.4 to 1.0.8 blaze upgraded from 2.1.5-rc.4 to 2.1.7 blaze-tools upgraded from 1.0.6-rc.4 to 1.0.8 boilerplate-generator upgraded from 1.0.6-rc.4 to 1.0.8 callback-hook upgraded from 1.0.6-rc.4 to 1.0.8 check upgraded from 1.1.2-rc.4 to 1.2.1 ddp upgraded from 1.2.3-rc.4 to 1.2.5 ddp-client upgraded from 1.2.3-rc.4 to 1.2.5 ddp-common upgraded from 1.2.3-rc.4 to 1.2.5 ddp-server upgraded from 1.2.4-rc.4 to 1.2.6 deps upgraded from 1.0.10-rc.4 to 1.0.12 diff-sequence upgraded from 1.0.3-rc.4 to 1.0.5 ecmascript upgraded from 0.4.1-rc.4 to 0.4.3 ecmascript-runtime upgraded from 0.2.8-rc.4 to 0.2.10 ejson upgraded from 1.0.9-rc.4 to 1.0.11 es5-shim upgraded from 4.5.8-rc.4 to 4.6.14 fastclick upgraded from 1.0.9-rc.4 to 1.0.11 geojson-utils upgraded from 1.0.6-rc.4 to 1.0.8 hot-code-push upgraded from 1.0.2-rc.4 to 1.0.4 html-tools upgraded from 1.0.7-rc.4 to 1.0.9 htmljs upgraded from 1.0.7-rc.4 to 1.0.9 http upgraded from 1.1.3-rc.4 to 1.1.5 id-map upgraded from 1.0.5-rc.4 to 1.0.7 jquery upgraded from 1.11.6-rc.4 to 1.11.8 launch-screen upgraded from 1.0.8-rc.4 to 1.0.11 livedata upgraded from 1.0.16-rc.4 to 1.0.18 logging upgraded from 1.0.10-rc.4 to 1.0.12 meteor upgraded from 1.1.12-rc.4 to 1.2.17 meteor-base upgraded from 1.0.2-rc.4 to 1.0.4 minifier-css upgraded from 1.1.9-rc.4 to 1.2.14 minifier-js upgraded from 1.1.9-rc.4 to 1.2.14 minimongo upgraded from 1.0.12-rc.4 to 1.0.14 mobile-experience upgraded from 1.0.2-rc.4 to 1.0.4 mobile-status-bar upgraded from 1.0.10-rc.4 to 1.0.12 modules upgraded from 0.5.1-rc.4 to 0.7.6 modules-runtime upgraded from 0.6.1-rc.4 to 0.7.6 mongo upgraded from 1.1.5-rc.4 to 1.1.7 mongo-id upgraded from 1.0.2-rc.4 to 1.0.4 npm-mongo upgraded from 1.4.41-rc.4 to 1.4.43 observe-sequence upgraded from 1.0.9-rc.4 to 1.0.11 ordered-dict upgraded from 1.0.5-rc.4 to 1.0.7 promise upgraded from 0.6.4-rc.4 to 0.6.7 random upgraded from 1.0.7-rc.4 to 1.0.9 reactive-var upgraded from 1.0.7-rc.4 to 1.0.9 reload upgraded from 1.1.6-rc.4 to 1.1.8 retry upgraded from 1.0.5-rc.4 to 1.0.7 routepolicy upgraded from 1.0.8-rc.4 to 1.0.10 spacebars upgraded from 1.0.9-rc.4 to 1.0.11 spacebars-compiler upgraded from 1.0.9-rc.4 to 1.0.11 standard-minifier-css upgraded from 1.0.4-rc.4 to 1.2.0 standard-minifier-js upgraded from 1.0.4-rc.4 to 1.2.0 tracker upgraded from 1.0.11-rc.4 to 1.0.13 ui upgraded from 1.0.9-rc.4 to 1.0.11 underscore upgraded from 1.0.6-rc.4 to 1.0.9 url upgraded from 1.0.7-rc.4 to 1.0.9 webapp upgraded from 1.2.6-rc.4 to 1.2.8 webapp-hashing upgraded from 1.0.7-rc.4 to 1.0.9

neal-sample-meteor-master: updated to Meteor 1.4.1.1. => Errors while upgrading packages:

While checking for webpack:webpack@1.3.4: error: No compatible binary build found for this package. Contact the package author and ask them to publish it for your platform.

G:\Meteor Projects\Project X\neal-sample-meteor-master>npm install neal-sample-meteor@1.0.0 G:\Meteor Projects\Project X\neal-sample-meteor-master +-- bootstrap@4.0.0-alpha.4 | -- jquery@3.1.0 +-- UNMET PEER DEPENDENCY react@15.3.1 -- UNMET PEER DEPENDENCY react-dom@15.3.1

npm WARN optional Skipping failed optional dependency /chokidar/fsevents: npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14 npm WARN react-waypoint@1.3.1 requires a peer of react@^0.14.0 but none was installed. npm WARN react-waypoint@1.3.1 requires a peer of react-dom@^0.14.0 but none was installed. npm WARN neal-sample-meteor@1.0.0 No license field.

G:\Meteor Projects\Project X\neal-sample-meteor-master>meteor [[[[[ ~\G\Meteor Projects\Project X\neal-sample-meteor-master ]]]]]

=> Started proxy. => Started MongoDB.

Changes to your project's package version selections:

babel-compiler upgraded from 6.6.4 to 6.9.0 babel-runtime upgraded from 0.1.8 to 0.1.10 ecmascript upgraded from 0.4.3 to 0.5.7 ecmascript-runtime upgraded from 0.2.10 to 0.3.12 promise upgraded from 0.6.7 to 0.8.3 shell-server added, version 0.2.1

=> Errors prevented startup:

While processing files with webpack:webpack (for target web.browser): plugin/WebpackCompiler.js:824:10: fs.existsSync is not a function at checkMigration (plugin/WebpackCompiler.js:824:10) at WebpackCompiler.processFilesForTarget (plugin/WebpackCompiler.js:46:5)

While processing files with webpack:webpack (for target os.windows.x86_32): plugin/WebpackCompiler.js:824:10: fs.existsSync is not a function at checkMigration (plugin/WebpackCompiler.js:824:10) at WebpackCompiler.processFilesForTarget (plugin/WebpackCompiler.js:46:5)

=> Your application has errors. Waiting for file change.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/bySabi/neal-sample-meteor/issues/2, or mute the thread https://github.com/notifications/unsubscribe-auth/AF9BDkk3Xc34JBk4BdK7maaON6ZY92O2ks5qoBJ9gaJpZM4J4A1a.