Coder Social home page Coder Social logo

Comments (6)

micahstubbs avatar micahstubbs commented on May 13, 2024 1

facing this error as well, when I attempt to yarn install

node v9.0.0
yarn 1.3.21

from heavyai-charting.

micahstubbs avatar micahstubbs commented on May 13, 2024 1

I've found a workaround:

yarn install
# when the error happens
ctrl + c
npm rebuild node-sass

there's a long thread about this issue here. basically, node-sass isn't really maintained and has many problems. a long term solution is probably to migrate away from node-sass
sass/node-sass#1918

reading more, it is possible that the issue has been fixed in more recent versions of node-sass. so perhaps we should try to updade node-sass first

from heavyai-charting.

dlewis2017 avatar dlewis2017 commented on May 13, 2024

I downgraded to Node 6.9.2 and it compiled with no errors but still tons of warnings

from heavyai-charting.

dlewis2017 avatar dlewis2017 commented on May 13, 2024

Now I'm receiving this error on "npm run start" (webpack failing to compile). Help with fixing either the first issue or this one would be great. It could have something with the fact that the main version of webpack needed is 3.3.0 but other npm modules require older versions of certain pieces of the webpack but I'm not sure.

Message received before when UNMET PEER DEPENDENCY webpack3.3.0 was not met:
npm WARN [email protected] requires a peer of webpack@1 || ^2.1.0-beta but none was installed. npm WARN [email protected] requires a peer of webpack@^1.12.6 but none was installed.

> @mapd/[email protected] start /Users/davidlewis/Cyber/WebDashboard/mapd-charting
> webpack-dev-server --content-base ./example --config ./example/webpack.config.js "run"

Project is running at http://localhost:8080/
webpack output is served from /assets/
Content not from webpack is served from /Users/davidlewis/Cyber/WebDashboard/mapd-charting/example
Hash: ff0dde6ed4305fe6ba26
Version: webpack 3.3.0
Time: 14930ms
                              Asset     Size  Chunks                    Chunk Names
                  app.bundle.js.map  6.62 MB       0  [emitted]         app
                      app.bundle.js  5.14 MB       0  [emitted]  [big]  app
    multilayerscatterplot.bundle.js   339 kB       2  [emitted]  [big]  multilayerscatterplot
            multilayermap.bundle.js   337 kB       3  [emitted]  [big]  multilayermap
                 example3.bundle.js   324 kB       4  [emitted]  [big]  example3
                 example4.bundle.js   331 kB       5  [emitted]  [big]  example4
                     main.bundle.js   318 kB       6  [emitted]  [big]  main
                  geoheat.bundle.js   656 kB       1  [emitted]  [big]  geoheat
              geoheat.bundle.js.map   792 kB       1  [emitted]         geoheat
multilayerscatterplot.bundle.js.map   400 kB       2  [emitted]         multilayerscatterplot
        multilayermap.bundle.js.map   398 kB       3  [emitted]         multilayermap
             example3.bundle.js.map   385 kB       4  [emitted]         example3
             example4.bundle.js.map   392 kB       5  [emitted]         example4
                 main.bundle.js.map   376 kB       6  [emitted]         main
  [42] (webpack)-dev-server/client?http://localhost:8080 5.59 kB {0} {1} {2} {3} {4} {5} {6} [built]
 [247] multi (webpack)-dev-server/client?http://localhost:8080 script-loader!@mapd/connector/dist/browser-connector.js script-loader!@mapd/crossfilter/dist/mapd-crossfilter.js ./index.js 64 bytes {0} [built]
 [248] ./node_modules/script-loader!./node_modules/@mapd/connector/dist/browser-connector.js 307 bytes {0} [built]
 [250] ./node_modules/script-loader!./node_modules/@mapd/crossfilter/dist/mapd-crossfilter.js 308 bytes {0} [built]
 [252] ./index.js 58 bytes {0} [built]
 [302] multi (webpack)-dev-server/client?http://localhost:8080 ./example/example3.js 40 bytes {4} [built]
 [303] ./example/example3.js 272 bytes {4} [built]
 [305] multi (webpack)-dev-server/client?http://localhost:8080 ./example/example4.js 40 bytes {5} [built]
 [306] ./example/example4.js 13.3 kB {5} [built]
 [307] multi (webpack)-dev-server/client?http://localhost:8080 ./example/exampleMultiLayerMap.js 40 bytes {3} [built]
 [308] ./example/exampleMultiLayerMap.js 284 bytes {3} [built]
 [310] multi (webpack)-dev-server/client?http://localhost:8080 ./example/exampleMultiLayerScatterplot.js 40 bytes {2} [built]
 [311] ./example/exampleMultiLayerScatterplot.js 292 bytes {2} [built]
 [313] multi (webpack)-dev-server/client?http://localhost:8080 ./example/exampleGeoHeat.js 40 bytes {1} [built]
 [315] multi (webpack)-dev-server/client?http://localhost:8080 run 40 bytes {6} [built]
    + 301 hidden modules

ERROR in multi (webpack)-dev-server/client?http://localhost:8080 run
Module not found: Error: Can't resolve 'run' in '/Users/davidlewis/Cyber/WebDashboard/mapd-charting'
 @ multi (webpack)-dev-server/client?http://localhost:8080 run

ERROR in ./node_modules/css-loader!./node_modules/sass-loader!./scss/chart.scss
Module build failed: Error: ENOENT: no such file or directory, scandir '/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/vendor'
    at Error (native)
    at Object.fs.readdirSync (fs.js:951:18)
    at Object.getInstalledBinaries (/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/lib/extensions.js:121:13)
    at foundBinariesList (/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/lib/errors.js:20:15)
    at foundBinaries (/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/lib/errors.js:15:5)
    at Object.module.exports.missingBinary (/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/lib/errors.js:45:5)
    at module.exports (/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/lib/binding.js:15:30)
    at Object.<anonymous> (/Users/davidlewis/Cyber/WebDashboard/mapd-charting/node_modules/node-sass/lib/index.js:14:35)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
 @ ./scss/chart.scss 4:14-112
 @ ./node_modules/babel-loader!./src/index.js
 @ ./node_modules/expose-loader?dc!./src/index.js
 @ ./index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 script-loader!@mapd/connector/dist/browser-connector.js script-loader!@mapd/crossfilter/dist/mapd-crossfilter.js ./index.js
webpack: Failed to compile.

from heavyai-charting.

dlewis2017 avatar dlewis2017 commented on May 13, 2024

RESOLVED

Downgraded to Node 6.9.2
npm install
npm install mapbox-gl@https://github.com/mapd/mapbox-gl-js/tarball/9c04de6949fe498c8c79f5c0627dfd6d6321f307 #downloads mapbox peer dependency
npm install -g [email protected]
npm start run

from heavyai-charting.

brunofin avatar brunofin commented on May 13, 2024

As well facing this error:

node 9.2.0
yarn 1.3.2

from heavyai-charting.

Related Issues (20)

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.